@leitwerk-dev/forgejo-repo-change 0.3.0 → 0.3.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/README.md +3 -3
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -845
- package/dist/index.js.map +1 -1
- package/dist/launcher.d.ts +10 -3
- package/dist/launcher.d.ts.map +1 -1
- package/dist/params.d.ts +3 -23
- package/dist/params.d.ts.map +1 -1
- package/dist/process.d.ts +1 -1
- package/dist/process.d.ts.map +1 -1
- package/dist/profile-bindings.d.ts.map +1 -1
- package/package.json +7 -8
- package/src/launcher.ts +25 -181
- package/src/params.ts +12 -72
- package/src/process.ts +27 -241
- package/src/profile-bindings.ts +5 -39
package/README.md
CHANGED
|
@@ -87,10 +87,10 @@ and remote delivery state while waiting for new evidence.
|
|
|
87
87
|
|
|
88
88
|
## Integration tests
|
|
89
89
|
|
|
90
|
-
The composed workflow tests copy a pristine Git seed into
|
|
91
|
-
|
|
90
|
+
The composed workflow tests copy a pristine Git seed into independent repositories
|
|
91
|
+
and own their storage per scenario. They retain real Git, HTTP actions and worker
|
|
92
92
|
IPC without repeating repository initialization. Failures report process and turn
|
|
93
|
-
state before cleanup.
|
|
93
|
+
state before cleanup.
|
|
94
94
|
|
|
95
95
|
## Restart verification
|
|
96
96
|
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,19 @@ export declare function createForgejoRepoChange(options: {
|
|
|
20
20
|
/** @internal */
|
|
21
21
|
resolveGitIdentity: (profile: string) => Promise<import("@leitwerk-dev/forgejo").ForgejoGitIdentity>;
|
|
22
22
|
/** @internal */
|
|
23
|
-
launcher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").ForgejoRepoChangeParams
|
|
23
|
+
launcher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").ForgejoRepoChangeParams> & {
|
|
24
|
+
/** @internal */
|
|
25
|
+
resolveIssueLaunchConfig(event: {
|
|
26
|
+
/** @internal */
|
|
27
|
+
profile: string;
|
|
28
|
+
/** @internal */
|
|
29
|
+
repository: import("@leitwerk-dev/forgejo").ForgejoRepository;
|
|
30
|
+
/** @internal */
|
|
31
|
+
issue: Pick<import("@leitwerk-dev/forgejo").ForgejoIssue, "number" | "title" | "body" | "html_url">;
|
|
32
|
+
/** @internal */
|
|
33
|
+
labels: import("@leitwerk-dev/process-sdk").RepositoryIssueWatcherConfig["labels"];
|
|
34
|
+
}): Promise<import("@leitwerk-dev/process-sdk").ProcessLaunchConfig<import("./params.js").ForgejoRepoChangeParams>>;
|
|
35
|
+
};
|
|
24
36
|
};
|
|
25
37
|
};
|
|
26
38
|
export type { ForgejoRepoChangeParams } from "./params.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIzE,OAAO,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAevF,kGAAkG;AAClG,wBAAgB,uBAAuB,CAAC,OAAO,EAAE;IAChD,cAAc;IACd,MAAM,EAAE,OAAO,CAAC;CAChB;IAyBC,cAAc;;IAEd,cAAc;;IAEd,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIzE,OAAO,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAevF,kGAAkG;AAClG,wBAAgB,uBAAuB,CAAC,OAAO,EAAE;IAChD,cAAc;IACd,MAAM,EAAE,OAAO,CAAC;CAChB;IAyBC,cAAc;;IAEd,cAAc;;IAEd,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;EAGjB;AAED,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,gBAAgB;AAChB,QAAA,MAAmB,gBAAgB,yBAA8C,CAAC;AAClF,eAAe,gBAAgB,CAAC"}
|