Skip to content

Conversation

@tfoote
Copy link
Member

@tfoote tfoote commented Oct 14, 2025

Link to index.ros.org if homepage link unset for package announcements.

return "[%s](%s)" % (package, package_file[package]['Homepage'])
else:
return package
return "[%s](https://index.ros.org/p/%s/#%s)" % (package, package, rosdistro)
Copy link
Member

@christophebedard christophebedard Oct 14, 2025

Choose a reason for hiding this comment

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

Is package here $pkg_name or ros-$distro-$pkg_name?

Based on a typical output we use (example from a recent Jazzy sync announcement), this should be ros-$distro-${pkg-name}.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, you're right.

I was making ros-infrastructure/bloom#754 as a complement to get the info into more places, but maybe that would just be a better replacement going further upstream.

@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

@peci1
Copy link

peci1 commented Oct 14, 2025

Thanks for the quick action!

My particular use-case mentioned on Discourse would prefer to add an index.ros.org link to all packages, even to those with a specified homepage. That would complicate the announcement a bit, but it would provide both the index link and the package.xml homepage if specified.

E.g., currently, the announcement is:

What I propose (but I don't require the actual format):

@Timple
Copy link

Timple commented Oct 15, 2025

That is not a bad suggestion.

But for the first link, please consider other urls as well. Like proposed here: https://github.com/ros-infrastructure/bloom/pull/754/files#r2430814704
(Linking to keep the discussion in one place)

@peci1
Copy link

peci1 commented Oct 15, 2025

Right, if the index link is there in all cases, then it would make sense to default the first link to something else, e.g. the source repo. The question is whether such information is available in reprepro...

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.

6 participants