Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moss: Add the ability to deprecate and replace recipes/.stones #318

Open
ermo opened this issue Aug 14, 2024 · 1 comment
Open

moss: Add the ability to deprecate and replace recipes/.stones #318

ermo opened this issue Aug 14, 2024 · 1 comment
Labels
type: bug Something isn't working. type: feature A new functionality to implement.

Comments

@ermo
Copy link
Member

ermo commented Aug 14, 2024

It is currently possible to install golang-1.20.3 and golang-devel-1.20 next to each other, because golang-devel is still available in the volatile repository.

moss will currently complain vociferously about file conflicts, but will not refuse to install golang-devel next to golang.

This needs a solution.

Will likely need to build on #39

@ermo ermo added type: bug Something isn't working. type: feature A new functionality to implement. labels Aug 14, 2024
@ermo ermo added this to the zz -- deferred milestone Aug 14, 2024
@ikeycode
Copy link
Member

The current thoughts for replaces would be to rely on abusing the providers system, such that a yaml could do the following..

packages:
    - "%(name)":
        provides:
            - name(golang-devel)

Worth pointing out that "obsoletes" is invariably a hint in an indexing mechanism to occlude a name from emission, so would appear to be a vessel problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working. type: feature A new functionality to implement.
Projects
Development

No branches or pull requests

2 participants