ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to mimic package versioning from released APT repos / Build Farm

asked 2021-06-10 17:01:10 -0500

Thiago Martins gravatar image

updated 2021-06-22 13:17:12 -0500

Hey guys,

Currently, for Xenial/Kinetic, the packages at ROS' APT repository contain the following versioning scheme:

ros-kinetic-roslisp 1.9.23-1xenial-20210503-101842-0800

How to make this 1.9.23-1xenial-20210503-101842-0800?

I'm trying bloom-generate like this:

bloom-generate rosdebian --os-name ubuntu --os-version xenial --ros-distro kinetic -i "20210503-101842-0800"

But it ends up like this: 3.2.0-20210503-101842-0800xenial

My end goal is to append a date, like 20210521 and part of the git commit hash, without breaking apt upgrade and with a good look and feel.

Also, on Focal, the versioning is a bit different, for example:

ros-noetic-roslisp 1.9.24-1focal.20210423.225227

Which I also don't know how to mimic...

Any idea?!

Cheers!

edit retag flag offensive close merge delete

Comments

2

@Thiago Martins: could I please ask you to stop bumping your question? Your last 4 edits haven't made any substantial changes, which seems to suggest you made them to get your question at the top of the list.

If no-one has answered, it's likely they don't know the answer.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-22 14:00:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-20 17:29:58 -0500

Appending the timestamp to the .deb version doesn't happen in bloom, and it actually doesn't happen during generation of the source deb files either. It happens during the binary package build after the source package has been downloaded and is about to be built.

You can use a debchange command to do it manually to mimic the buildfarm process.

The -i argument to bloom-generate should only be the number at the beginning of the release portion of the version number - right before xenial in your example, so 1 in this case.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-06-10 17:01:10 -0500

Seen: 84 times

Last updated: Sep 20 '21