WIP: Don't add yarn repository when requested in app manifest #1945
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Apparently with the new helpers declaring an extra repository for Yarn doesn't work. At least on the CI, and on my own bookworm server, it appears that yarn repository is already configured in
/etc/apt/sources.list.d/yarn.list
.I'm not sure if this is by default or if it was installed at some point, for example via
ynh-dev
. If it's not supposed to be installed by default, i could add a check whether/etc/apt/sources.list.d/yarn.list
already exists.