Default the homepage in the packaging metadata if not otherwise declared by the package#754
Default the homepage in the packaging metadata if not otherwise declared by the package#754
Conversation
…red by the package.
|
This pull request has been mentioned on Open Robotics Discourse. There might be relevant details there: https://discourse.openrobotics.org/t/how-do-you-access-changelogs-for-ros-2-releases/50530/2 |
| @@ -326,9 +326,9 @@ def generate_substitutions_from_package( | |||
| data['Description'] = format_description(package.description) | |||
| # Websites | |||
| websites = [str(url) for url in package.urls if url.type == 'website'] | |||
There was a problem hiding this comment.
Personally I would rather visit any other websites in the package.xml than the distro index.
I personally would go for:
- website
- source
- doc
- fallback to index
The source or the docs gives me more insight in the package than the index.
There was a problem hiding this comment.
Why not the index? It contains all the other links you're mentioning (or it should).
There was a problem hiding this comment.
If the index contains all urls from the package.xml that could work as well
There was a problem hiding this comment.
As well as the link to the source in the Repository summary, the Doc in the API Docs right side menu. As well as Browse Source with the package specific path into the repository.
It lists any provided urls in the "Additional Links" section
ex: https://index.ros.org/p/depthai/#kilted

The goal is to have one central clearing hub with all the info.
Co-authored-by: Martin Pecka <peci1@seznam.cz>
Co-authored-by: Scott K Logan <logans@cottsay.net>
An alternative or complement to ros-infrastructure/reprepro-updater#240