-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added SLE15-SP5 targets, newer Rubocop #37
Conversation
lslezak
commented
Apr 8, 2022
- Originally I just wanted to fix failing GitHub Actions caused by using an obsolete Ruby version (Factory moved from 2.7 to 3.1 quite some time ago)
- But the old Rubocop is not compatible with Ruby 3.1 so we need to upgrade to a newer one...
- Also some data in the *.gemspec were obsolete (email, URL)...
- And when touching this we could also update the OBS targets...
Use the %{rb_default_ruby_abi} RPM macro
- Added SLE15-SP5 target, "sle_latest" moved to SLE15-SP5 - Related to bsc#1198109
spec.add_runtime_dependency("rake", "> 10.0", "< 99") | ||
# enable MFA (2FA) authentication at rubygems.org | ||
# see https://guides.rubygems.org/mfa-requirement-opt-in/ | ||
spec.metadata["rubygems_mfa_required"] = "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was automatically added by Rubocop, but IMHO it makes sense. See https://guides.rubygems.org/mfa-requirement-opt-in/ for more details.
Personally I have enabled MFA. @jreidinger @mvidner @imobachgs, what about you? Is this change OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, I would have to enable it, but not critical for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is OK for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I haven't tried this option yet. Can we lock ourselves out if the other maintainers haven't either? 🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You cannot lock out yourselves, if you do not use MFA then just enable it and then you can do whatever you need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine for me