Gem updates for rmt3 - #1538
Open
mssola wants to merge 7 commits into
Open
Conversation
As raised by Fergal in #1477, this is not a trivial update, but testing this locally it seems fine. We can always revert this commit if things go south. Moreover, the puma version has been pinned to use the 8.x releases, so to ensure that no future major changes are suggested by tools like depfu without human consideration. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
The mysql2 gem is fundamental to the proper behavior of RMT, so it's a good idea to pin it down. Note that sqlite3 has not been pinned down as it's still considered an experimental feature for RMT. Also pin down nokogiri, as it's prone to difficult upgrades. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
A bunch of minor gems have been upgraded to their latest patch-level/minor candidates. No regressions have been discovered because of this. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
While upgrading rubocop in commit a2061f7 ("General upgrade of minor gems"), some minor style issues were detected. This was mainly about the new Rails/ResponseParsedBody rule, but there was also an issue on strong parameters. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Contributor
Author
Contributor
Collaborator
|
I think that feature test failure is a false positive; the regexp check being used to test for the restricted file system paths will erroneously match any path ending in /etc or /var/lib, not just the /etc or /var/lib paths. To demonstrate, using a downloaded rmt-server-3.0.0 package from the 16.1 stream and checking for a path Adding a requirement to the regexp to match a whitespace before the target path yields the following: We also aren't using any extended regexp features, so we don't need the A change like the following should fix it: |
Collaborator
|
I've proposed #1543 with the suggested CI fix. |
Collaborator
|
#1543 has resolved the feature test RPM validation issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reacting to #1520 and #1535, I've done a general cleanup of gems for the RMT3 branch. I've separated things into commits, so for a better review go commit by commit instead of checking out the general diff. To highlight:
How to test
bundle exec railsand stuff. Everything should work as before.Related PRs
Closes #1477
Closes #1520
Closes #1535