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

chore: remove flavor-related sanity checks #245

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

doudou
Copy link
Member

@doudou doudou commented Nov 11, 2024

I don't have the time to remove it completely, but that part is safe enough.

@planthaber
Copy link
Member

Is the idea to remove flavors completely?

Then I'd also remove the configuration option, and add deprecation warnings to the functions (with instructions to set the ROCK_SELECTED_FLAVOR manually, if required)

https://github.com/rock-core/package_set/blob/master/init.rb#L61-L142

@doudou
Copy link
Member Author

doudou commented Nov 12, 2024

Is the idea to remove flavors completely?

Rather obviously, since 'stable' is pre-2016 I think ... or even earlier.

Then I'd also remove the configuration option, and add deprecation warnings to the functions (with instructions to set the ROCK_SELECTED_FLAVOR manually, if required)

https://github.com/rock-core/package_set/blob/master/init.rb#L61-L142

As I said. I don't have time to do the whole removal. If you volunteer, be my guest.

Copy link
Contributor

@pierrewillenbrockdfki pierrewillenbrockdfki left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@planthaber
Copy link
Member

Do we actually need deprecation?

I think we could also just remove the functionality, as it wasn't used for a long time.

@planthaber
Copy link
Member

planthaber commented Nov 12, 2024

Created a PR to this branch to also remove leftover stuff: #246

@doudou
Copy link
Member Author

doudou commented Nov 13, 2024

Do we actually need deprecation?

I think we could also just remove the functionality, as it wasn't used for a long time.

Agreed. I did not add deprecations...

@doudou doudou merged commit 1f0789a into master Nov 13, 2024
@doudou doudou deleted the remove_flavor_sanity_checks branch November 13, 2024 23:40
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.

4 participants