Skip to content

Don't compare unexported fields when comparing subrepos#3223

Merged
chrisnovakovic merged 3 commits intothought-machine:masterfrom
chrisnovakovic:subrepo-comparison
Aug 15, 2024
Merged

Don't compare unexported fields when comparing subrepos#3223
chrisnovakovic merged 3 commits intothought-machine:masterfrom
chrisnovakovic:subrepo-comparison

Conversation

@chrisnovakovic
Copy link
Copy Markdown
Contributor

Two subrepos can be equal even if their unexported fs and fsSync fields differ. Exclude them when checking the equality of two subrepos.

Fixes #3222.

Two subrepos can be equal even if their unexported `fs` and `fsSync`
fields differ. Exclude them when checking the equality of two subrepos.

Fixes thought-machine#3222.
@chrisnovakovic chrisnovakovic merged commit 43efaf3 into thought-machine:master Aug 15, 2024
@chrisnovakovic chrisnovakovic deleted the subrepo-comparison branch August 15, 2024 08:33
chrisnovakovic added a commit to chrisnovakovic/go-rules that referenced this pull request Aug 15, 2024
This should fix a bug that is blocking the go-rules release pipeline
(see thought-machine/please#3223).
chrisnovakovic added a commit to chrisnovakovic/go-rules that referenced this pull request Aug 15, 2024
This should fix a bug that is blocking the go-rules release workflow
(see thought-machine/please#3223).
chrisnovakovic added a commit to please-build/go-rules that referenced this pull request Aug 15, 2024
This should fix a bug that is blocking the go-rules release workflow
(see thought-machine/please#3223).
@Tatskaari
Copy link
Copy Markdown
Contributor

Tatskaari commented Aug 19, 2024

Nice! I think this might have been the issue I was hitting when trying to cross compile recently. Thanks for this.

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.

"Found multiple definitions for subrepo <arch>" error when cross-compiling

3 participants