Skip to content

Allow specifying the path when adding a repository#16

Open
mickael-carl wants to merge 1 commit intoarduino:masterfrom
mickael-carl:mcarl/add-repository-path
Open

Allow specifying the path when adding a repository#16
mickael-carl wants to merge 1 commit intoarduino:masterfrom
mickael-carl:mcarl/add-repository-path

Conversation

@mickael-carl
Copy link
Copy Markdown

There's many cases where adding repositories inconditionally to sources.list.d/managed.list is not ideal: it's very common to add an entry per file, ideally named after the repository to add. Configuration management tools for instance follow that pattern. It's also more consistent with other operations not enforcing having a single file for all entries.

Note that while this is a breaking change in the API, I haven't noticed any release of this repository so far, which I take to mean that having such breaking change is alright. If not, I can introduce a new function instead.

There's many cases where adding repositories inconditionally to
`sources.list.d/managed.list` is not ideal: it's very common to add an
entry per file, ideally named after the repository to add. Configuration
management tools for instance follow that pattern. It's also more
consistent with other operations not enforcing having a single file for
all entries.
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@arduino arduino deleted a comment from CLAassistant Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants