Skip to content

source.py: Fix mirror usage in subprojects#2112

Merged
abderrahim merged 2 commits intomasterfrom
jbilleter/mirrors
Apr 18, 2026
Merged

source.py: Fix mirror usage in subprojects#2112
abderrahim merged 2 commits intomasterfrom
jbilleter/mirrors

Conversation

@juergbi
Copy link
Copy Markdown
Contributor

@juergbi juergbi commented Apr 17, 2026

Don't skip source cloning if there are no mirrors configured in the element's project. With alias mapping, the mirror configuration of the parent project matters.

For fetch(), this bug only affected source plugins that don't use SourceFetcher objects. For track(), all source plugins were affected.

Fixes #2110.

juergbi added 2 commits April 17, 2026 16:19
Don't skip source cloning if there are no mirrors configured in the
element's project. With alias mapping, the mirror configuration of the
parent project matters.

For `fetch()`, this bug only affected source plugins that don't use
`SourceFetcher` objects. For `track()`, all source plugins were
affected.

Fixes #2110.
@juergbi juergbi marked this pull request as ready for review April 17, 2026 15:26
Copy link
Copy Markdown
Contributor

@gtristan gtristan left a comment

Choose a reason for hiding this comment

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

Good spot !

@abderrahim abderrahim merged commit 16e4533 into master Apr 18, 2026
18 checks passed
@abderrahim abderrahim deleted the jbilleter/mirrors branch April 18, 2026 20:20
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.

Buildstream Mirroring Bug

3 participants