Skip to content

Allow a later source option to override an earlier one - #217

Merged
mauritsvanrees merged 2 commits into
fschulze:masterfrom
janjaapdriessen:master
Aug 20, 2026
Merged

Allow a later source option to override an earlier one#217
mauritsvanrees merged 2 commits into
fschulze:masterfrom
janjaapdriessen:master

Conversation

@janjaapdriessen

Copy link
Copy Markdown
Contributor

A duplicate key in a [sources] entry used to raise "Key '...' already in source info."; now the later value wins, so a buildout += addition can refine a value from a shared or extended source definition, e.g. foo += branch=my-feature overriding a branch set upstream.

janjaapdriessen and others added 2 commits July 3, 2026 13:50
A duplicate key in a ``[sources]`` entry used to raise
"Key '...' already in source info."; now the later value wins, so a buildout
``+=`` addition can refine a value from a shared or extended source
definition, e.g. ``foo += branch=my-feature`` overriding a ``branch`` set
upstream.

Fixes #125

@mauritsvanrees mauritsvanrees left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I like it!

@mauritsvanrees
mauritsvanrees merged commit a014e3c into fschulze:master Aug 20, 2026
5 checks passed
@mauritsvanrees

Copy link
Copy Markdown
Collaborator

I have released this today in 2.1.0.

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.

2 participants