Comments (7)
The only other part of syntax I find slightly unclear and potentially to be considered while bumping the major version is the configuration of groups.
Currently there are group_settings
which are actually applicable to projects in a group and there are e.g. group_secret_variables
which are under common_settings
.
As Gitlab seems to allow more and more options to be defined on group level (plus there is a ticket to implement instance level settings - https://gitlab.com/gitlab-org/gitlab-foss/issues/3897), it would be clearer to distinguish that.
from gitlabform.
@gdubicki - Should this be closed?
from gitlabform.
Hi @gdubicki !
As I understand you are going to migrate some functionalities of GitLabForm to using a new version of API that enforce some breaking changes in configuration.
Are you going to implement Protected branch
in the way described here https://docs.gitlab.com/ee/api/protected_branches.html with all possible configuration options including Branch protection on user basis or it should be implemented as a separate issue like #99?
from gitlabform.
Hey @rbartuzel !
Frankly I don't currently have the time to work on big changes to GitLabForm, like 2.0. So if anyone wants more of Protected branches API
features it would be best to create PRs for specific things. Update: see #227.
from gitlabform.
If the breaking change is format of the config file, please include a converter! :)
from gitlabform.
I have developed a proposal of a config syntax for v2.
It splits group configs from the projects configs to avoid ambiguity that @weakcamel has mentioned above (But btw: group_settings
ARE settings for the group as they operate on the API for groups, not projects - https://docs.gitlab.com/ee/api/groups.html . However by the nature of the group which is a container for projects, effectively they do apply mostly to projects within it.).
Thanks to that split we can introduce new selectors for the configuration of groups and projects, including personal ones (#106). This will allow choosing groups and projects by using regexp patterns (which is a feature that there is no ticket for, but that we would benefit from it at Egnyte).
Please check out #138 and share your opinions. :)
from gitlabform.
I have just pushed an updated proposal of the config syntax. 😅
As I have tried using the splitted version in practice (for Egnyte's config) it turned out that strict separation of groups and projects makes configuration that relates to the same things split into 2 possibly distant configuration fragments. The reason for that is exactly the fact that I mentioned above - groups are basically containers for projects...
UPDATE: ...BUT at the same time I did prefix all the config sections applying to projects with "project_" and similarly for groups - "group_". This way we DO have the distinction between these 2 types of configs.
So please check out the updated config example in #138. ;)
from gitlabform.
Related Issues (20)
- How do you create an environment? HOT 2
- How to add users ONLY to top-level group? HOT 8
- Project API: public_jobs versus public_builds HOT 2
- Breaking Inheritance not working in branches section HOT 1
- Issue with Merge Request Rules for specific branches HOT 2
- Support for SAML group links HOT 1
- Group membership fails to apply when using keep_bots attribute HOT 5
- Usernames in projects and groups should be case-insensitive HOT 3
- `enforce_keep_bots` test intermittently fails in the GitHub CI
- Manage CI/CD job token scope allowlist HOT 9
- Remove support for python 3.7 and possibly other older versions HOT 10
- How to set merge_method option for a project HOT 2
- Gitlab 16.x: cannot update settings of archived projects HOT 13
- Skipping Nested Projects/groups ? HOT 7
- Direct membership to all projects under a group to get CODEOWNERS MR approval to work HOT 3
- Add Support for External Status Checks HOT 6
- Should we remove mypy type checking or validation HOT 3
- `test__custom_commit_message` acceptance test intermittently fails
- Support `job_token_scope` configuration HOT 6
- Improve logging by catching exceptions and printing helpful custom messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlabform.