-
Notifications
You must be signed in to change notification settings - Fork 670
feat: add Project CI Lint support #1896
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
Conversation
06a7021
to
a8457f3
Compare
a8457f3
to
f90cde9
Compare
Codecov Report
@@ Coverage Diff @@
## main #1896 +/- ##
=======================================
Coverage 95.34% 95.35%
=======================================
Files 78 78
Lines 5092 5101 +9
=======================================
+ Hits 4855 4864 +9
Misses 237 237
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Huh, this is an odd situation as we have POST and GET to the same endpoint doing almost the same thing, plus the POST on the instance level (https://github.com/python-gitlab/python-gitlab/blob/main/gitlab/client.py#L374-L393). I would expect just POST without |
I'm not sure my approach is the best way to do this, thus why it is in draft status. It did work though in my testing as I had a request to do this at my work. I'll get back to it after my other PRs get merged or rejected 😁 |
f90cde9
to
3e8562d
Compare
Hello! I hope this PR could be merged, thanks for the work :) To add my two cents,
|
Thanks for getting in touch @GabDug! The discussion I think was mostly about the fact that if we follow our normal Mixin patterns, we will end up with both Edit: but now that I look at it again, I guess it's not that bad. |
3e8562d
to
569de2a
Compare
bf2fa02
to
d53aeb4
Compare
d53aeb4
to
fa94e0b
Compare
fa94e0b
to
cd58d0c
Compare
Add support for validating a project's CI configuration [1] [1] https://docs.gitlab.com/ee/api/lint.html
cd58d0c
to
b213dd3
Compare
Add support for validating a project's CI configuration [1]
[1] https://docs.gitlab.com/ee/api/lint.html