-
Notifications
You must be signed in to change notification settings - Fork 329
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
A "Deprecated" flag and other visual cues #1008
Comments
Does the idea of deprecated apply at a Collection (i.e. Repository) level, or down at the content item level? Can a user only deprecate something through the UI, or are there corresponding deprecated attributes that should be added to metadata? This has implications for the Galaxy CLI, Mazer, as well. If a user tries to install a deprecated content item or Collection, then Mazer should throw a deprecation warning. |
Start with the simplest thing and see what happens -- that seems like the whole collection/repo.
I think no. Too much replication. I think it wise to give the galaxy admin the ability to deprecate something like a role has a zero quality score and has been update in 3 years and we want to start cleaning up we can mark it deprecated.
Agreed. How that is done seems like an implementation detail. |
Summarizing the above comments to a list of tasks...
|
For deprecated repos/content, will the repository lookup api mazer uses (api/v1/repositories/?name=ansible_testing_content&provider_namespace__namespace__name=testing for ex) will deprecated repos be found? I would propose the API above (api/v1/repositories/ ) should continue to find deprecated repos, but the eventual 'search' command or other 'browsing' apis should not find them. On the theory that if I 'mazer install somenamespace.some_deprecated_repo' that should continue to work. I don't think that behavior is a change or a difference from the requirements in this issue. But I wanted to confirm that api/v1/repositories/ would not have deprecated repos filtered out. |
For repos that get marked as deprecated, will there be anything to indicate which repo (if any) supercedes the now deprecated repos. ie, is there a link between deprecated repos and the repos that potentially supercede it? |
Feature Request
Use Case
The ability to label a piece of contributed content that it should not be used going forward for any number of reasons. Rather than remove it from galaxy the contributor (or perhaps Galaxy admin) can flag it as deprecated so those who really want it can still get it and new consumers can be advised to look elsewhere.
Proposed Solution
A simple clear marker on listings along with a search filter (deprecated entries should not be displayed by default) and perhaps "greying out" those search results if they are included as an additional visual cue.
https://forge.puppet.com/rmueller/cron
https://forge.puppet.com/rmueller (note cron listing)
Alternatives
N/A
Implementation
Covered in the explanation above.
The text was updated successfully, but these errors were encountered: