-
Notifications
You must be signed in to change notification settings - Fork 45
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
Move ZypperAuth.verify_instance to InstanceVerification engine #1149
base: master
Are you sure you want to change the base?
Conversation
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.
I have no idea what is happening now, there appears to be thrashing, maybe based on confusion. There are a lot of inconsistencies, going to stop review until we have a chance to sort out what's going on.
) | ||
if File.exist?(cache_path) | ||
# only update registry cache key | ||
InstanceVerification.update_cache(request.remote_ip, system.login, nil, is_byos: system.proxy_byos, registry: 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.
The is_byos
key was removed with ccb4e6e ???
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.
The PR was created without the removal of BYOS changes in place
I have merged master branch into this branch so the removal of BYOS param is in place
false | ||
end | ||
|
||
def self.build_cache_key(remote_ip, login, base_product_id: nil) |
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 seems more complicated than it needs to be. Is there any reason something simpler couldn't be used, since there's no check on the assigned values anyway?
def self.build_cache_key(*args)
args.compact.join('-')
end
Given that this is not a functionality change and more of a code cleanliness item let's make sure this does not get merged until after 2.17 is cut. We agreed 2.17 testing will start tomorrow and we do not want to interfere with the agreed upon timeline by merging more changes that force testing to start over. |
I will come back for review after 2.17 is done. |
Description
Move the instance verification check to the InstanceVerification engine
Change Type
Please select the correct option.
Checklist
Please check off each item if the requirement is met.
rubocop
.MANUAL.md
file with any changes to the user experience.package/obs/rmt-server.changes
.Other Notes
Please use this space to provide notes or thoughts to the team, such as tips on how to review/demo your changes.