Closed secustor closed 1 year ago
I think we should fully remove the languages and add a new tags option which can have multiple values.
This should also be matchable via package rules.
Maybe the term "category". I would like to remove language as a semantic concept including from package rules
In most cases it would be better replaced by datasource matching in package rules
We have too many managers under the other
category, and it's hard to read because its not styled like a list.
Until we rewrite the code to the new structure, could we at least make long items like this go in a list? Like this:
Supported Managers
...snip...
Other:
ansible-galaxy
argocd
azure-pipelines
- And so on
I'd want us to change the supported datasources section as well, so it looks like this:
Supported Datasources
Supported values for
datasource
are:
adoptium-java
artifactory
aws-machine-image
- And so on
tags
feature in Material for MkDocs???This might be relevant/helpful. If you sponsor Material for MkDocs, you get access to the tags
feature. Quote from feature page:
Material for MkDocs adds first-class support for categorizing pages with tags, which adds the possibility to group related pages and make them discoverable via search and a dedicated tags index. If your documentation is large, tags can help to discover relevant information faster.
I have not tried this feature, so I don't know if it would make things better for us. The Material for MkDocs, setting up tags documentation has some screenshots that you can look at.
I think to have option to give managers multiple categories is definitely useful. e.g. helmsman
and helmsfile
could have helm
as well as cd
.
In most cases it would be better replaced by datasource matching in package rules
I think there are enough use cases like ansible
and ansible-galaxy
where it not visible to the users which data sources they can expect.
I have an issue open to discuss making managers declare their supported datasources so that we can convert that to docs
I have an issue open to discuss making managers declare their supported datasources so that we can convert that to docs
@rarkins It sounds like you're thinking of this issue?
To summarize, the requirements are so far:
matchLanguage
should for package rules should be droppedProgrammingLanguage
should be rename into Category
Category
should be able to hold multiple valuesThe topic of long lists and MkDocs tags earns an own issue IMO.
@rarkins what's the best order to tackle these items?
I think more generally:
Dashboard is mostly sufficient, but I think sometimes content is "lost". For config warnings, we should make sure the message is sufficient.
I think we could also add a message to each PR which says something like ":warning: this repository has warnings. Please check the logs of Dependency Dashboard for details". This should draw more attention.
This should last for enough time so that people have the chance to see the warnings and change their config. We may want to give a guide to migrating from them in the docs.
Major bumps don't help repo users - only admins - so that's why we need (2) above to try to alert people first.
Back to the original point, our language-based grouping of managers in docs is not great. I think we could change the docs grouping - whether manually or automatically using categories - independently of the above languages deprecation.
- We need config warnings to be more visible
- We should deprecate languages
- We remove languages support in a major release
Implementation of categories:
:tada: This issue has been resolved in version 36.0.0 :tada:
The release is available on:
36.0.0
Your semantic-release bot :package::rocket:
Describe the proposed change(s).
The
other
category of the manager docs has become quite big.I propose following refactor to improve visibility for new users: