| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Maybe @JohnVillalovos you want to have a look at the typing here as well, I always forget decorators and have to google the wrap functions every time I work with them 🤣 |
Sorry, something went wrong.
From my initial look it seems correct. Also mypy is checking that gitlab/cli.py file, so seems good. Looks Good To Me (LGTM) 👍 Thanks! |
Sorry, something went wrong.
|
We're most likely gonna go to 3.0.0 directly, because of this breaking change: #1278. Maybe have those two in one release would be nice 😄 |
Sorry, something went wrong.
|
👍 on this. I seem to be hitting a limitation/bug of pipelines() #1312 (comment) and in another issue that I will not bother mentioning. Any chance this could be integrated soon? |
Sorry, something went wrong.
|
@nejch Sorry for making you wait for long that everything conflicts. I just see like 15 notifications everyday from this project. You people are crazy 😄 Would you mind to rebase? |
Sorry, something went wrong.
There was a problem hiding this comment.
Overall looks good to me. Left one thing I think should be fixed.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks. This looks good.
I'll let you merge it or if you want to wait for @max-wittig to review. Your choice.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #1312.
Closes #1239.
todo: technically this breaks the CLI gitlab project-merge-request pipelines and requires project-merge-request-pipelines list instead. I'll see if I can hack the register_custom_action decorator to accept custom action names, not just the current method name. I had to remove it as there would be a namespace clash between the old method and the new manager.
Well, I've managed to hack register_custom_action a little so it takes an optional custom_action argument to override the current function name as the CLI action, so should be backwards compatible, but then realized the old method probably never worked in CLI due to missing CLI args 🤦
Still, now you can do (until 3.0.0 or so, but probably useless anyway):
And the new list, with proper help and args:
gitlab project-merge-request-pipeline list --help usage: gitlab merge-request-pipeline list [-h] [--sudo SUDO] --project-id PROJECT_ID --mr-iid MR_IID [--page PAGE] [--per-page PER_PAGE] [--all] optional arguments: -h, --help show this help message and exit --sudo SUDO --project-id PROJECT_ID --mr-iid MR_IID --page PAGE --per-page PER_PAGE --all