← Winnitude! Search  ·  Reader Mode (1500 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 56 LINKS

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.

filipowm requested a review from max-wittig February 5, 2020 13:16 filipowm force-pushed the feature/feature-flags-additional-config branch 2 times, most recently from 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?
This one is currently blocking PR in gitlab configuration-as-code tool: Roche/gitlab-configuration-as-code#11

max-wittig reviewed Feb 7, 2020
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?

filipowm added 2 commits February 7, 2020 11:00 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 500
filipowm 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

@filipowm Thanks for the MR. Could you please drop the duplicate commits from master and rebase instead?

Done. I missed to notice that :)

max-wittig merged commit 066fc9b into python-gitlab : master Feb 10, 2020

max-wittig commented Feb 10, 2020



Copy link Copy Markdown
Member

@filipowm Thanks for your efforts!

filipowm deleted the feature/feature-flags-additional-config branch February 14, 2020 07:45 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants