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
Nested subgroups no longer appear to work #221
Comments
Hi!
It appears that only last part of group path is kept. |
Can confirm: config.yml: config_version: 2
projects_and_groups:
"path/to/incredible/myproject/*":
project_settings:
wiki_enabled: false $ gitlabform --skip-version-check --debug ALL_DEFINED
[...]
https://gitlab.example.com:443 "GET /api/v4/groups/path%2Fto%2Fincredible HTTP/1.1" 200 None
response code=200
[...]
https://gitlab.example.com:443 "GET /api/v4/groups/incredible/projects?include_subgroups=true&archived=false&per_page=100 HTTP/1.1" 404 33
response code=404
[...] |
Thanks for reporting this @masonbivens and @skycaptain ! This should be fixed in v2.0.4 released a moment ago. Please reopen this issue if you are still seeing the issue after GitLabForm upgrade. |
@gdubicki unfortunately still exists with 2.0.4. The truncated group path is still used resulting in an 404 error. $ gitlabform --skip-version-check --debug ALL_DEFINED
🏗 GitLabForm version: 2.0.4
[...]
https://gitlab.example.com:443 "GET /api/v4/groups/path%2Fto%2Fincredible HTTP/1.1" 200 None
response code=200
[...]
https://gitlab.example.com:443 "GET /api/v4/groups/incredible/projects?include_subgroups=true&archived=false&per_page=100 HTTP/1.1" 404 33
response code=404
[...] |
to complete the fix for getting all defined subgroups (#221). Also prevent finding project or group that have their name matching but the full path not (f.e. requesting to process "foo/bar" will now not process "baz/bar", even if GitLab projects search API will return the latter as a search result).
Thanks again @skycaptain ! I think I got it fixed completely this time (in v2.0.5 I fixed only requesting processing a single subgroup, like Please check out v2.0.6 with the fix and reopen if you still observe any issues related to subgroups. |
Describe the bug
When using a hierarchical group structure it appears that targeting sub-groups no longer works.
Output:
Config:
The text was updated successfully, but these errors were encountered: