GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — feat(api): default to gitlab.com if no URL given by nejch · Pull Request #1278 · python-gitlab/python-gitlab Conversation
Member
The github CLI (
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
bufferoverflow
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. great idea!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
nejch
commented
Uh oh!
There was an error while loading. Please reload this page.
nejch
force-pushed
the
feat/default-url
branch
from
019c2d9 to
2edd69c
Compare
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
nejch
marked this pull request as ready for review
max-wittig
approved these changes
Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
If you do decide to make a breaking change I wonder if requiring kwargs would be a good idea? And okay if people think it is a terrible idea 🙂 Just thought I would mention it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@JohnVillalovos Not sure what you mean by |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sure. So by using the Allowed: Not allowed: It is a breaking change for sure to do that. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@JohnVillalovos I'm not so sure. I'm not really a fan of this change. This would really break everything. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
No worries. As a note you can put the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
7bc388c to
edfb416
Compare
BREAKING CHANGE: python-gitlab will now default to gitlab.com if no URL is given
edfb416 to
8677756
Compare
I agree with Max I've seen a lot of use of this in tiny scripts, and there people probably want to use quick one-liners without kwargs just to instantiate |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@JohnVillalovos while resolving conflicts I consolidated the URL redirect warnings as I saw they were in 3 places, in case you'd like to have 1 final look, but this should also be ready now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.