Add capability to control GitLab features per project or group by filipowm · Pull Request #1008 · python-gitlab/python-gitlab
Repository navigation
Add capability to control GitLab features per project or group - #1008
Merged
max-wittig merged 2 commits into python-gitlab:master from filipowm:feature/feature-flags-additional-config Feb 10, 2020
Merged
Add capability to control GitLab features per project or group #1008 max-wittig merged 2 commits into python-gitlab:master from filipowm:feature/feature-flags-additional-config
Conversation
filipowm commented Feb 5, 2020 · edited Loading
Copy link Copy Markdown
Contributor
Currently GitLab Features API supports configuring features not only globally or per user, but also per group or project. python-gitlab is currently missing this option, thus this PR.
Additionally fixed issue when setting up feature with None (null) values, e.g. none feature_group or user. It caused GitLab to respond with HTTP 500. Thus now we're filtering out None values from data.
4f4c4ef to
739666f
Compare
February 5, 2020 13:27 filipowm mentioned this pull request Feb 7, 2020 Make instance feature flags configurable Roche/gitlab-configuration-as-code#11 Merged
filipowm commented Feb 7, 2020
Copy link Copy Markdown
Contributor
Author
|
@max-wittig Could you please take a look? |
View reviewed changes
max-wittig commented Feb 7, 2020
Copy link Copy Markdown
Member
|
@filipowm Thanks for the MR. Could you please drop the duplicate commits from master and rebase instead? |
feat: add capability to control GitLab features per project or group
7f192b4
fix: remove null values from features POST data, because it fails
1ec1816
with HTTP 500filipowm force-pushed the feature/feature-flags-additional-config branch from
ad2ed38 to
1ec1816
Compare
February 7, 2020 10:00
filipowm commented Feb 7, 2020
Copy link Copy Markdown
Contributor
Author
Done. I missed to notice that :) |
066fc9b
into
python-gitlab : master
Feb 10, 2020
max-wittig commented Feb 10, 2020
Copy link Copy Markdown
Member
|
@filipowm Thanks for your efforts! |