-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Updates to provide compatibility with Fog 2.4.0, take 2 #49
base: master
Are you sure you want to change the base?
Conversation
@geemus new pull req, I cancelled the prev on accident. |
K , thanks. I have some travel presently, but will try to get to it week after next. |
FWIW, the way I've usually done renames in stuff has been to still support the old name, but when you use it there is a deprecation warning that then passes things along to the new version. So basically aliasing but a bit noisier. Not saying we have to do that here, but thought I would share it as a data point at least. That being said, it's a lot easier to do this with methods than classes. Not sure if there is a particularly nice/clean way to proceed or if it's more trouble than it's worth (it's also been a while since I worked on one of these conversions myself, so my memory is a little fuzzy). |
I'll work on a review of what's here, but could you maybe rebase this when you get a chance? I think that should bring in the github actions/ci config so that we can get the test run and see the load balancer or other issues. |
Thanks again for taking this on, I know from experience how tedious it can be to get through these renames. I was finally able to find some time to review everything and it's looking good so far. I think it's probably good to have the aliases like you do at least for the time being for backwards compatibility, it might be slightly nicer to have those classes actually warn and then handoff like I mentioned (I guess you could do it on initialize probably). What do you think? Hopefully if we rebase the CI will run and then that can hopefully give us something to dig into around the load balancer stuff (though it looks like master/main CI is failing already anyway, so maybe it's a broader issues anyway). |
This pr is current on fog-rackspace:master, not sure why it isn't kicking in. |
Oops, sorry about that then. Let me try to close/reopen, sometimes that does it. |
Ok, so that does appear to have kicked off the tests again. Unfortunately I think they are broken on main as well as this branch, which makes things harder certainly. @vicomte Could you help point me to the particular LoadBalancer related breakage you were referring to so we can maybe try to sort that out at least? |
The get_stats_test looks like something upstream changed what it is expecting. I looked at it briefly, but wasn't sure if changing this arg to just pass the attr hash was the correct action.
|
Ooops, crunched my own PR #48 . Trying again.
Remaining Issues: