Title: feat(api): add merge request pipeline manager and deprecate mr.pipelines() method by nejch · Pull Request #1323 · python-gitlab/python-gitlab · GitHub
Open Graph Title: feat(api): add merge request pipeline manager and deprecate mr.pipelines() method by nejch · Pull Request #1323 · python-gitlab/python-gitlab
X Title: feat(api): add merge request pipeline manager and deprecate mr.pipelines() method by nejch · Pull Request #1323 · python-gitlab/python-gitlab
Description: 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): gitlab project-merge-request pipelines --help usage: gitlab project-merge-request pipelines [-h] --project-id PROJECT_ID [--sudo SUDO] --iid IID optional arguments: -h, --help show this help message and exit --project-id PROJECT_ID --sudo SUDO --iid IID 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
Open Graph Description: 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 re...
X Description: 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 th...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/1323
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2d221971-7a3d-4538-afa2-1021e30892e3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C338:DF47A:1115791:166EB10:69742A7D |
| html-safe-nonce | 9c853ffae11071c74e32293e15047ea35e2c3520a3977b0ac0ae83dfb86b5679 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzM4OkRGNDdBOjExMTU3OTE6MTY2RUIxMDo2OTc0MkE3RCIsInZpc2l0b3JfaWQiOiIzMzcwODc0NDk1Mjc3NzM4NjIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ef2a93ce21e6eb390d94ad36187bb78dd702fe8778cc798038b5eeb178d8895 |
| hovercard-subject-tag | pull_request:578832309 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/pull/1323/files |
| twitter:image | https://avatars.githubusercontent.com/u/16777978?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16777978?s=400&v=4 |
| og:image:alt | 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 re... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0c542b740cf8c6c6deff23a0eeffd05a0e8bd35565559ca5ec1535bcbb67e5c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4e27a77ef0bf22cd9328967ddc1e1c3dfa6ffe51 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width