Skip to content

Default the homepage in the packaging metadata if not otherwise declared by the package#754

Merged
tfoote merged 3 commits intomasterfrom
default_homepage
Jan 16, 2026
Merged

Default the homepage in the packaging metadata if not otherwise declared by the package#754
tfoote merged 3 commits intomasterfrom
default_homepage

Conversation

@tfoote
Copy link
Member

@tfoote tfoote commented Oct 14, 2025

An alternative or complement to ros-infrastructure/reprepro-updater#240

@tfoote tfoote changed the title Default the homepage in the packaging metadata if not otherwise declared by the ackage Default the homepage in the packaging metadata if not otherwise declared by the package Oct 14, 2025
@ros-discourse
Copy link

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']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not the index? It contains all the other links you're mentioning (or it should).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the index contains all urls from the package.xml that could work as well

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
image

The goal is to have one central clearing hub with all the info.

Co-authored-by: Martin Pecka <peci1@seznam.cz>
@tfoote tfoote requested a review from cottsay January 16, 2026 04:13
Co-authored-by: Scott K Logan <logans@cottsay.net>
@tfoote tfoote requested a review from cottsay January 16, 2026 19:57
@tfoote tfoote merged commit 7855f00 into master Jan 16, 2026
16 checks passed
@tfoote tfoote deleted the default_homepage branch January 16, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants