Skip to content

Corect lockfile generation - #78

Merged
pawelrutkaq merged 2 commits into
eclipse-score:mainfrom
qorix-group:pawelrutkaq_repin_lock
Oct 6, 2026
Merged

pawelrutkaq merged 2 commits into
eclipse-score:mainfrom
qorix-group:pawelrutkaq_repin_lock

Conversation

@pawelrutkaq

@pawelrutkaq pawelrutkaq commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The patch files need to "pretend" its path as external module to allow correct lock file generation.
Closes #75

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

The patch labels are hashed into the crate_universe digest in
Cargo.Bazel.lock. '//patches:...' renders differently when score_crates
is the root module and when it is a dependency, so one lockfile could
only match one of them. Hard-code the canonical label so the committed
Cargo.Bazel.lock is valid for root and for consumers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@pawelrutkaq pawelrutkaq changed the title Repin lockfile Corect lockfile generation Oct 6, 2026
@pawelrutkaq pawelrutkaq mentioned this pull request Oct 6, 2026
2 tasks
@pawelrutkaq

Copy link
Copy Markdown
Contributor Author

This is kind of workaround, to be revised with rules_rust 0.71+

Comment thread MODULE.bazel
crate.annotation(
crate = "iceoryx2-bb-derive-macros-qnx8",
patches = ["//patches:iceoryx2_bb_derive_macros_readme.patch"],
# The label is hard-coded to the canonical repo name on purpose: the patch labels are part of the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rewrite to humanese?
Canonical repo name must be used to ensure lockfile match.?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is right bazel nomenclature ;]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soft disagree, but won't block on that.

@pawelrutkaq
pawelrutkaq merged commit ee5f1a4 into eclipse-score:main Oct 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release 0.0.12 unusable

2 participants