Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RHEL to the default action list #604

Merged
merged 1 commit into from
Sep 28, 2020
Merged

Add RHEL to the default action list #604

merged 1 commit into from
Sep 28, 2020

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 22, 2020

The default distribution for the RPM generator is Fedora. Since we're going to start generating RPMs for RHEL/CentOS, we need to update the template to perform generation for that platform specifically.

The default distribution for the RPM generator is Fedora. Since we're
going to start generating RPMs for RHEL/CentOS, we need to update the
template to perform generation for that platform specifically.
Copy link
Contributor

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

Change lgtm, but I didn't try it out locally.

This will only apply to new tracks being created, so it would not affect most rolling releases already made, for instance.

@cottsay
Copy link
Member Author

cottsay commented Sep 24, 2020

This will only apply to new tracks being created, so it would not affect most rolling releases already made, for instance.

I think that every package will get a new prompt about how their action list is different from the default, and ask if the action list should be updated to the default. This will be true of ALL packages using bloom, not just ROS 2.

@wjwwood
Copy link
Contributor

wjwwood commented Sep 24, 2020

Oh yeah, I forgot about that feature 🙃.

@cottsay
Copy link
Member Author

cottsay commented Sep 24, 2020

Oh yeah, I forgot about that feature 🙃.

I wish there was a gentler way to do this, but the only alternative I see would be to change the default for the RPM generator from Fedora to RHEL. With buildfarm support for RPMs basically done, it isn't unreasonable to think that we could target Fedora in the future, so I don't think that's a good route.

A fair number of packages will get the updated template as I bloom them for Eloquent, so I can just update the other tracks while I'm at it. There isn't much I can do about community-maintained packages, though.

@nuclearsandwich
Copy link
Contributor

We don't have a bloom track for ROS discourse but it might be worth announcing this change in the general Packaging and Release Management category.

Comment on lines +207 to +209
' :{ros_distro} -i :{release_inc} --os-name fedora',
'git-bloom-generate -y rosrpm --prefix release/:{ros_distro}'
' :{ros_distro} -i :{release_inc} --os-name rhel',
Copy link
Contributor

Choose a reason for hiding this comment

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

@cottsay have you considered whether we should use the --os-not-required option in the default actions for fedora or rhel as we do for debian above?

Copy link
Member Author

Choose a reason for hiding this comment

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

That option is only for the Debian generator: https://github.com/ros-infrastructure/bloom/search?q=os_not_required

The RPM generator always acts as if --os-not-required was specified.

@ros-discourse
Copy link

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/rhel-coming-to-bloom-action-template/16582/1

@cottsay cottsay merged commit 675af62 into master Sep 28, 2020
@cottsay cottsay deleted the rhel_generator branch September 28, 2020 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants