Select exact inventory revisions independently of catalog defaults #587

Open
erikinkinen wants to merge 1 commit from feature/explicit-inventory-source-revisions into feature/native-boot-offline-sources
Owner

Allow an authored source contract to select exact input revisions from its source map while retaining the original committed catalog defaults. This avoids requiring an Integration commit to contain its own identity in a catalog. Existing callers still require the catalog revisions.

Keep the complete role set, repository URLs, literal Git IDs and original catalog bytes strict. Rewritten catalog inputs and missing Git objects remain rejected. This changes source selection; it does not establish a complete production inventory or an offline build.

Depends on #581; relates to #65.

  • Add the explicit source-map policy with the strict catalog default.
  • Preserve original catalog bytes and exact source identities.
  • Cover genuine Git selections and refusal paths.
Allow an authored source contract to select exact input revisions from its source map while retaining the original committed catalog defaults. This avoids requiring an Integration commit to contain its own identity in a catalog. Existing callers still require the catalog revisions. Keep the complete role set, repository URLs, literal Git IDs and original catalog bytes strict. Rewritten catalog inputs and missing Git objects remain rejected. This changes source selection; it does not establish a complete production inventory or an offline build. Depends on #581; relates to #65. - [x] Add the explicit source-map policy with the strict catalog default. - [x] Preserve original catalog bytes and exact source identities. - [x] Cover genuine Git selections and refusal paths.
feat: Select exact inventory revisions from source maps
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 13s
CI / rust (push) Failing after 2m16s
Coreutils provider graph / coreutils (push) Successful in 4m9s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
c3959c3fdd
Keep committed catalog defaults intact while an authored policy selects exact original source revisions independently. Preserve complete role and repository identity, original catalog bytes and missing-object refusal, so Integration need not contain its own commit identity in a tracked catalog.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 07:46:37 +01:00
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 13s
CI / rust (push) Failing after 2m16s
Coreutils provider graph / coreutils (push) Successful in 4m9s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • docs/native-boot-matrix.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/explicit-inventory-source-revisions:feature/explicit-inventory-source-revisions'
git switch 'feature/explicit-inventory-source-revisions'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/native-boot-offline-sources'
git merge --no-ff 'feature/explicit-inventory-source-revisions'
git switch 'feature/explicit-inventory-source-revisions'
git rebase 'feature/native-boot-offline-sources'
git switch 'feature/native-boot-offline-sources'
git merge --ff-only 'feature/explicit-inventory-source-revisions'
git switch 'feature/explicit-inventory-source-revisions'
git rebase 'feature/native-boot-offline-sources'
git switch 'feature/native-boot-offline-sources'
git merge --no-ff 'feature/explicit-inventory-source-revisions'
git switch 'feature/native-boot-offline-sources'
git merge --squash 'feature/explicit-inventory-source-revisions'
git switch 'feature/native-boot-offline-sources'
git merge --ff-only 'feature/explicit-inventory-source-revisions'
git switch 'feature/native-boot-offline-sources'
git merge 'feature/explicit-inventory-source-revisions'
git push origin 'feature/native-boot-offline-sources'
Sign in to join this conversation.
No description provided.