putitoutthere 0.3.26 → 0.3.27
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/dist/action.d.ts +2 -6
- package/dist/action.d.ts.map +1 -1
- package/dist/action.js +17 -23
- package/dist/action.js.map +1 -1
- package/dist/advance-floating-major.d.ts +3 -15
- package/dist/advance-floating-major.d.ts.map +1 -1
- package/dist/advance-floating-major.js +3 -15
- package/dist/advance-floating-major.js.map +1 -1
- package/dist/advance-v0.d.ts +3 -11
- package/dist/advance-v0.d.ts.map +1 -1
- package/dist/advance-v0.js +3 -11
- package/dist/advance-v0.js.map +1 -1
- package/dist/build-requires-declares.d.ts.map +1 -1
- package/dist/build-requires-declares.js +3 -16
- package/dist/build-requires-declares.js.map +1 -1
- package/dist/cargo-dep-entries.d.ts +4 -12
- package/dist/cargo-dep-entries.d.ts.map +1 -1
- package/dist/cargo-dep-entries.js +4 -12
- package/dist/cargo-dep-entries.js.map +1 -1
- package/dist/cascade.d.ts +4 -22
- package/dist/cascade.d.ts.map +1 -1
- package/dist/cascade.js +4 -22
- package/dist/cascade.js.map +1 -1
- package/dist/check-crate-size.d.ts +4 -14
- package/dist/check-crate-size.d.ts.map +1 -1
- package/dist/check-crate-size.js +4 -14
- package/dist/check-crate-size.js.map +1 -1
- package/dist/check.d.ts +4 -23
- package/dist/check.d.ts.map +1 -1
- package/dist/check.js +4 -23
- package/dist/check.js.map +1 -1
- package/dist/cli.d.ts +3 -41
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +14 -41
- package/dist/cli.js.map +1 -1
- package/dist/completeness.d.ts +4 -13
- package/dist/completeness.d.ts.map +1 -1
- package/dist/completeness.js +4 -13
- package/dist/completeness.js.map +1 -1
- package/dist/config.d.ts +4 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -12
- package/dist/config.js.map +1 -1
- package/dist/emit-plan-outputs.d.ts +4 -18
- package/dist/emit-plan-outputs.d.ts.map +1 -1
- package/dist/emit-plan-outputs.js +4 -18
- package/dist/emit-plan-outputs.js.map +1 -1
- package/dist/emit-release-outputs.d.ts +4 -17
- package/dist/emit-release-outputs.d.ts.map +1 -1
- package/dist/emit-release-outputs.js +4 -17
- package/dist/emit-release-outputs.js.map +1 -1
- package/dist/ensure-tag.d.ts +4 -10
- package/dist/ensure-tag.d.ts.map +1 -1
- package/dist/ensure-tag.js +4 -10
- package/dist/ensure-tag.js.map +1 -1
- package/dist/env.d.ts +8 -23
- package/dist/env.d.ts.map +1 -1
- package/dist/env.js +11 -40
- package/dist/env.js.map +1 -1
- package/dist/error-codes.d.ts +8 -27
- package/dist/error-codes.d.ts.map +1 -1
- package/dist/error-codes.js +8 -27
- package/dist/error-codes.js.map +1 -1
- package/dist/fold-action-bundle.d.ts +4 -20
- package/dist/fold-action-bundle.d.ts.map +1 -1
- package/dist/fold-action-bundle.js +4 -20
- package/dist/fold-action-bundle.js.map +1 -1
- package/dist/force-move-tag.d.ts +4 -13
- package/dist/force-move-tag.d.ts.map +1 -1
- package/dist/force-move-tag.js +4 -13
- package/dist/force-move-tag.js.map +1 -1
- package/dist/git.d.ts +7 -16
- package/dist/git.d.ts.map +1 -1
- package/dist/git.js +7 -16
- package/dist/git.js.map +1 -1
- package/dist/glob.d.ts +3 -10
- package/dist/glob.d.ts.map +1 -1
- package/dist/glob.js +3 -10
- package/dist/glob.js.map +1 -1
- package/dist/handlers/classify-npm-view-failure.d.ts +4 -30
- package/dist/handlers/classify-npm-view-failure.d.ts.map +1 -1
- package/dist/handlers/classify-npm-view-failure.js +7 -38
- package/dist/handlers/classify-npm-view-failure.js.map +1 -1
- package/dist/handlers/crates.d.ts +4 -35
- package/dist/handlers/crates.d.ts.map +1 -1
- package/dist/handlers/crates.js +8 -47
- package/dist/handlers/crates.js.map +1 -1
- package/dist/handlers/first-file-under.d.ts +3 -11
- package/dist/handlers/first-file-under.d.ts.map +1 -1
- package/dist/handlers/first-file-under.js +3 -11
- package/dist/handlers/first-file-under.js.map +1 -1
- package/dist/handlers/match-first-publish-tp-rejection.d.ts +4 -16
- package/dist/handlers/match-first-publish-tp-rejection.d.ts.map +1 -1
- package/dist/handlers/match-first-publish-tp-rejection.js +4 -16
- package/dist/handlers/match-first-publish-tp-rejection.js.map +1 -1
- package/dist/handlers/match-npm-name-too-similar.d.ts +4 -25
- package/dist/handlers/match-npm-name-too-similar.d.ts.map +1 -1
- package/dist/handlers/match-npm-name-too-similar.js +4 -25
- package/dist/handlers/match-npm-name-too-similar.js.map +1 -1
- package/dist/handlers/match-tlog-duplicate.d.ts +4 -13
- package/dist/handlers/match-tlog-duplicate.d.ts.map +1 -1
- package/dist/handlers/match-tlog-duplicate.js +4 -13
- package/dist/handlers/match-tlog-duplicate.js.map +1 -1
- package/dist/handlers/npm-platform.d.ts +11 -46
- package/dist/handlers/npm-platform.d.ts.map +1 -1
- package/dist/handlers/npm-platform.js +11 -46
- package/dist/handlers/npm-platform.js.map +1 -1
- package/dist/handlers/npm.d.ts +3 -7
- package/dist/handlers/npm.d.ts.map +1 -1
- package/dist/handlers/npm.js +11 -45
- package/dist/handlers/npm.js.map +1 -1
- package/dist/handlers/pypi.d.ts +5 -37
- package/dist/handlers/pypi.d.ts.map +1 -1
- package/dist/handlers/pypi.js +5 -37
- package/dist/handlers/pypi.js.map +1 -1
- package/dist/handlers/scan-dirty-outside-manifest.d.ts +4 -11
- package/dist/handlers/scan-dirty-outside-manifest.d.ts.map +1 -1
- package/dist/handlers/scan-dirty-outside-manifest.js +4 -11
- package/dist/handlers/scan-dirty-outside-manifest.js.map +1 -1
- package/dist/is-within-dir.d.ts +3 -5
- package/dist/is-within-dir.d.ts.map +1 -1
- package/dist/is-within-dir.js +3 -5
- package/dist/is-within-dir.js.map +1 -1
- package/dist/log.d.ts +6 -33
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +10 -57
- package/dist/log.js.map +1 -1
- package/dist/manylinux-for-triple.d.ts +4 -6
- package/dist/manylinux-for-triple.d.ts.map +1 -1
- package/dist/manylinux-for-triple.js +4 -6
- package/dist/manylinux-for-triple.js.map +1 -1
- package/dist/must-get.d.ts +3 -14
- package/dist/must-get.d.ts.map +1 -1
- package/dist/must-get.js +3 -14
- package/dist/must-get.js.map +1 -1
- package/dist/normalize-artifacts.d.ts +4 -19
- package/dist/normalize-artifacts.d.ts.map +1 -1
- package/dist/normalize-artifacts.js +4 -19
- package/dist/normalize-artifacts.js.map +1 -1
- package/dist/normalize-dist-name.d.ts +4 -13
- package/dist/normalize-dist-name.d.ts.map +1 -1
- package/dist/normalize-dist-name.js +4 -13
- package/dist/normalize-dist-name.js.map +1 -1
- package/dist/packages-by-name.d.ts +4 -12
- package/dist/packages-by-name.d.ts.map +1 -1
- package/dist/packages-by-name.js +4 -12
- package/dist/packages-by-name.js.map +1 -1
- package/dist/parse-reconcile-expect.d.ts +2 -5
- package/dist/parse-reconcile-expect.d.ts.map +1 -1
- package/dist/parse-reconcile-expect.js +2 -5
- package/dist/parse-reconcile-expect.js.map +1 -1
- package/dist/plan-skew.d.ts +4 -8
- package/dist/plan-skew.d.ts.map +1 -1
- package/dist/plan-skew.js +4 -8
- package/dist/plan-skew.js.map +1 -1
- package/dist/plan-status-types.d.ts +3 -6
- package/dist/plan-status-types.d.ts.map +1 -1
- package/dist/plan-status-types.js +3 -6
- package/dist/plan-status-types.js.map +1 -1
- package/dist/plan-status.d.ts +5 -18
- package/dist/plan-status.d.ts.map +1 -1
- package/dist/plan-status.js +5 -18
- package/dist/plan-status.js.map +1 -1
- package/dist/plan.d.ts +4 -8
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +8 -22
- package/dist/plan.js.map +1 -1
- package/dist/preflight.d.ts +16 -62
- package/dist/preflight.d.ts.map +1 -1
- package/dist/preflight.js +16 -62
- package/dist/preflight.js.map +1 -1
- package/dist/publish-progress.d.ts +4 -17
- package/dist/publish-progress.d.ts.map +1 -1
- package/dist/publish-progress.js +4 -17
- package/dist/publish-progress.js.map +1 -1
- package/dist/publish.d.ts +4 -18
- package/dist/publish.d.ts.map +1 -1
- package/dist/publish.js +4 -18
- package/dist/publish.js.map +1 -1
- package/dist/pypi-version-source.d.ts +3 -31
- package/dist/pypi-version-source.d.ts.map +1 -1
- package/dist/pypi-version-source.js +3 -31
- package/dist/pypi-version-source.js.map +1 -1
- package/dist/python-versions.d.ts +4 -13
- package/dist/python-versions.d.ts.map +1 -1
- package/dist/python-versions.js +4 -13
- package/dist/python-versions.js.map +1 -1
- package/dist/reconcile-expect.d.ts +4 -20
- package/dist/reconcile-expect.d.ts.map +1 -1
- package/dist/reconcile-expect.js +4 -20
- package/dist/reconcile-expect.js.map +1 -1
- package/dist/reconcile-skip-warnings.d.ts +21 -0
- package/dist/reconcile-skip-warnings.d.ts.map +1 -0
- package/dist/reconcile-skip-warnings.js +24 -0
- package/dist/reconcile-skip-warnings.js.map +1 -0
- package/dist/reconcile-types.d.ts +30 -3
- package/dist/reconcile-types.d.ts.map +1 -1
- package/dist/reconcile-types.js +3 -3
- package/dist/reconcile.d.ts +11 -2
- package/dist/reconcile.d.ts.map +1 -1
- package/dist/reconcile.js +31 -8
- package/dist/reconcile.js.map +1 -1
- package/dist/release-github/gh-release-create.d.ts +4 -7
- package/dist/release-github/gh-release-create.d.ts.map +1 -1
- package/dist/release-github/gh-release-create.js +4 -7
- package/dist/release-github/gh-release-create.js.map +1 -1
- package/dist/release-github/gh-release-exists.d.ts +4 -8
- package/dist/release-github/gh-release-exists.d.ts.map +1 -1
- package/dist/release-github/gh-release-exists.js +4 -8
- package/dist/release-github/gh-release-exists.js.map +1 -1
- package/dist/release-github/index.d.ts +4 -29
- package/dist/release-github/index.d.ts.map +1 -1
- package/dist/release-github/index.js +4 -29
- package/dist/release-github/index.js.map +1 -1
- package/dist/release-packages.d.ts +4 -16
- package/dist/release-packages.d.ts.map +1 -1
- package/dist/release-packages.js +4 -16
- package/dist/release-packages.js.map +1 -1
- package/dist/replace-cargo-version.d.ts +3 -30
- package/dist/replace-cargo-version.d.ts.map +1 -1
- package/dist/replace-cargo-version.js +3 -30
- package/dist/replace-cargo-version.js.map +1 -1
- package/dist/replace-dep-version-req.d.ts +8 -32
- package/dist/replace-dep-version-req.d.ts.map +1 -1
- package/dist/replace-dep-version-req.js +8 -32
- package/dist/replace-dep-version-req.js.map +1 -1
- package/dist/repo-relative-paths.d.ts +3 -14
- package/dist/repo-relative-paths.d.ts.map +1 -1
- package/dist/repo-relative-paths.js +3 -14
- package/dist/repo-relative-paths.js.map +1 -1
- package/dist/resolve/run-resolve.d.ts +4 -9
- package/dist/resolve/run-resolve.d.ts.map +1 -1
- package/dist/resolve/run-resolve.js +4 -9
- package/dist/resolve/run-resolve.js.map +1 -1
- package/dist/resolve-dep-dirs.d.ts +4 -14
- package/dist/resolve-dep-dirs.d.ts.map +1 -1
- package/dist/resolve-dep-dirs.js +4 -14
- package/dist/resolve-dep-dirs.js.map +1 -1
- package/dist/resolve-tag-commit.d.ts +4 -12
- package/dist/resolve-tag-commit.d.ts.map +1 -1
- package/dist/resolve-tag-commit.js +4 -12
- package/dist/resolve-tag-commit.js.map +1 -1
- package/dist/retry.d.ts +4 -16
- package/dist/retry.d.ts.map +1 -1
- package/dist/retry.js +4 -16
- package/dist/retry.js.map +1 -1
- package/dist/status-classify.d.ts +3 -6
- package/dist/status-classify.d.ts.map +1 -1
- package/dist/status-classify.js +3 -6
- package/dist/status-classify.js.map +1 -1
- package/dist/status.d.ts +4 -18
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +4 -18
- package/dist/status.js.map +1 -1
- package/dist/tag-template.d.ts +4 -14
- package/dist/tag-template.d.ts.map +1 -1
- package/dist/tag-template.js +4 -14
- package/dist/tag-template.js.map +1 -1
- package/dist/to-error.d.ts +4 -13
- package/dist/to-error.d.ts.map +1 -1
- package/dist/to-error.js +4 -13
- package/dist/to-error.js.map +1 -1
- package/dist/trailer.d.ts +4 -17
- package/dist/trailer.d.ts.map +1 -1
- package/dist/trailer.js +4 -17
- package/dist/trailer.js.map +1 -1
- package/dist/types.d.ts +11 -32
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +3 -6
- package/dist/types.js.map +1 -1
- package/dist/unpublished-kinds.d.ts +4 -15
- package/dist/unpublished-kinds.d.ts.map +1 -1
- package/dist/unpublished-kinds.js +4 -15
- package/dist/unpublished-kinds.js.map +1 -1
- package/dist/utils/bound-capture.d.ts +4 -8
- package/dist/utils/bound-capture.d.ts.map +1 -1
- package/dist/utils/bound-capture.js +4 -8
- package/dist/utils/bound-capture.js.map +1 -1
- package/dist/utils/elide-middle.d.ts +4 -19
- package/dist/utils/elide-middle.d.ts.map +1 -1
- package/dist/utils/elide-middle.js +4 -19
- package/dist/utils/elide-middle.js.map +1 -1
- package/dist/utils/find-exec-error.d.ts.map +1 -1
- package/dist/utils/find-exec-error.js +4 -12
- package/dist/utils/find-exec-error.js.map +1 -1
- package/dist/utils/flush-stdio.d.ts +4 -11
- package/dist/utils/flush-stdio.d.ts.map +1 -1
- package/dist/utils/flush-stdio.js +4 -11
- package/dist/utils/flush-stdio.js.map +1 -1
- package/dist/utils/list-files-recursive.d.ts +3 -7
- package/dist/utils/list-files-recursive.d.ts.map +1 -1
- package/dist/utils/list-files-recursive.js +3 -7
- package/dist/utils/list-files-recursive.js.map +1 -1
- package/dist/utils/to-posix-path.d.ts +4 -7
- package/dist/utils/to-posix-path.d.ts.map +1 -1
- package/dist/utils/to-posix-path.js +4 -7
- package/dist/utils/to-posix-path.js.map +1 -1
- package/dist/verbose.d.ts +4 -10
- package/dist/verbose.d.ts.map +1 -1
- package/dist/verbose.js +4 -10
- package/dist/verbose.js.map +1 -1
- package/dist/verify/bundle-cli/compute-stage-suffix.d.ts +4 -11
- package/dist/verify/bundle-cli/compute-stage-suffix.d.ts.map +1 -1
- package/dist/verify/bundle-cli/compute-stage-suffix.js +4 -11
- package/dist/verify/bundle-cli/compute-stage-suffix.js.map +1 -1
- package/dist/verify/bundle-cli/index.d.ts +4 -20
- package/dist/verify/bundle-cli/index.d.ts.map +1 -1
- package/dist/verify/bundle-cli/index.js +4 -20
- package/dist/verify/bundle-cli/index.js.map +1 -1
- package/dist/verify/bundle-cli/read-python-source.d.ts +4 -12
- package/dist/verify/bundle-cli/read-python-source.d.ts.map +1 -1
- package/dist/verify/bundle-cli/read-python-source.js +4 -12
- package/dist/verify/bundle-cli/read-python-source.js.map +1 -1
- package/dist/verify/crate/find-crate-file.d.ts +2 -6
- package/dist/verify/crate/find-crate-file.d.ts.map +1 -1
- package/dist/verify/crate/find-crate-file.js +2 -6
- package/dist/verify/crate/find-crate-file.js.map +1 -1
- package/dist/verify/crate/has-crate-source.d.ts +3 -5
- package/dist/verify/crate/has-crate-source.d.ts.map +1 -1
- package/dist/verify/crate/has-crate-source.js +3 -5
- package/dist/verify/crate/has-crate-source.js.map +1 -1
- package/dist/verify/crate/index.d.ts +4 -16
- package/dist/verify/crate/index.d.ts.map +1 -1
- package/dist/verify/crate/index.js +4 -16
- package/dist/verify/crate/index.js.map +1 -1
- package/dist/verify/npm-tarball/download.d.ts +3 -9
- package/dist/verify/npm-tarball/download.d.ts.map +1 -1
- package/dist/verify/npm-tarball/download.js +3 -9
- package/dist/verify/npm-tarball/download.js.map +1 -1
- package/dist/verify/npm-tarball/index.d.ts +4 -13
- package/dist/verify/npm-tarball/index.d.ts.map +1 -1
- package/dist/verify/npm-tarball/index.js +4 -13
- package/dist/verify/npm-tarball/index.js.map +1 -1
- package/dist/verify/npm-tarball/local-dir-state.d.ts +4 -8
- package/dist/verify/npm-tarball/local-dir-state.d.ts.map +1 -1
- package/dist/verify/npm-tarball/local-dir-state.js +4 -8
- package/dist/verify/npm-tarball/local-dir-state.js.map +1 -1
- package/dist/verify/npm-tarball/main.d.ts +4 -14
- package/dist/verify/npm-tarball/main.d.ts.map +1 -1
- package/dist/verify/npm-tarball/main.js +4 -14
- package/dist/verify/npm-tarball/main.js.map +1 -1
- package/dist/verify/npm-tarball/resolve-url.d.ts +4 -11
- package/dist/verify/npm-tarball/resolve-url.d.ts.map +1 -1
- package/dist/verify/npm-tarball/resolve-url.js +4 -11
- package/dist/verify/npm-tarball/resolve-url.js.map +1 -1
- package/dist/verify/npm-tarball/triple.d.ts +4 -26
- package/dist/verify/npm-tarball/triple.d.ts.map +1 -1
- package/dist/verify/npm-tarball/triple.js +4 -26
- package/dist/verify/npm-tarball/triple.js.map +1 -1
- package/dist/verify/posture.d.ts +4 -13
- package/dist/verify/posture.d.ts.map +1 -1
- package/dist/verify/posture.js +4 -13
- package/dist/verify/posture.js.map +1 -1
- package/dist/verify/wheel/index.d.ts +4 -17
- package/dist/verify/wheel/index.d.ts.map +1 -1
- package/dist/verify/wheel/index.js +4 -17
- package/dist/verify/wheel/index.js.map +1 -1
- package/dist/verify/wheel/manylinux-tag-patterns.d.ts +4 -6
- package/dist/verify/wheel/manylinux-tag-patterns.d.ts.map +1 -1
- package/dist/verify/wheel/manylinux-tag-patterns.js +4 -6
- package/dist/verify/wheel/manylinux-tag-patterns.js.map +1 -1
- package/dist/verify/wheel/read-wheel-version.d.ts +4 -8
- package/dist/verify/wheel/read-wheel-version.d.ts.map +1 -1
- package/dist/verify/wheel/read-wheel-version.js +4 -8
- package/dist/verify/wheel/read-wheel-version.js.map +1 -1
- package/dist/verify/wheel/read-zip-entry.d.ts +3 -8
- package/dist/verify/wheel/read-zip-entry.d.ts.map +1 -1
- package/dist/verify/wheel/read-zip-entry.js +3 -8
- package/dist/verify/wheel/read-zip-entry.js.map +1 -1
- package/dist/version.d.ts +4 -12
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +4 -12
- package/dist/version.js.map +1 -1
- package/dist/wheel-abi.d.ts +5 -28
- package/dist/wheel-abi.d.ts.map +1 -1
- package/dist/wheel-abi.js +5 -28
- package/dist/wheel-abi.js.map +1 -1
- package/dist/write-crate-version.d.ts +4 -17
- package/dist/write-crate-version.d.ts.map +1 -1
- package/dist/write-crate-version.js +4 -17
- package/dist/write-crate-version.js.map +1 -1
- package/dist/write-dependent-version-reqs.d.ts +8 -43
- package/dist/write-dependent-version-reqs.d.ts.map +1 -1
- package/dist/write-dependent-version-reqs.js +8 -43
- package/dist/write-dependent-version-reqs.js.map +1 -1
- package/dist/write-embedded-crate-versions.d.ts +9 -40
- package/dist/write-embedded-crate-versions.d.ts.map +1 -1
- package/dist/write-embedded-crate-versions.js +9 -40
- package/dist/write-embedded-crate-versions.js.map +1 -1
- package/dist/write-launcher.d.ts +7 -23
- package/dist/write-launcher.d.ts.map +1 -1
- package/dist/write-launcher.js +11 -37
- package/dist/write-launcher.js.map +1 -1
- package/dist/write-resolved-cargo-version.d.ts +4 -12
- package/dist/write-resolved-cargo-version.d.ts.map +1 -1
- package/dist/write-resolved-cargo-version.js +4 -12
- package/dist/write-resolved-cargo-version.js.map +1 -1
- package/dist/write-version.d.ts +8 -29
- package/dist/write-version.d.ts.map +1 -1
- package/dist/write-version.js +8 -29
- package/dist/write-version.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The registry kinds a planned release still has work for (#622)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* gates registry authentication on this: `release.yml` used to ask the build
|
|
7
|
-
* matrix "does this repo have a crates package?", which is true whenever a
|
|
8
|
-
* crate exists — published or not — so the crates.io OIDC exchange fired on
|
|
9
|
-
* re-runs with nothing left to ship, and a failing exchange killed the
|
|
10
|
-
* publish job before npm and PyPI got their turn.
|
|
11
|
-
*
|
|
12
|
-
* `unknown` (the registry could not be reached, so `plan` degraded rather
|
|
13
|
-
* than aborting) counts as unpublished. Reading "we could not tell" as
|
|
14
|
-
* "nothing to do" would drop the credential a publish may well still need,
|
|
15
|
-
* turning a registry blip at plan time into an auth failure at publish time;
|
|
16
|
-
* listing the kind preserves the pre-#622 behaviour in exactly that case.
|
|
2
|
+
* The registry kinds a planned release still has work for (#622): distinct
|
|
3
|
+
* `kind`s with a package whose planned version is not yet on its registry.
|
|
4
|
+
* `release.yml` gates registry auth on this, so a re-run with nothing left to
|
|
5
|
+
* ship needs no crates.io OIDC. `unknown` counts as unpublished, never as done.
|
|
17
6
|
*/
|
|
18
7
|
export function unpublishedKinds(verdicts) {
|
|
19
8
|
const kinds = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpublished-kinds.js","sourceRoot":"","sources":["../src/unpublished-kinds.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"unpublished-kinds.js","sourceRoot":"","sources":["../src/unpublished-kinds.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,MAAM,UAAU,gBAAgB,CAAC,QAAgC;IAC/D,MAAM,KAAK,GAAW,EAAE,CAAC;IACzB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,OAAO,CAAC,OAAO,KAAK,MAAM,EAAE,CAAC;YAAA,SAAS;QAAA,CAAC;QAC3C,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAAA,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAAA,CAAC;IAChE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream to `ceiling` characters, keeping both ends and
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* The banner leads the result rather than sitting at the cut, so it survives
|
|
8
|
-
* the job-summary render's head-only truncation (`verbose.ts`): a reader who
|
|
9
|
-
* gets only the first slice still learns the stream was elided.
|
|
2
|
+
* Bound a captured stream to `ceiling` characters, keeping both ends and saying
|
|
3
|
+
* how much went — a stream that just stops is indistinguishable from a tool
|
|
4
|
+
* that fell silent. The banner leads the result rather than sitting at the cut,
|
|
5
|
+
* so it survives the job-summary render's head-only truncation (`verbose.ts`).
|
|
10
6
|
*/
|
|
11
7
|
export declare function boundCapture(text: string, ceiling: number): string;
|
|
12
8
|
//# sourceMappingURL=bound-capture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bound-capture.d.ts","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bound-capture.d.ts","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAUlE"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream to `ceiling` characters, keeping both ends and
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* The banner leads the result rather than sitting at the cut, so it survives
|
|
8
|
-
* the job-summary render's head-only truncation (`verbose.ts`): a reader who
|
|
9
|
-
* gets only the first slice still learns the stream was elided.
|
|
2
|
+
* Bound a captured stream to `ceiling` characters, keeping both ends and saying
|
|
3
|
+
* how much went — a stream that just stops is indistinguishable from a tool
|
|
4
|
+
* that fell silent. The banner leads the result rather than sitting at the cut,
|
|
5
|
+
* so it survives the job-summary render's head-only truncation (`verbose.ts`).
|
|
10
6
|
*/
|
|
11
7
|
export function boundCapture(text, ceiling) {
|
|
12
8
|
if (text.length <= ceiling) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bound-capture.js","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bound-capture.js","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,OAAe;IACxD,IAAI,IAAI,CAAC,MAAM,IAAI,OAAO,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IACrC,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC;IAC5B,OAAO;QACL,oDAAoD,IAAI,CAAC,MAAM,GAAG,OAAO,QAAQ;QACjF,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE;KAC1D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream by dropping its middle, keeping both ends.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* that narrates its work before it fails therefore loses exactly the part a
|
|
7
|
-
* reader needs, because the error comes last: `cargo publish --verbose`
|
|
8
|
-
* under `CARGO_TERM_VERBOSE=true` runs to hundreds of KB on a cold verify
|
|
9
|
-
* build, so on #651's release run the whole diagnostic a consumer got was
|
|
10
|
-
* 64KB of *successful* build output that stops mid-compile.
|
|
11
|
-
*
|
|
12
|
-
* Both ends earn their place, so the middle is what goes. The head names
|
|
13
|
-
* the phase that was running; the tail carries the error. Between them sits
|
|
14
|
-
* a count of the dropped bytes, so a reader can tell an elision from a
|
|
15
|
-
* stream that simply stopped.
|
|
16
|
-
*
|
|
17
|
-
* This bounds what gets *rendered into a message*, not what gets captured:
|
|
18
|
-
* predicates that scan a tool's stderr (the 429-fallback trigger, the
|
|
19
|
-
* first-publish TP rejection) still read it whole, and the job-summary dump
|
|
20
|
-
* — a file, with no per-line cut — still carries it whole.
|
|
2
|
+
* Bound a captured stream by dropping its middle, keeping both ends. GitHub
|
|
3
|
+
* Actions cuts a log line at 64KB — live view and archive alike — and keeps the
|
|
4
|
+
* *head*, so a tool that narrates before failing loses its error (#651). Only
|
|
5
|
+
* rendered messages are bounded; predicates and the dump file read it whole.
|
|
21
6
|
*/
|
|
22
7
|
export interface ElideMiddleOptions {
|
|
23
8
|
head?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elide-middle.d.ts","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"elide-middle.d.ts","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,kBAAkB;IAGjC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,kBAAuB,GAAG,MAAM,CAa/E"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream by dropping its middle, keeping both ends.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* that narrates its work before it fails therefore loses exactly the part a
|
|
7
|
-
* reader needs, because the error comes last: `cargo publish --verbose`
|
|
8
|
-
* under `CARGO_TERM_VERBOSE=true` runs to hundreds of KB on a cold verify
|
|
9
|
-
* build, so on #651's release run the whole diagnostic a consumer got was
|
|
10
|
-
* 64KB of *successful* build output that stops mid-compile.
|
|
11
|
-
*
|
|
12
|
-
* Both ends earn their place, so the middle is what goes. The head names
|
|
13
|
-
* the phase that was running; the tail carries the error. Between them sits
|
|
14
|
-
* a count of the dropped bytes, so a reader can tell an elision from a
|
|
15
|
-
* stream that simply stopped.
|
|
16
|
-
*
|
|
17
|
-
* This bounds what gets *rendered into a message*, not what gets captured:
|
|
18
|
-
* predicates that scan a tool's stderr (the 429-fallback trigger, the
|
|
19
|
-
* first-publish TP rejection) still read it whole, and the job-summary dump
|
|
20
|
-
* — a file, with no per-line cut — still carries it whole.
|
|
2
|
+
* Bound a captured stream by dropping its middle, keeping both ends. GitHub
|
|
3
|
+
* Actions cuts a log line at 64KB — live view and archive alike — and keeps the
|
|
4
|
+
* *head*, so a tool that narrates before failing loses its error (#651). Only
|
|
5
|
+
* rendered messages are bounded; predicates and the dump file read it whole.
|
|
21
6
|
*/
|
|
22
7
|
export function elideMiddle(text, opts = {}) {
|
|
23
8
|
// Defaults live here, not in module constants: a top-level `const` is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elide-middle.js","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"elide-middle.js","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,MAAM,UAAU,WAAW,CAAC,IAAY,EAAE,OAA2B,EAAE;IACrE,sEAAsE;IACtE,uEAAuE;IACvE,sEAAsE;IACtE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC;IACnC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,GAAG,IAAI,CAAC;IACpC,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1C,IAAI,OAAO,IAAI,CAAC,EAAE,CAAC;QAAA,OAAO,IAAI,CAAC;IAAA,CAAC;IAChC,OAAO;QACL,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC;QACnB,QAAQ,OAAO,oBAAoB;QACnC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;KAC/B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-exec-error.d.ts","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"find-exec-error.d.ts","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAQ5D"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { ExecError } from './exec-error.js';
|
|
2
2
|
/**
|
|
3
|
-
* The `ExecError` a thrown error was built from, or null when none is in
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* the original as `cause` — which is the right shape for a human reading one
|
|
8
|
-
* line, and the wrong shape for the failure dump, which was reconstructing
|
|
9
|
-
* the subprocess from that rendered sentence and so reported an empty
|
|
10
|
-
* command, an empty stdout and exit code -1. Walking back to the `ExecError`
|
|
11
|
-
* recovers what actually ran. #617.
|
|
12
|
-
*
|
|
13
|
-
* Bounded depth: `cause` is caller-supplied and can be cyclic, and no real
|
|
14
|
-
* chain in this engine is more than a couple of links deep.
|
|
3
|
+
* The `ExecError` a thrown error was built from, or null when none is in its
|
|
4
|
+
* cause chain. Handlers rethrow a rendered message with the original as
|
|
5
|
+
* `cause`, which left the failure dump reporting an empty command, empty stdout
|
|
6
|
+
* and exit -1 (#617). Depth is bounded: `cause` is caller-supplied and cyclic.
|
|
15
7
|
*/
|
|
16
8
|
const MAX_DEPTH = 10;
|
|
17
9
|
export function findExecError(err) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-exec-error.js","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C
|
|
1
|
+
{"version":3,"file":"find-exec-error.js","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB,MAAM,UAAU,aAAa,CAAC,GAAY;IACxC,IAAI,OAAO,GAAY,GAAG,CAAC;IAC3B,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC;QAC/C,IAAI,OAAO,YAAY,SAAS,EAAE,CAAC;YAAA,OAAO,OAAO,CAAC;QAAA,CAAC;QACnD,IAAI,CAAC,CAAC,OAAO,YAAY,KAAK,CAAC,EAAE,CAAC;YAAA,OAAO,IAAI,CAAC;QAAA,CAAC;QAC/C,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC;IAC1B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Drain stdout and stderr so a following `process.exit` cannot truncate them.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* error (#664). Assigning `process.exitCode` would also flush, but then exit
|
|
8
|
-
* waits on every lingering handle (undici keeps sockets pooled after `fetch`),
|
|
9
|
-
* so drain explicitly and keep the hard exit.
|
|
10
|
-
*
|
|
11
|
-
* The zero-length write is a position marker, not output: stream writes
|
|
12
|
-
* complete in order, so its callback fires only once everything queued ahead
|
|
13
|
-
* of it has reached the fd.
|
|
3
|
+
* Pipe writes are async and `exit` drops what is queued, cutting a multi-MB
|
|
4
|
+
* failure dump around 146KB — losing the tail where the error is (#664).
|
|
5
|
+
* `process.exitCode` would flush but then waits on undici's pooled sockets. The
|
|
6
|
+
* zero-length write is a position marker: stream writes complete in order.
|
|
14
7
|
*/
|
|
15
8
|
export declare function flushStdio(): Promise<void>;
|
|
16
9
|
//# sourceMappingURL=flush-stdio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flush-stdio.d.ts","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"flush-stdio.d.ts","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAQhD"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Drain stdout and stderr so a following `process.exit` cannot truncate them.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* error (#664). Assigning `process.exitCode` would also flush, but then exit
|
|
8
|
-
* waits on every lingering handle (undici keeps sockets pooled after `fetch`),
|
|
9
|
-
* so drain explicitly and keep the hard exit.
|
|
10
|
-
*
|
|
11
|
-
* The zero-length write is a position marker, not output: stream writes
|
|
12
|
-
* complete in order, so its callback fires only once everything queued ahead
|
|
13
|
-
* of it has reached the fd.
|
|
3
|
+
* Pipe writes are async and `exit` drops what is queued, cutting a multi-MB
|
|
4
|
+
* failure dump around 146KB — losing the tail where the error is (#664).
|
|
5
|
+
* `process.exitCode` would flush but then waits on undici's pooled sockets. The
|
|
6
|
+
* zero-length write is a position marker: stream writes complete in order.
|
|
14
7
|
*/
|
|
15
8
|
export async function flushStdio() {
|
|
16
9
|
for (const stream of [process.stdout, process.stderr]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flush-stdio.js","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"flush-stdio.js","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU;IAC9B,KAAK,MAAM,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACtD,MAAM,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YAClC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,GAAG,EAAE;gBACpB,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Absolute paths of every regular file under `dir`, recursively
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* diagnostics (#443).
|
|
6
|
-
*
|
|
7
|
-
* Returns `[]` for a missing path, mirroring `find`'s tolerance
|
|
8
|
-
* (`2>/dev/null`).
|
|
2
|
+
* Absolute paths of every regular file under `dir`, recursively — the async
|
|
3
|
+
* analogue of the `find "$dir" -type f` the extracted bash used (#443).
|
|
4
|
+
* Returns `[]` for a missing path, mirroring `find`'s `2>/dev/null` tolerance.
|
|
9
5
|
*/
|
|
10
6
|
export declare function listFilesRecursive(dir: string): Promise<string[]>;
|
|
11
7
|
//# sourceMappingURL=list-files-recursive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-files-recursive.d.ts","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"list-files-recursive.d.ts","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAYvE"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Absolute paths of every regular file under `dir`, recursively
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* diagnostics (#443).
|
|
6
|
-
*
|
|
7
|
-
* Returns `[]` for a missing path, mirroring `find`'s tolerance
|
|
8
|
-
* (`2>/dev/null`).
|
|
2
|
+
* Absolute paths of every regular file under `dir`, recursively — the async
|
|
3
|
+
* analogue of the `find "$dir" -type f` the extracted bash used (#443).
|
|
4
|
+
* Returns `[]` for a missing path, mirroring `find`'s `2>/dev/null` tolerance.
|
|
9
5
|
*/
|
|
10
6
|
import { readdir } from 'node:fs/promises';
|
|
11
7
|
import { join } from 'node:path';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-files-recursive.js","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"list-files-recursive.js","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,GAAW;IAClD,IAAI,CAAC,CAAC,MAAM,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;QAAA,OAAO,EAAE,CAAC;IAAA,CAAC;IAC1C,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,KAAK,MAAM,KAAK,IAAI,MAAM,OAAO,CAAC,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;QAChE,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAClC,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;YACxB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;aAAM,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;YAC1B,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Normalize OS path separators to POSIX `/`.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* at every comparison site — a branch that only one platform per CI run can
|
|
7
|
-
* ever exercise. Normalizing once at the listing boundary collapses that
|
|
8
|
-
* into a single, fully coverable path.
|
|
2
|
+
* Normalize OS path separators to POSIX `/`. Windows' `path.join` emits
|
|
3
|
+
* back-slashed paths, so callers matching a trailing `/<name>` segment would
|
|
4
|
+
* otherwise need an OR-of-separators at every site — a branch only one platform
|
|
5
|
+
* per CI run can exercise. Normalizing once at the boundary collapses that.
|
|
9
6
|
*/
|
|
10
7
|
export declare function toPosixPath(path: string): string;
|
|
11
8
|
//# sourceMappingURL=to-posix-path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-posix-path.d.ts","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"to-posix-path.d.ts","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Normalize OS path separators to POSIX `/`.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* at every comparison site — a branch that only one platform per CI run can
|
|
7
|
-
* ever exercise. Normalizing once at the listing boundary collapses that
|
|
8
|
-
* into a single, fully coverable path.
|
|
2
|
+
* Normalize OS path separators to POSIX `/`. Windows' `path.join` emits
|
|
3
|
+
* back-slashed paths, so callers matching a trailing `/<name>` segment would
|
|
4
|
+
* otherwise need an OR-of-separators at every site — a branch only one platform
|
|
5
|
+
* per CI run can exercise. Normalizing once at the boundary collapses that.
|
|
9
6
|
*/
|
|
10
7
|
export function toPosixPath(path) {
|
|
11
8
|
return path.replace(/\\/g, '/');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-posix-path.js","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"to-posix-path.js","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,IAAY;IACtC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAClC,CAAC"}
|
package/dist/verbose.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Verbose-on-failure dump.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* stream (as a single error-level record). Both are passed through
|
|
7
|
-
* the logger's redactor so env-matched secrets never leak.
|
|
8
|
-
*
|
|
9
|
-
* Per plan.md §22.4. Auto-emitted on failure; never on success.
|
|
10
|
-
*
|
|
11
|
-
* Issue #15.
|
|
2
|
+
* Verbose-on-failure dump (#15, plan.md §22.4). When a handler throws, writes a
|
|
3
|
+
* diagnostic record to `$GITHUB_STEP_SUMMARY` (markdown) and the structured log
|
|
4
|
+
* stream (one error record), both through the logger's redactor so env-matched
|
|
5
|
+
* secrets never leak. Auto-emitted on failure; never on success.
|
|
12
6
|
*/
|
|
13
7
|
import { type EnvSource } from './log.js';
|
|
14
8
|
import type { Logger } from './types.js';
|
package/dist/verbose.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verbose.d.ts","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"verbose.d.ts","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CACnC;AAKD,wBAAsB,WAAW,CAC/B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,cAAc,EACnB,IAAI,EAAE,WAAW,GAChB,OAAO,CAAC,IAAI,CAAC,CA6Bf"}
|
package/dist/verbose.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Verbose-on-failure dump.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* stream (as a single error-level record). Both are passed through
|
|
7
|
-
* the logger's redactor so env-matched secrets never leak.
|
|
8
|
-
*
|
|
9
|
-
* Per plan.md §22.4. Auto-emitted on failure; never on success.
|
|
10
|
-
*
|
|
11
|
-
* Issue #15.
|
|
2
|
+
* Verbose-on-failure dump (#15, plan.md §22.4). When a handler throws, writes a
|
|
3
|
+
* diagnostic record to `$GITHUB_STEP_SUMMARY` (markdown) and the structured log
|
|
4
|
+
* stream (one error record), both through the logger's redactor so env-matched
|
|
5
|
+
* secrets never leak. Auto-emitted on failure; never on success.
|
|
12
6
|
*/
|
|
13
7
|
import { appendFile } from 'node:fs/promises';
|
|
14
8
|
import { redact } from './log.js';
|
package/dist/verbose.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verbose.js","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"verbose.js","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAkB,MAAM,UAAU,CAAC;AA+ClD,MAAM,WAAW,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,8GAA8G;AACnJ,MAAM,UAAU,GAAG,gEAAgE,CAAC;AAEpF,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,GAAU,EACV,GAAmB,EACnB,IAAiB;IAEjB,kEAAkE;IAClE,mEAAmE;IACnE,oEAAoE;IACpE,0BAA0B;IAC1B,MAAM,OAAO,GACX,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC;QACzD,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;QACnC,CAAC,CAAC,SAAS,CAAC;IAChB,MAAM,EAAE,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;IAEjC,gEAAgE;IAChE,oEAAoE;IACpE,+DAA+D;IAC/D,mEAAmE;IACnE,iEAAiE;IACjE,iBAAiB;IACjB,iBAAiB,CAAC,G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AG,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAChD,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,QAAQ,CAAC,EAAU;IAC1B,IAAI,EAAE,CAAC,MAAM,IAAI,WAAW,EAAE,CAAC;QAAA,OAAO,EAAE,CAAC;IAAA,CAAC;IAC1C,+DAA+D;IAC/D,6DAA6D;IAC7D,MAAM,IAAI,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAC1D,OAAO,IAAI,GAAG,UAAU,CAAC;AAC3B,CAAC;AAED,KAAK,UAAU,YAAY,CAAC,EAAU;IACpC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC;IAC7C,IAAI,CAAC,IAAI,EAAE,CAAC;QAAA,OAAO;IAAA,CAAC,CAAC,+CAA+C;IACpE,MAAM,UAAU,CAAC,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;AACrC,CAAC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The wheel-relative directory the bundle_cli binary is expected at (#451)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `if [ -n "$python_source" ]; then stripped="${stage_suffix#"$python_source"/}"; … fi`
|
|
7
|
-
* — drop a single leading `./` from `stage_to`, then, when a non-empty
|
|
8
|
-
* `python-source` is an exact leading path segment, subtract it (maturin
|
|
9
|
-
* strips that dir from the wheel layout). A `python-source` that is set but
|
|
10
|
-
* is *not* a prefix of `stage_to` leaves the suffix unchanged — that
|
|
11
|
-
* combination is the consumer's misconfiguration to surface, not this
|
|
12
|
-
* function's to paper over, matching the bash's `!=` guard.
|
|
2
|
+
* The wheel-relative directory the bundle_cli binary is expected at (#451):
|
|
3
|
+
* drop a single leading `./` from `stage_to`, then subtract a non-empty
|
|
4
|
+
* `python-source` when it is an exact leading segment (maturin strips that dir
|
|
5
|
+
* from the wheel layout). A non-prefix `python-source` leaves it unchanged.
|
|
13
6
|
*/
|
|
14
7
|
export declare function computeStageSuffix(stageTo: string, pythonSource: string): string;
|
|
15
8
|
//# sourceMappingURL=compute-stage-suffix.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-stage-suffix.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"compute-stage-suffix.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAOhF"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The wheel-relative directory the bundle_cli binary is expected at (#451)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `if [ -n "$python_source" ]; then stripped="${stage_suffix#"$python_source"/}"; … fi`
|
|
7
|
-
* — drop a single leading `./` from `stage_to`, then, when a non-empty
|
|
8
|
-
* `python-source` is an exact leading path segment, subtract it (maturin
|
|
9
|
-
* strips that dir from the wheel layout). A `python-source` that is set but
|
|
10
|
-
* is *not* a prefix of `stage_to` leaves the suffix unchanged — that
|
|
11
|
-
* combination is the consumer's misconfiguration to surface, not this
|
|
12
|
-
* function's to paper over, matching the bash's `!=` guard.
|
|
2
|
+
* The wheel-relative directory the bundle_cli binary is expected at (#451):
|
|
3
|
+
* drop a single leading `./` from `stage_to`, then subtract a non-empty
|
|
4
|
+
* `python-source` when it is an exact leading segment (maturin strips that dir
|
|
5
|
+
* from the wheel layout). A non-prefix `python-source` leaves it unchanged.
|
|
13
6
|
*/
|
|
14
7
|
export function computeStageSuffix(stageTo, pythonSource) {
|
|
15
8
|
const stageSuffix = stageTo.replace(/^\.\//, '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-stage-suffix.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"compute-stage-suffix.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,UAAU,kBAAkB,CAAC,OAAe,EAAE,YAAoB;IACtE,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IACjD,IAAI,YAAY,KAAK,EAAE,EAAE,CAAC;QACxB,OAAO,WAAW,CAAC;IACrB,CAAC;IACD,MAAM,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC;IAClC,OAAO,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;AACzF,CAAC"}
|
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* <stage_to>/<bin>" bash block in `.github/workflows/_matrix.yml`. That step
|
|
7
|
-
* guards the #282/#358 contract: a `[package.bundle_cli]` build must stage
|
|
8
|
-
* its per-target binary into the wheel, so a consumer who declares a bundled
|
|
9
|
-
* CLI actually ships one. Without it, a build that silently failed to stage
|
|
10
|
-
* the binary would still produce a wheel and go green — the release surprise
|
|
11
|
-
* the no-surprises commitment exists to catch.
|
|
12
|
-
*
|
|
13
|
-
* The binary's expected path is `<stage_suffix>/<bin><ext>` where
|
|
14
|
-
* `stage_suffix` is `stage_to` with `[tool.maturin].python-source`
|
|
15
|
-
* subtracted (maturin strips that dir from the wheel layout) and `ext` is
|
|
16
|
-
* `.exe` on a Windows target. The wheel is a zip; its entries are read with
|
|
17
|
-
* the pure-Node reader `verify wheel` (#450) already ships — no `unzip`, so
|
|
18
|
-
* this runs on every platform the maturin matrix builds on, Windows
|
|
19
|
-
* included — and the match mirrors the bash `grep -qE
|
|
20
|
-
* "(^|/)<stage_suffix>/<expected>$"`. Async throughout. Returns the
|
|
21
|
-
* process exit code (0 ok, 1 on a miss).
|
|
2
|
+
* `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel ships
|
|
3
|
+
* its cross-compiled binary at `<stage_suffix>/<bin><ext>` (`.exe` on Windows)
|
|
4
|
+
* (#451, #282/#358): without it a build that failed to stage the binary still
|
|
5
|
+
* produces a wheel and goes green. Zip reads use `verify wheel`'s reader (#450).
|
|
22
6
|
*/
|
|
23
7
|
import type { VerifyBundleCliOptions } from './types.js';
|
|
24
8
|
export declare function verifyBundleCli(opts: VerifyBundleCliOptions): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,wBAAsB,eAAe,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,CA4CnF"}
|
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* <stage_to>/<bin>" bash block in `.github/workflows/_matrix.yml`. That step
|
|
7
|
-
* guards the #282/#358 contract: a `[package.bundle_cli]` build must stage
|
|
8
|
-
* its per-target binary into the wheel, so a consumer who declares a bundled
|
|
9
|
-
* CLI actually ships one. Without it, a build that silently failed to stage
|
|
10
|
-
* the binary would still produce a wheel and go green — the release surprise
|
|
11
|
-
* the no-surprises commitment exists to catch.
|
|
12
|
-
*
|
|
13
|
-
* The binary's expected path is `<stage_suffix>/<bin><ext>` where
|
|
14
|
-
* `stage_suffix` is `stage_to` with `[tool.maturin].python-source`
|
|
15
|
-
* subtracted (maturin strips that dir from the wheel layout) and `ext` is
|
|
16
|
-
* `.exe` on a Windows target. The wheel is a zip; its entries are read with
|
|
17
|
-
* the pure-Node reader `verify wheel` (#450) already ships — no `unzip`, so
|
|
18
|
-
* this runs on every platform the maturin matrix builds on, Windows
|
|
19
|
-
* included — and the match mirrors the bash `grep -qE
|
|
20
|
-
* "(^|/)<stage_suffix>/<expected>$"`. Async throughout. Returns the
|
|
21
|
-
* process exit code (0 ok, 1 on a miss).
|
|
2
|
+
* `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel ships
|
|
3
|
+
* its cross-compiled binary at `<stage_suffix>/<bin><ext>` (`.exe` on Windows)
|
|
4
|
+
* (#451, #282/#358): without it a build that failed to stage the binary still
|
|
5
|
+
* produces a wheel and goes green. Zip reads use `verify wheel`'s reader (#450).
|
|
22
6
|
*/
|
|
23
7
|
import { readFile } from 'node:fs/promises';
|
|
24
8
|
import { basename, isAbsolute, join, resolve } from 'node:path';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ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IACxE,4EAA4E;IAC5E,2EAA2E;IAC3E,4EAA4E;IAC5E,4EAA4E;IAC5E,yEAAyE;IACzE,uEAAuE;IACvE,0EAA0E;IAC1E,4EAA4E;IAC5E,2EAA2E;IAC3E,0DAA0D;IAC1D,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,MAAM,OAAO,GAAG,YAAY,CAAC,MAAM,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE;QAC3D,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,OAAO,IAAI,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC;IAC3C,CAAC,CAAC,KAAK,IAAI,CAAC;IAEZ,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,kBAAkB,IAAI,iCAAiC,MAAM,IAAI,CAClE,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC1C,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;YAC3B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,CAAC,CAAC;IACX,CAAC;IACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,kBAAkB,MAAM,eAAe,IAAI,IAAI,CAAC,CAAC;IACtE,OAAO,CAAC,CAAC;AACX,CAAC"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Read `[tool.maturin].python-source` (or the legacy `python_source`
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `.github/workflows/_matrix.yml`'s "bundle_cli — verify wheel contains …"
|
|
7
|
-
* step. maturin strips this directory from the wheel layout, so it is
|
|
8
|
-
* subtracted from the front of `stage_to` before the binary path is built
|
|
9
|
-
* (see `computeStageSuffix`). Missing file, missing table, or missing key
|
|
10
|
-
* all resolve to `""` — the same "unset ⇒ leave stage_suffix unchanged"
|
|
11
|
-
* behaviour as the bash. Both spellings are honoured because maturin has
|
|
12
|
-
* accepted either across releases. Normalization mirrors the bash: drop a
|
|
13
|
-
* single leading `./` and any trailing slashes.
|
|
2
|
+
* Read `[tool.maturin].python-source` (or the legacy `python_source`) from a
|
|
3
|
+
* package's `pyproject.toml`, normalized (#451). maturin strips this dir from
|
|
4
|
+
* the wheel layout, so it is subtracted from `stage_to`. Missing file, table or
|
|
5
|
+
* key all resolve to `""`; both spellings exist because maturin accepted either.
|
|
14
6
|
*/
|
|
15
7
|
export declare function readPythonSource(pkgDir: string): Promise<string>;
|
|
16
8
|
//# sourceMappingURL=read-python-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-python-source.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/read-python-source.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"read-python-source.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/read-python-source.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAUtE"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Read `[tool.maturin].python-source` (or the legacy `python_source`
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `.github/workflows/_matrix.yml`'s "bundle_cli — verify wheel contains …"
|
|
7
|
-
* step. maturin strips this directory from the wheel layout, so it is
|
|
8
|
-
* subtracted from the front of `stage_to` before the binary path is built
|
|
9
|
-
* (see `computeStageSuffix`). Missing file, missing table, or missing key
|
|
10
|
-
* all resolve to `""` — the same "unset ⇒ leave stage_suffix unchanged"
|
|
11
|
-
* behaviour as the bash. Both spellings are honoured because maturin has
|
|
12
|
-
* accepted either across releases. Normalization mirrors the bash: drop a
|
|
13
|
-
* single leading `./` and any trailing slashes.
|
|
2
|
+
* Read `[tool.maturin].python-source` (or the legacy `python_source`) from a
|
|
3
|
+
* package's `pyproject.toml`, normalized (#451). maturin strips this dir from
|
|
4
|
+
* the wheel layout, so it is subtracted from `stage_to`. Missing file, table or
|
|
5
|
+
* key all resolve to `""`; both spellings exist because maturin accepted either.
|
|
14
6
|
*/
|
|
15
7
|
import { readFile } from 'node:fs/promises';
|
|
16
8
|
import { join } from 'node:path';
|