devlanes 0.12.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/schema.json +8 -8
- package/user-schema.json +12 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devlanes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "Development environments in Git worktree lanes",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://devlanes.run",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"node": ">=18"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@devlanes/darwin-arm64": "0.
|
|
34
|
-
"@devlanes/darwin-x64": "0.
|
|
35
|
-
"@devlanes/linux-arm64": "0.
|
|
36
|
-
"@devlanes/linux-x64": "0.
|
|
37
|
-
"@devlanes/win32-arm64": "0.
|
|
38
|
-
"@devlanes/win32-x64": "0.
|
|
33
|
+
"@devlanes/darwin-arm64": "0.13.1",
|
|
34
|
+
"@devlanes/darwin-x64": "0.13.1",
|
|
35
|
+
"@devlanes/linux-arm64": "0.13.1",
|
|
36
|
+
"@devlanes/linux-x64": "0.13.1",
|
|
37
|
+
"@devlanes/win32-arm64": "0.13.1",
|
|
38
|
+
"@devlanes/win32-x64": "0.13.1"
|
|
39
39
|
}
|
|
40
40
|
}
|
package/schema.json
CHANGED
|
@@ -1463,13 +1463,13 @@
|
|
|
1463
1463
|
"type": "null"
|
|
1464
1464
|
}
|
|
1465
1465
|
],
|
|
1466
|
-
"description": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time
|
|
1466
|
+
"description": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time `start`, `status` or another command that acts on lanes runs in it, not merely because it exists.",
|
|
1467
1467
|
"examples": [
|
|
1468
1468
|
"register",
|
|
1469
1469
|
"setup",
|
|
1470
1470
|
"start"
|
|
1471
1471
|
],
|
|
1472
|
-
"markdownDescription": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time
|
|
1472
|
+
"markdownDescription": "What devlanes does when a worktree gets its lane: only reserve it, also set it up, or also start it. Defaults to `register`. A worktree gets a lane the first time `start`, `status` or another command that acts on lanes runs in it, not merely because it exists."
|
|
1473
1473
|
},
|
|
1474
1474
|
"primary": {
|
|
1475
1475
|
"description": "Branch whose worktree is lane 0, the main lane (`lanes.main` in expressions) and the only worktree that gets a lane by itself. Defaults to the remote's default branch, else `main` or `master`. In CI (a variable such as `CI` or `GITHUB_ACTIONS` is set) the checkout takes lane 0 on any branch when lane 0 is free.",
|
|
@@ -1821,11 +1821,11 @@
|
|
|
1821
1821
|
"type": "null"
|
|
1822
1822
|
}
|
|
1823
1823
|
],
|
|
1824
|
-
"description": "Ready once a line of
|
|
1824
|
+
"description": "Ready once a line of the unit's log, as `devlanes logs` shows it (for a container, its Docker log), matches this regular expression, with colors removed; lines printed before the check began count too. Suits workers without a port: have them print a line once connected.",
|
|
1825
1825
|
"examples": [
|
|
1826
1826
|
"Connected to Redis"
|
|
1827
1827
|
],
|
|
1828
|
-
"markdownDescription": "Ready once a line of
|
|
1828
|
+
"markdownDescription": "Ready once a line of the unit's log, as `devlanes logs` shows it (for a container, its Docker log), matches this regular expression, with colors removed; lines printed before the check began count too. Suits workers without a port: have them print a line once connected."
|
|
1829
1829
|
},
|
|
1830
1830
|
"tcp": {
|
|
1831
1831
|
"anyOf": [
|
|
@@ -2331,7 +2331,7 @@
|
|
|
2331
2331
|
"type": "null"
|
|
2332
2332
|
}
|
|
2333
2333
|
],
|
|
2334
|
-
"description": "When the service counts as up: `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (
|
|
2334
|
+
"description": "When the service counts as up: once its check passed and it has run half a second. `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (no probe) or a mapping with one of `tcp`, `http`, `log` or `cmd`, plus `timeout` (default 60s). Without it, a service with `hosts` waits for TCP on its port and one without hosts uses `started`. A service that exits within that half second failed to start. A check that times out marks the service failed, which also skips `after: services` tasks; the process keeps running and is not restarted.",
|
|
2335
2335
|
"examples": [
|
|
2336
2336
|
"started",
|
|
2337
2337
|
{
|
|
@@ -2343,7 +2343,7 @@
|
|
|
2343
2343
|
"tcp": true
|
|
2344
2344
|
}
|
|
2345
2345
|
],
|
|
2346
|
-
"markdownDescription": "When the service counts as up: `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (
|
|
2346
|
+
"markdownDescription": "When the service counts as up: once its check passed and it has run half a second. `devlanes start` waits for it, and `after: services` tasks run once every started service is ready. Write `started` (no probe) or a mapping with one of `tcp`, `http`, `log` or `cmd`, plus `timeout` (default 60s). Without it, a service with `hosts` waits for TCP on its port and one without hosts uses `started`. A service that exits within that half second failed to start. A check that times out marks the service failed, which also skips `after: services` tasks; the process keeps running and is not restarted."
|
|
2347
2347
|
},
|
|
2348
2348
|
"replicas": {
|
|
2349
2349
|
"description": "Number of copies of this service to run, each with its own port, for example several queue workers. They run as `<name>.1` to `<name>.N`, `${{ replica.index }}` counts from 1, and `services.<name>` in expressions means the first copy; use `${{ replica.index }}` in `hosts` to give each copy its own hostname. A plain number of at least 1, the same in every lane, because each copy reserves ports in every lane's block; `${{ ... }}` expressions are not allowed. Defaults to 1.",
|
|
@@ -2542,14 +2542,14 @@
|
|
|
2542
2542
|
"started"
|
|
2543
2543
|
],
|
|
2544
2544
|
"enumDescriptions": [
|
|
2545
|
-
"Count the unit ready
|
|
2545
|
+
"Count the unit ready once it runs, without probing anything; a service once it has run half a second. A dev server whose program crashed under a file watcher still counts as ready, so prefer a check when there is something to probe."
|
|
2546
2546
|
],
|
|
2547
2547
|
"examples": [
|
|
2548
2548
|
"started"
|
|
2549
2549
|
],
|
|
2550
2550
|
"markdownDescription": "Readiness without a probe.",
|
|
2551
2551
|
"markdownEnumDescriptions": [
|
|
2552
|
-
"Count the unit ready
|
|
2552
|
+
"Count the unit ready once it runs, without probing anything; a service once it has run half a second. A dev server whose program crashed under a file watcher still counts as ready, so prefer a check when there is something to probe."
|
|
2553
2553
|
],
|
|
2554
2554
|
"type": "string"
|
|
2555
2555
|
},
|
package/user-schema.json
CHANGED
|
@@ -1156,12 +1156,12 @@
|
|
|
1156
1156
|
},
|
|
1157
1157
|
"open_on_start": {
|
|
1158
1158
|
"default": true,
|
|
1159
|
-
"description": "Open the TUI for `start`, `restart`, `lane resume` and `lane new --start` when they run at a terminal; defaults to true. Set false to have them print text instead, as `--no-ui` or `DEVLANES_NO_UI=1` do.",
|
|
1159
|
+
"description": "Open the TUI for `start`, `restart`, `reload`, `lane resume` and `lane new --start` when they run at a terminal; defaults to true. Set false to have them print text instead, as `--no-ui` or `DEVLANES_NO_UI=1` do.",
|
|
1160
1160
|
"examples": [
|
|
1161
1161
|
true,
|
|
1162
1162
|
false
|
|
1163
1163
|
],
|
|
1164
|
-
"markdownDescription": "Open the TUI for `start`, `restart`, `lane resume` and `lane new --start` when they run at a terminal; defaults to true. Set false to have them print text instead, as `--no-ui` or `DEVLANES_NO_UI=1` do.",
|
|
1164
|
+
"markdownDescription": "Open the TUI for `start`, `restart`, `reload`, `lane resume` and `lane new --start` when they run at a terminal; defaults to true. Set false to have them print text instead, as `--no-ui` or `DEVLANES_NO_UI=1` do.",
|
|
1165
1165
|
"type": "boolean"
|
|
1166
1166
|
},
|
|
1167
1167
|
"theme": {
|
|
@@ -1267,8 +1267,8 @@
|
|
|
1267
1267
|
],
|
|
1268
1268
|
"enumDescriptions": [
|
|
1269
1269
|
"Never look for releases; nothing is read from the network.",
|
|
1270
|
-
"Read the latest version from the registry devlanes was installed from, and show it in the TUI and in command output when it is newer. Nothing is installed.",
|
|
1271
|
-
"
|
|
1270
|
+
"Read the latest version from the registry devlanes was installed from, and show it in the TUI and in command output when it is newer. Nothing is installed; run `devlanes update` to install it.",
|
|
1271
|
+
"The default. Read the latest version from the registry devlanes was installed from, show it in the TUI and in command output when it is newer, and install patch releases in the background where the install method allows it; they apply the next time you start devlanes at a terminal. Minor releases, which can break things before 1.0, still wait for `devlanes update`."
|
|
1272
1272
|
],
|
|
1273
1273
|
"examples": [
|
|
1274
1274
|
"disable",
|
|
@@ -1278,8 +1278,8 @@
|
|
|
1278
1278
|
"markdownDescription": "What devlanes does about newer releases.",
|
|
1279
1279
|
"markdownEnumDescriptions": [
|
|
1280
1280
|
"Never look for releases; nothing is read from the network.",
|
|
1281
|
-
"Read the latest version from the registry devlanes was installed from, and show it in the TUI and in command output when it is newer. Nothing is installed.",
|
|
1282
|
-
"
|
|
1281
|
+
"Read the latest version from the registry devlanes was installed from, and show it in the TUI and in command output when it is newer. Nothing is installed; run `devlanes update` to install it.",
|
|
1282
|
+
"The default. Read the latest version from the registry devlanes was installed from, show it in the TUI and in command output when it is newer, and install patch releases in the background where the install method allows it; they apply the next time you start devlanes at a terminal. Minor releases, which can break things before 1.0, still wait for `devlanes update`."
|
|
1283
1283
|
],
|
|
1284
1284
|
"type": "string"
|
|
1285
1285
|
},
|
|
@@ -1311,14 +1311,14 @@
|
|
|
1311
1311
|
},
|
|
1312
1312
|
"mode": {
|
|
1313
1313
|
"$ref": "#/$defs/UpdateMode",
|
|
1314
|
-
"default": "
|
|
1315
|
-
"description": "What devlanes does about newer releases: `
|
|
1314
|
+
"default": "auto",
|
|
1315
|
+
"description": "What devlanes does about newer releases: `auto` (the default) checks every 4 hours and when the TUI opens, shows the new version and installs patch releases in the background where the install method allows it; `notify` only shows the new version; `disable` never checks. `DEVLANES_NO_UPDATE_CHECK=1` or a CI environment also turns checks off.",
|
|
1316
1316
|
"examples": [
|
|
1317
1317
|
"disable",
|
|
1318
1318
|
"notify",
|
|
1319
1319
|
"auto"
|
|
1320
1320
|
],
|
|
1321
|
-
"markdownDescription": "What devlanes does about newer releases: `
|
|
1321
|
+
"markdownDescription": "What devlanes does about newer releases: `auto` (the default) checks every 4 hours and when the TUI opens, shows the new version and installs patch releases in the background where the install method allows it; `notify` only shows the new version; `disable` never checks. `DEVLANES_NO_UPDATE_CHECK=1` or a CI environment also turns checks off."
|
|
1322
1322
|
}
|
|
1323
1323
|
},
|
|
1324
1324
|
"type": "object"
|
|
@@ -1357,13 +1357,13 @@
|
|
|
1357
1357
|
"freeze_after": {
|
|
1358
1358
|
"$ref": "#/$defs/ConfigDuration",
|
|
1359
1359
|
"default": "900000ms",
|
|
1360
|
-
"description": "After this long without activity, devlanes freezes a lane: it suspends every process of the lane and pauses the lane's own containers. Shared infra is never paused. Ports and process state are kept, so a frozen lane still counts as running.
|
|
1360
|
+
"description": "After this long without activity, devlanes freezes a lane: it suspends every process of the lane and pauses the lane's own containers. Shared infra is never paused. Ports and process state are kept, so a frozen lane still counts as running. A request through the proxy, a new connection to one of the lane's ports, or a devlanes command on the lane resumes a frozen lane and restarts the timer. The lane's services using CPU keep a running lane from freezing, but cannot resume a frozen one, since its processes are suspended. A request through the proxy resumes the lane at once and then goes through; a direct connection to a port is noticed within about half a second. When both are set above `0s`, it must be longer than `throttle_after` (`5m` unless set). A running service with `services.<name>.keep_awake: true` keeps its whole lane awake. Defaults to `15m`; `0s` turns freezing off. The daemon reads it when it starts.",
|
|
1361
1361
|
"examples": [
|
|
1362
1362
|
"15m",
|
|
1363
1363
|
"1h",
|
|
1364
1364
|
"0s"
|
|
1365
1365
|
],
|
|
1366
|
-
"markdownDescription": "After this long without activity, devlanes freezes a lane: it suspends every process of the lane and pauses the lane's own containers. Shared infra is never paused. Ports and process state are kept, so a frozen lane still counts as running.
|
|
1366
|
+
"markdownDescription": "After this long without activity, devlanes freezes a lane: it suspends every process of the lane and pauses the lane's own containers. Shared infra is never paused. Ports and process state are kept, so a frozen lane still counts as running. A request through the proxy, a new connection to one of the lane's ports, or a devlanes command on the lane resumes a frozen lane and restarts the timer. The lane's services using CPU keep a running lane from freezing, but cannot resume a frozen one, since its processes are suspended. A request through the proxy resumes the lane at once and then goes through; a direct connection to a port is noticed within about half a second. When both are set above `0s`, it must be longer than `throttle_after` (`5m` unless set). A running service with `services.<name>.keep_awake: true` keeps its whole lane awake. Defaults to `15m`; `0s` turns freezing off. The daemon reads it when it starts."
|
|
1367
1367
|
},
|
|
1368
1368
|
"throttle_after": {
|
|
1369
1369
|
"$ref": "#/$defs/ConfigDuration",
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
"$ref": "#/$defs/UpdatesConfig",
|
|
1697
1697
|
"default": {
|
|
1698
1698
|
"highlights": true,
|
|
1699
|
-
"mode": "
|
|
1699
|
+
"mode": "auto"
|
|
1700
1700
|
},
|
|
1701
1701
|
"description": "Release checks: whether the daemon looks for newer devlanes releases (`mode`), and whether the TUI shows release highlights after an update (`highlights`).",
|
|
1702
1702
|
"examples": [
|