@arjunkhera/atlas 0.2.0 → 0.2.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.
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "atlas",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Atlas: the delivery lifecycle, its crews and the Atlas tools, for any repository.",
|
|
5
|
-
"author": {
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Arjun Khera"
|
|
7
|
+
},
|
|
6
8
|
"repository": "https://github.com/Arjunkhera/atlas",
|
|
7
9
|
"license": "UNLICENSED",
|
|
8
10
|
"userConfig": {
|
|
@@ -62,7 +62,7 @@ export function provenanceBody({ helper, helpers, why, changes, groups, repo = n
|
|
|
62
62
|
'2. An agent made every change. No person edited these files by hand.',
|
|
63
63
|
`3. "Source" is one of: ${PROVENANCE_SOURCES.join(', ')}.`,
|
|
64
64
|
'',
|
|
65
|
-
`Label: \`${HELPER_LABEL}\`. Authority: Arjunkhera/atlas,
|
|
65
|
+
`Label: \`${HELPER_LABEL}\`. Authority: Arjunkhera/atlas, amendment A1.6, section 5, slice L2 stage one.`,
|
|
66
66
|
'',
|
|
67
67
|
);
|
|
68
68
|
return lines.join('\n');
|
|
@@ -110,6 +110,10 @@ export function open({ root, helperId, changes, groups, why, branch, title, base
|
|
|
110
110
|
// first. A label that already exists makes that call fail instead, and that
|
|
111
111
|
// failure is the expected one.
|
|
112
112
|
try { run('gh', ['label', 'create', label, '--description', 'Written by an Atlas helper. A person merges it.', '--color', 'C5A882'], root); } catch { /* it already exists */ }
|
|
113
|
-
|
|
113
|
+
// --head names the branch. `git push -u` does not always record the upstream
|
|
114
|
+
// in a shallow clone, and then `gh pr create` refuses with "you must first
|
|
115
|
+
// push the current branch" although the branch is already on GitHub
|
|
116
|
+
// (measured on an Engram clone, 2026-09-20).
|
|
117
|
+
const url = run('gh', ['pr', 'create', '--title', title, '--body', body, '--label', label, '--base', onto, '--head', branch], root);
|
|
114
118
|
return { helper, helpers: checked.map((group) => group.helper), repo, branch, title, body, base: onto, written: all.map((change) => change.path), opened: true, url };
|
|
115
119
|
}
|
package/package.json
CHANGED