Skip to content

Commit d9e2d2f

Browse files
orchestrator: rename old arduino-apps references (#476)
1 parent 911368e commit d9e2d2f

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ NOTE: currently the mac-os is not supported since the `github.com/arduino/arduin
248248

249249
### Orchestrator configurations
250250

251-
The orchestrator will write apps in `~/arduino-apps` folder, and examples in `~/.config/arduino-app-cli/examples`.
251+
The orchestrator will write apps in `~/ArduinoApps` folder, and examples in `~/.config/arduino-app-cli/examples`.
252252
To override the path provide the following flags:
253253

254254
- `ARDUINO_APP_CLI__APPS_DIR`

adbd.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ RUN apt-get update \
77

88
RUN useradd -m -s /bin/bash arduino && \
99
echo "arduino:arduino" | chpasswd
10-
RUN mkdir /home/arduino/arduino-apps && \
11-
chown arduino:arduino /home/arduino/arduino-apps
10+
RUN mkdir /home/arduino/ArduinoApps && \
11+
chown arduino:arduino /home/arduino/ArduinoApps
1212

1313
WORKDIR /home/arduino
1414
EXPOSE 22

docs/specifications/arduino-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document is the official specification of an Arduino App.
66
## Folder structure
77

88
```
9-
~/arduino-apps/
9+
~/ArduinoApps/
1010
myapp/
1111
app.yaml
1212

internal/e2e/e2e.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type ArduinoAppCLI struct {
3333
func NewArduinoAppCLI(t *testing.T) *ArduinoAppCLI {
3434
rootDir, err := paths.MkTempDir("", "app-cli")
3535
require.NoError(t, err)
36-
appDir := rootDir.Join("arduino-apps")
36+
appDir := rootDir.Join("ArduinoApps")
3737
dataDir := rootDir.Join(".arduino-app-cli")
3838
return &ArduinoAppCLI{
3939
t: require.New(t),

internal/orchestrator/types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
func TestNewIDFromPath(t *testing.T) {
1313
tmp := paths.New(t.TempDir())
1414
orchestratorConfig = &OrchestratorConfig{
15-
appsDir: tmp.Join("arduino-apps"),
15+
appsDir: tmp.Join("ArduinoApps"),
1616
dataDir: tmp.Join(".arduino-app-cli"),
1717
}
1818
require.NoError(t, orchestratorConfig.init())

pkg/appsync/appsync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (a *AppsSync) EnableSyncApp(path string) (string, error) {
6161
return "", fmt.Errorf("app %q is already synced", path)
6262
}
6363

64-
tmp, err := os.MkdirTemp("", "arduino-apps-sync_*")
64+
tmp, err := os.MkdirTemp("", "ArduinoApps-sync_*")
6565
if err != nil {
6666
return "", fmt.Errorf("failed to create temp dir: %w", err)
6767
}

0 commit comments

Comments
 (0)