@jals1212/ci-local-pi 0.2.0 → 0.3.0
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/CHANGELOG.md +8 -0
- package/README.md +2 -2
- package/extensions/ci-local.ts +2 -2
- package/extensions/core.js +2 -2
- package/package.json +1 -1
- package/skills/ci-local/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ add or change behaviour and a patch version fixes.
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 0.3.0
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Status line: a `·` separates the name from the state, as other footer
|
|
14
|
+
integrations do (`🚦 ci-local · ✓ passed · 4m12s`, was
|
|
15
|
+
`🚦 ci-local ✓ passed · 4m12s`). (#45)
|
|
16
|
+
|
|
9
17
|
## 0.2.0
|
|
10
18
|
|
|
11
19
|
### Added
|
package/README.md
CHANGED
|
@@ -23,8 +23,8 @@ In a session opened inside a repository with `ci-local.config.sh` (with a
|
|
|
23
23
|
literal `CI_PROJECT=`), it follows the events file of that project; it never
|
|
24
24
|
runs ci-local or Docker itself:
|
|
25
25
|
|
|
26
|
-
- **Status line**: `🚦 ci-local ◌ queued · 2 ahead (erp-ci running)`, `🚦 ci-local ⧗ [3/8] lint · 2m05s`,
|
|
27
|
-
then `🚦 ci-local ✓ passed · 4m12s` or `🚦 ci-local ✗ failed at lint · 2m10s` until
|
|
26
|
+
- **Status line**: `🚦 ci-local · ◌ queued · 2 ahead (erp-ci running)`, `🚦 ci-local · ⧗ [3/8] lint · 2m05s`,
|
|
27
|
+
then `🚦 ci-local · ✓ passed · 4m12s` or `🚦 ci-local · ✗ failed at lint · 2m10s` until
|
|
28
28
|
the next run. A run already over when a session starts shows only while its
|
|
29
29
|
result is undelivered, like an unread message: it ended with no session of
|
|
30
30
|
the repository open. Once a session has shown it finished, a later session
|
package/extensions/ci-local.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Pi extension for @jals1212/ci-local: the state of this repository's
|
|
2
2
|
// ci-local run in Pi's own UI, so neither the agent nor you write it by hand.
|
|
3
3
|
//
|
|
4
|
-
// - Status line: `🚦 ci-local ⧗ [3/8] lint · 2m05s`, `🚦 ci-local ◌ queued ·
|
|
5
|
-
// 2 ahead (erp-ci running)`, then `🚦 ci-local ✓ passed · 4m12s` / `🚦 ci-local
|
|
4
|
+
// - Status line: `🚦 ci-local · ⧗ [3/8] lint · 2m05s`, `🚦 ci-local · ◌ queued ·
|
|
5
|
+
// 2 ahead (erp-ci running)`, then `🚦 ci-local · ✓ passed · 4m12s` / `🚦 ci-local ·
|
|
6
6
|
// ✗ failed at lint` until the next run (🚦 is ci-local's own emoji, see BRAND).
|
|
7
7
|
// A run already over when a session starts is shown only if no session
|
|
8
8
|
// showed its result yet, like a message not yet delivered (createStatusLine).
|
package/extensions/core.js
CHANGED
|
@@ -284,10 +284,10 @@ export function createStatusLine({ file, sessionId, reason }) {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
/** One short line for the footer: `🚦 ci-local ✓ passed · 4m12s`. */
|
|
287
|
+
/** One short line for the footer: `🚦 ci-local · ✓ passed · 4m12s`. */
|
|
288
288
|
export function footerText(state) {
|
|
289
289
|
// The state's glyph sits by the state, after the name.
|
|
290
|
-
return `${BRAND} ci-local ${GLYPHS[state.state] ?? GLYPHS.stopped} ${stateText(state)}`
|
|
290
|
+
return `${BRAND} ci-local · ${GLYPHS[state.state] ?? GLYPHS.stopped} ${stateText(state)}`
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
/** The state of a run in a few words, as the footer says it after its glyph. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jals1212/ci-local-pi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Pi extension and skill for @jals1212/ci-local: the state of this repository's ci-local run in Pi's status line, cards and a read-only tool for the agent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "jals1212",
|