Skip to content

chore: remove flavor-related sanity checks#245

Merged
doudou merged 2 commits into
masterfrom
remove_flavor_sanity_checks
Nov 13, 2024
Merged

chore: remove flavor-related sanity checks#245
doudou merged 2 commits into
masterfrom
remove_flavor_sanity_checks

Conversation

@doudou

@doudou doudou commented Nov 11, 2024

Copy link
Copy Markdown
Member

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

@planthaber

Copy link
Copy Markdown
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

Comment thread overrides.rb
@doudou

doudou commented Nov 12, 2024

Copy link
Copy Markdown
Member Author

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.

@pierrewillenbrockdfki pierrewillenbrockdfki left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

planthaber commented Nov 12, 2024

Copy link
Copy Markdown
Member

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

@doudou

doudou commented Nov 13, 2024

Copy link
Copy Markdown
Member Author

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