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

Reduce settings needed for every release #330

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Dec 18, 2023

This explicitly requires FULLVERSION to be set when needed. This allows them to be dropped from client and pulpcore settings.

It also automatically sets it for FOREMAN_VERSION, not in every single settings file.

This explicitly requires it to be set when needed. This allows some
things to be simplified.
Client always matches Foreman's version.
@ekohl ekohl marked this pull request as draft December 18, 2023 20:41
@ekohl
Copy link
Member Author

ekohl commented Dec 18, 2023

Untested for now, so a draft.

@ehelms is FULLVERSION needed to be set for Candlepin, or can it be dropped like Pulpcore?

@ehelms
Copy link
Member

ehelms commented Dec 19, 2023

Untested for now, so a draft.

@ehelms is FULLVERSION needed to be set for Candlepin, or can it be dropped like Pulpcore?

Let's assume dropable for now.

Copy link
Member

@ehelms ehelms left a comment

Choose a reason for hiding this comment

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

Looks sane to me.

@ehelms
Copy link
Member

ehelms commented Jan 16, 2024

@ekohl I'd love for you to revisit this so I can finish off the Copr work and align our use of scripts in CI and locally.

@ekohl ekohl marked this pull request as ready for review January 17, 2024 11:21
@ekohl
Copy link
Member Author

ekohl commented Jan 17, 2024

@evgeni mind giving this a sanity check?

Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

I did not check if there are other scripts that expect $FULLVERSION and didn't get the require_fullversion treatment, but the diff here in the PR looks sane to me!

@ekohl ekohl merged commit d7157c8 into theforeman:master Jan 17, 2024
3 checks passed
@ekohl ekohl deleted the optional-fullversion branch January 17, 2024 11:50
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.

3 participants