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

Support mods which conflict with themselves (yes, really) #110

Closed
pjf opened this issue Oct 21, 2014 · 1 comment
Closed

Support mods which conflict with themselves (yes, really) #110

pjf opened this issue Oct 21, 2014 · 1 comment
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality Spec Issues affecting the spec

Comments

@pjf
Copy link
Member

pjf commented Oct 21, 2014

A common use of provides is to indicate that some functionality (such as Life Support) is provided by the mod in question. Very often, that mod should be the only mod providing that functionality.

Rather than mods exhaustively listing other mods they conflict with, Debian policy allows for a package to conflict with itself, especially when that apparent conflict is done via provides.

This means we can have:

  • TACLS provides LifeSupport conflicts with LifeSupport
  • ECLSS provides LifeSupport conflicts with LifeSupport
  • Snacks provides LifeSupport conflicts with LifeSupport

In this case, all these mods are mutually exclusive. If a new author comes along with a life-support mod, they merely need to declare that it provides LifeSupport (and conflicts with the same), and no other mod definitions need to be updated.

This is also important for the support of virtual packages, which may not provide any files themselves, but which provide relationships with other modules.

@pjf pjf added Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality and removed Core (ckan.dll) Issues affecting the core part of CKAN labels Oct 21, 2014
@pjf pjf added ★★☆ Spec Issues affecting the spec labels Oct 21, 2014
@pjf pjf added this to the v1.00 - Usable Release milestone Oct 26, 2014
@pjf pjf added ★★★ and removed ★★☆ labels Oct 27, 2014
@pjf
Copy link
Member Author

pjf commented Nov 3, 2014

As of #244 we're doing this. Closing.

@pjf pjf closed this as completed Nov 3, 2014
@pjf pjf removed the ★★★ label Nov 3, 2014
RichardLake pushed a commit to RichardLake/CKAN that referenced this issue May 30, 2015
Change string Compare to CompareOrdinal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality Spec Issues affecting the spec
Projects
None yet
Development

No branches or pull requests

1 participant