@wtf/release-oci 2.1.0 → 3.0.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/README.md +101 -79
- package/dist/ecosystem.d.ts +82 -17
- package/dist/ecosystem.d.ts.map +1 -1
- package/dist/ecosystem.js +131 -8
- package/dist/ecosystem.js.map +1 -1
- package/dist/errors.d.ts +9 -8
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +9 -8
- package/dist/errors.js.map +1 -1
- package/dist/images.d.ts +7 -7
- package/dist/images.d.ts.map +1 -1
- package/dist/images.js +9 -9
- package/dist/images.js.map +1 -1
- package/dist/index.d.ts +13 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -11
- package/dist/index.js.map +1 -1
- package/dist/publish.d.ts +61 -19
- package/dist/publish.d.ts.map +1 -1
- package/dist/publish.js +100 -49
- package/dist/publish.js.map +1 -1
- package/dist/registry.d.ts +41 -30
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +30 -0
- package/dist/registry.js.map +1 -1
- package/dist/tags.d.ts +9 -22
- package/dist/tags.d.ts.map +1 -1
- package/dist/tags.js +24 -48
- package/dist/tags.js.map +1 -1
- package/package.json +5 -7
package/dist/publish.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.js","sourceRoot":"","sources":["../src/publish.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"publish.js","sourceRoot":"","sources":["../src/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AA2C5C,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,EAAE,EAAE,OAAO,EAAE;gBAC1E,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,GAAG;aACJ,CAAC,CAAA;IACN,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/dist/registry.d.ts
CHANGED
|
@@ -1,40 +1,51 @@
|
|
|
1
|
+
/** A response of the API of GitLab, as a request of {@link RegistryFetch} gives it. */
|
|
2
|
+
export interface RegistryResponse {
|
|
3
|
+
/** Whether its status is of success, 2xx. */
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
/** Its status, as `200`. */
|
|
6
|
+
readonly status: number;
|
|
7
|
+
/**
|
|
8
|
+
* Its body, as text.
|
|
9
|
+
*
|
|
10
|
+
* @returns The body.
|
|
11
|
+
*/
|
|
12
|
+
text(): Promise<string>;
|
|
13
|
+
}
|
|
1
14
|
/**
|
|
2
|
-
* The
|
|
3
|
-
* GitLab release of a tag links each image by: the Container Registry API of the project lists its
|
|
4
|
-
* repositories, `GET /projects/<id>/registry/repositories`, each of its `location`, as
|
|
5
|
-
* `registry.gitlab.com/acme/images/base`, and its ID, whose page is
|
|
6
|
-
* `<project>/container_registry/<id>`. An image is linked where it lives, never uploaded.
|
|
7
|
-
* {@link checkRegistryAccess} asks the same API once, before anything is released, whether the
|
|
8
|
-
* headers may read it: GitLab's job token may not, so a run of it alone fails there, not after the
|
|
9
|
-
* images are copied.
|
|
10
|
-
*
|
|
11
|
-
* ```ts
|
|
12
|
-
* import { registryPageOf } from '@wtf/release-oci/registry'
|
|
13
|
-
* import { gitlabHeadersOf, gitlabProjectOf } from '@wtf/release-trains/gitlab'
|
|
14
|
-
*
|
|
15
|
-
* const env = { CI_PROJECT_PATH: 'acme/images', GITLAB_TOKEN: 'token' }
|
|
16
|
-
* export const page = await registryPageOf({
|
|
17
|
-
* fetch,
|
|
18
|
-
* project: gitlabProjectOf({}, env, undefined),
|
|
19
|
-
* repository: 'registry.gitlab.com/acme/images/base',
|
|
20
|
-
* headers: gitlabHeadersOf(env)
|
|
21
|
-
* })
|
|
22
|
-
* ```
|
|
15
|
+
* The `fetch` the API of GitLab is asked by: the platform's, of the Fetch Standard, or a test's.
|
|
23
16
|
*
|
|
24
|
-
* @
|
|
25
|
-
* @
|
|
17
|
+
* @param url - The URL of the request.
|
|
18
|
+
* @param init - Its method and its headers.
|
|
19
|
+
* @returns What GitLab answered.
|
|
26
20
|
*/
|
|
27
|
-
|
|
21
|
+
export type RegistryFetch = (url: string, init: {
|
|
22
|
+
method: string;
|
|
23
|
+
headers: Record<string, string>;
|
|
24
|
+
}) => Promise<RegistryResponse>;
|
|
25
|
+
/** A project of GitLab, of its container registry: as `gitlabProjectOf` of a GitLab client gives it. */
|
|
26
|
+
export interface RegistryProject {
|
|
27
|
+
/** The URL of the API of GitLab, as `https://gitlab.com/api/v4`. */
|
|
28
|
+
readonly api: string;
|
|
29
|
+
/** The project as the API names it: its ID, or its path encoded, as `acme%2Fimages`. */
|
|
30
|
+
readonly id: string;
|
|
31
|
+
/** The path of the project, as `acme/images`. */
|
|
32
|
+
readonly path: string;
|
|
33
|
+
/** The page of the project, as `https://gitlab.com/acme/images`. */
|
|
34
|
+
readonly url: string;
|
|
35
|
+
}
|
|
36
|
+
/** The container registry of a project of GitLab, and the headers its API is asked by. */
|
|
37
|
+
export interface ContainerRegistry {
|
|
38
|
+
/** The project whose container registry holds the images. */
|
|
39
|
+
readonly project: RegistryProject;
|
|
40
|
+
/** The headers the request authenticates by: none of a public project. */
|
|
41
|
+
readonly headers: Readonly<Record<string, string>>;
|
|
42
|
+
}
|
|
28
43
|
/** What {@link registryPageOf} looks up. */
|
|
29
|
-
export interface RegistryQuery {
|
|
44
|
+
export interface RegistryQuery extends ContainerRegistry {
|
|
30
45
|
/** The `fetch` the request is made by. */
|
|
31
|
-
readonly fetch:
|
|
32
|
-
/** The project whose container registry holds the image. */
|
|
33
|
-
readonly project: GitLabProject;
|
|
46
|
+
readonly fetch: RegistryFetch;
|
|
34
47
|
/** The repository of the image, as `registry.gitlab.com/acme/images/base`. */
|
|
35
48
|
readonly repository: string;
|
|
36
|
-
/** The headers the request authenticates by: none of a public project. */
|
|
37
|
-
readonly headers: Readonly<Record<string, string>>;
|
|
38
49
|
}
|
|
39
50
|
/**
|
|
40
51
|
* The page of the image `repository` in the container registry of `project`: the repository of its
|
package/dist/registry.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAgCA,uFAAuF;AACvF,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;IACpB,4BAA4B;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB;;;;OAIG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACxB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,CAC1B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,KACtD,OAAO,CAAC,gBAAgB,CAAC,CAAA;AAE9B,wGAAwG;AACxG,MAAM,WAAW,eAAe;IAC9B,oEAAoE;IACpE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,iDAAiD;IACjD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,oEAAoE;IACpE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACrB;AAED,0FAA0F;AAC1F,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;IACjC,0EAA0E;IAC1E,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CACnD;AAED,4CAA4C;AAC5C,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,0CAA0C;IAC1C,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAA;IAC7B,8EAA8E;IAC9E,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC5B;AAQD;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CA+B1E;AAED,gFAAgF;AAChF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,aAAa,EAAE,YAAY,CAAC,CAAA;AAE9D;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAc9E"}
|
package/dist/registry.js
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The page of an image in the container registry of GitLab ({@link registryPageOf}), which the
|
|
3
|
+
* GitLab release of a tag links each image by: the Container Registry API of the project lists its
|
|
4
|
+
* repositories, `GET /projects/<id>/registry/repositories`, each of its `location`, as
|
|
5
|
+
* `registry.gitlab.com/acme/images/base`, and its ID, whose page is
|
|
6
|
+
* `<project>/container_registry/<id>`. An image is linked where it lives, never uploaded.
|
|
7
|
+
* {@link checkRegistryAccess} asks the same API once, before anything is released, whether the
|
|
8
|
+
* headers may read it: GitLab's job token may not, so a run of it alone fails there, not after the
|
|
9
|
+
* images are copied. The ecosystem's `publish` gives each image its page of the registry its options
|
|
10
|
+
* name ({@link ContainerRegistry}).
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* import { registryPageOf } from '@wtf/release-oci/registry'
|
|
14
|
+
*
|
|
15
|
+
* export const page = await registryPageOf({
|
|
16
|
+
* fetch,
|
|
17
|
+
* project: {
|
|
18
|
+
* api: 'https://gitlab.com/api/v4',
|
|
19
|
+
* id: '7',
|
|
20
|
+
* path: 'acme/images',
|
|
21
|
+
* url: 'https://gitlab.com/acme/images'
|
|
22
|
+
* },
|
|
23
|
+
* repository: 'registry.gitlab.com/acme/images/base',
|
|
24
|
+
* headers: { 'PRIVATE-TOKEN': 'token' }
|
|
25
|
+
* })
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @packageDocumentation
|
|
29
|
+
* @module @wtf/release-oci/registry
|
|
30
|
+
*/
|
|
1
31
|
import { OciError } from "./errors.js";
|
|
2
32
|
/**
|
|
3
33
|
* The page of the image `repository` in the container registry of `project`: the repository of its
|
package/dist/registry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AA8DtC;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,KAAoB;IACvD,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,KAAK,CAAA;IACrD,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,GAAG,aAAa,OAAO,CAAC,EAAE,qCAAqC,CAAA;IACtF,IAAI,IAAY,CAAA;IAChB,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,EAAE,CAAC,CAAA;QAC7E,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAA;QAC5B,IAAI,CAAC,QAAQ,CAAC,EAAE;YAAE,MAAM,IAAI,KAAK,CAA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AO,EAAE,EAAE,GAAG,OAAO,EAAE,EAAE,CAAC,CAAA;QAC7E,IAAI,CAAC,QAAQ,CAAC,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,mBAAmB,QAAQ,CAAC,MAAM,KAAK,MAAM,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACnF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,IAAI,QAAQ,CAChB,UAAU,EACV,6BAA6B,OAAO,CAAC,IAAI,uBAAuB,GAAG,KAAM,KAAe,CAAC,OAAO,EAAE,EAClG,kKAAkK,CACnK,CAAA;IACH,CAAC;AACH,CAAC"}
|
package/dist/tags.d.ts
CHANGED
|
@@ -2,42 +2,29 @@
|
|
|
2
2
|
export interface ReleaseTags {
|
|
3
3
|
/** The tag of the version, as `1.4.2`, which a release never moves once it is published. */
|
|
4
4
|
readonly version: string;
|
|
5
|
-
/** The tags that move to each release of their line, as `1.4` and `1`:
|
|
5
|
+
/** The tags that move to each release of their line, as `1.4` and `1`: `[]` of none. */
|
|
6
6
|
readonly moving: readonly string[];
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* move; of a release of the major `0`, its minor alone, as a minor of `0` breaks what the one before
|
|
11
|
-
* gave; of a prerelease, none that moves.
|
|
9
|
+
* Whether `tag` is a tag the OCI distribution spec takes, `[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}`.
|
|
12
10
|
*
|
|
13
|
-
* @param
|
|
14
|
-
* @
|
|
15
|
-
* @returns The tags.
|
|
16
|
-
* @throws `TypeError` of a version that is no semver.
|
|
11
|
+
* @param tag - The tag, as `1.4.2`.
|
|
12
|
+
* @returns Whether an image can have it.
|
|
17
13
|
*/
|
|
18
|
-
export declare
|
|
14
|
+
export declare const isImageTag: (tag: string) => boolean;
|
|
19
15
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param moving - Whether a release moves its minor and its major: `true` by default.
|
|
24
|
-
* @returns The tags, as `['1.4.2', '1.4', '1']`.
|
|
25
|
-
*/
|
|
26
|
-
export declare function tagsOfRelease(version: string, moving?: boolean): string[];
|
|
27
|
-
/**
|
|
28
|
-
* The tags of a release that its caller gives, as of a version that is no semver, checked: each a
|
|
29
|
-
* tag the OCI distribution spec takes, `[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}`, none twice, and the tag
|
|
30
|
-
* of the version not among those that move.
|
|
16
|
+
* The tags of a release, as its caller gives them, checked: each a tag the OCI distribution spec
|
|
17
|
+
* takes ({@link isImageTag}), none twice, and the tag of the version not among those that move.
|
|
18
|
+
* Throws, together, `EOCIVERSION` of the tags the spec does not take, and of the tags given twice.
|
|
31
19
|
*
|
|
32
20
|
* ```ts
|
|
33
21
|
* import { checkReleaseTags } from '@wtf/release-oci/tags'
|
|
34
22
|
*
|
|
35
|
-
* export const tags = checkReleaseTags({ version: '
|
|
23
|
+
* export const tags = checkReleaseTags({ version: '1.4.2', moving: ['1.4', '1'] })
|
|
36
24
|
* ```
|
|
37
25
|
*
|
|
38
26
|
* @param tags - The tag of the version, and those that move.
|
|
39
27
|
* @returns The same tags.
|
|
40
|
-
* @throws `TypeError` of a tag the spec does not take, or of a tag given twice.
|
|
41
28
|
*/
|
|
42
29
|
export declare function checkReleaseTags(tags: ReleaseTags): ReleaseTags;
|
|
43
30
|
//# sourceMappingURL=tags.d.ts.map
|
package/dist/tags.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../src/tags.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../src/tags.ts"],"names":[],"mappings":"AAoBA,8FAA8F;AAC9F,MAAM,WAAW,WAAW;IAC1B,4FAA4F;IAC5F,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,wFAAwF;IACxF,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;CACnC;AAKD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,KAAG,OAAwB,CAAA;AAEjE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,CAuB/D"}
|
package/dist/tags.js
CHANGED
|
@@ -1,78 +1,54 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The tags of a release of an image ({@link
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* The tags of a release of an image ({@link ReleaseTags}): the tag of its version, which a release
|
|
3
|
+
* never moves once it is published, and the tags that move to each release of their line, as `1.4`
|
|
4
|
+
* and `1` of `1.4.2`, or `12.12` and `latest` of `12.12-wtf.1`, which a consumer pins to take each
|
|
5
|
+
* fix of its line. A release takes them as its caller gives them, and derives none: a release tool
|
|
6
|
+
* names those of its own rules. {@link checkReleaseTags} checks them, each a tag an image can have.
|
|
7
7
|
*
|
|
8
8
|
* ```ts
|
|
9
|
-
* import {
|
|
9
|
+
* import { checkReleaseTags } from '@wtf/release-oci/tags'
|
|
10
10
|
*
|
|
11
|
-
* export const tags =
|
|
11
|
+
* export const tags = checkReleaseTags({ version: '12.12-wtf.1', moving: ['12.12', 'latest'] })
|
|
12
12
|
* ```
|
|
13
13
|
*
|
|
14
14
|
* @packageDocumentation
|
|
15
15
|
* @module @wtf/release-oci/tags
|
|
16
16
|
*/
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* gave; of a prerelease, none that moves.
|
|
22
|
-
*
|
|
23
|
-
* @param version - The version of the release, as `1.4.2`.
|
|
24
|
-
* @param moving - Whether a release moves its minor and its major: `true` by default.
|
|
25
|
-
* @returns The tags.
|
|
26
|
-
* @throws `TypeError` of a version that is no semver.
|
|
27
|
-
*/
|
|
28
|
-
export function releaseTagsOf(version, moving = true) {
|
|
29
|
-
const parsed = semver.parse(version);
|
|
30
|
-
if (parsed === null)
|
|
31
|
-
throw new TypeError(`${version} is no semver version.`);
|
|
32
|
-
if (!moving || parsed.prerelease.length > 0)
|
|
33
|
-
return { version: parsed.version, moving: [] };
|
|
34
|
-
const minor = `${parsed.major}.${parsed.minor}`;
|
|
35
|
-
return {
|
|
36
|
-
version: parsed.version,
|
|
37
|
-
moving: parsed.major === 0 ? [minor] : [minor, `${parsed.major}`]
|
|
38
|
-
};
|
|
39
|
-
}
|
|
17
|
+
import { throwAll } from '@wtf/release/errors';
|
|
18
|
+
import { OciError } from "./errors.js";
|
|
19
|
+
/** A tag of an image, as the OCI distribution spec takes it: at most 128 characters. */
|
|
20
|
+
const TAG = /^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;
|
|
40
21
|
/**
|
|
41
|
-
*
|
|
22
|
+
* Whether `tag` is a tag the OCI distribution spec takes, `[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}`.
|
|
42
23
|
*
|
|
43
|
-
* @param
|
|
44
|
-
* @
|
|
45
|
-
* @returns The tags, as `['1.4.2', '1.4', '1']`.
|
|
24
|
+
* @param tag - The tag, as `1.4.2`.
|
|
25
|
+
* @returns Whether an image can have it.
|
|
46
26
|
*/
|
|
47
|
-
export
|
|
48
|
-
const tags = releaseTagsOf(version, moving);
|
|
49
|
-
return [tags.version, ...tags.moving];
|
|
50
|
-
}
|
|
51
|
-
/** A tag of an image, as the OCI distribution spec takes it: at most 128 characters. */
|
|
52
|
-
const TAG = /^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;
|
|
27
|
+
export const isImageTag = (tag) => TAG.test(tag);
|
|
53
28
|
/**
|
|
54
|
-
* The tags of a release
|
|
55
|
-
*
|
|
56
|
-
* of the
|
|
29
|
+
* The tags of a release, as its caller gives them, checked: each a tag the OCI distribution spec
|
|
30
|
+
* takes ({@link isImageTag}), none twice, and the tag of the version not among those that move.
|
|
31
|
+
* Throws, together, `EOCIVERSION` of the tags the spec does not take, and of the tags given twice.
|
|
57
32
|
*
|
|
58
33
|
* ```ts
|
|
59
34
|
* import { checkReleaseTags } from '@wtf/release-oci/tags'
|
|
60
35
|
*
|
|
61
|
-
* export const tags = checkReleaseTags({ version: '
|
|
36
|
+
* export const tags = checkReleaseTags({ version: '1.4.2', moving: ['1.4', '1'] })
|
|
62
37
|
* ```
|
|
63
38
|
*
|
|
64
39
|
* @param tags - The tag of the version, and those that move.
|
|
65
40
|
* @returns The same tags.
|
|
66
|
-
* @throws `TypeError` of a tag the spec does not take, or of a tag given twice.
|
|
67
41
|
*/
|
|
68
42
|
export function checkReleaseTags(tags) {
|
|
69
43
|
const all = [tags.version, ...tags.moving];
|
|
70
|
-
const
|
|
44
|
+
const errors = [];
|
|
45
|
+
const invalid = all.filter((tag) => !isImageTag(tag));
|
|
71
46
|
if (invalid.length > 0)
|
|
72
|
-
|
|
47
|
+
errors.push(new OciError('EOCIVERSION', `${invalid.map((tag) => JSON.stringify(tag)).join(', ')} is no tag of an image: a tag is [A-Za-z0-9_][A-Za-z0-9_.-]{0,127}.`, 'Release a version that is a tag of an image, as `1.4.2` or `12.12-wtf.1`, and name each tag that moves of the same characters, as `12.12` or `latest`.'));
|
|
73
48
|
const twice = all.filter((tag, index) => all.indexOf(tag) !== index);
|
|
74
49
|
if (twice.length > 0)
|
|
75
|
-
|
|
50
|
+
errors.push(new OciError('EOCIVERSION', `The tags of the release name ${[...new Set(twice)].join(', ')} twice: the tag of the version moves never, and each other tag once.`, 'Name each tag that moves once, and not the tag of the version among them.'));
|
|
51
|
+
throwAll(errors);
|
|
76
52
|
return tags;
|
|
77
53
|
}
|
|
78
54
|
//# sourceMappingURL=tags.js.map
|
package/dist/tags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.js","sourceRoot":"","sources":["../src/tags.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"tags.js","sourceRoot":"","sources":["../src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C,IAAI,CAAC,IAAI,CAAC,sEAAsE,EACpI,2EAA2E,CAC5E,CACF,CAAA;IACH,QAAQ,CAAC,MAAM,CAAC,CAAA;IAChB,OAAO,IAAI,CAAA;AACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wtf/release-oci",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The OCI images of a repo released
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "The OCI images of a repo released and tagged in their registry, of no release tool and no rebuild, each function by the platform it is given: the ecosystem of OCI images, its default export (., ./ecosystem), a releasing ecosystem of the contract of @wtf/release, its steps verify, smoke, publish and move over the plan of a release; the images of a repo, each folder of a Dockerfile, a Containerfile or a .devcontainer/devcontainer.json git tracks, of the working tree or of a commit (./images), the tags of a release checked, its version and the tags that move, as its caller names them (./tags), the tested image of each found by its digest and copied to the tag of the version by crane, a version the registry has at another digest refused, and the tags that move pointed at the digest of the version (./publish), the page of each image in the container registry of GitLab (./registry), and OciError, the class of its errors, with their codes (./errors).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"container",
|
|
7
7
|
"docker",
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"image",
|
|
10
10
|
"oci",
|
|
11
11
|
"release",
|
|
12
|
-
"release-train",
|
|
13
12
|
"tags"
|
|
14
13
|
],
|
|
15
14
|
"homepage": "https://gitlab.com/wetryfun/release/release/-/tree/main/packages/release-oci",
|
|
@@ -68,13 +67,12 @@
|
|
|
68
67
|
"build": "tsc -b"
|
|
69
68
|
},
|
|
70
69
|
"dependencies": {
|
|
71
|
-
"@wtf/
|
|
72
|
-
"@wtf/
|
|
73
|
-
"
|
|
70
|
+
"@wtf/platform": "^1.0.0",
|
|
71
|
+
"@wtf/platform-fs": "^1.0.0",
|
|
72
|
+
"@wtf/release": "^1.0.0"
|
|
74
73
|
},
|
|
75
74
|
"devDependencies": {
|
|
76
75
|
"@types/node": "^24.10.0",
|
|
77
|
-
"@types/semver": "^7.7.0",
|
|
78
76
|
"vitest": "^5.0.5"
|
|
79
77
|
},
|
|
80
78
|
"engines": {
|