It should be also possible to clone subgroups like: group/subgroup/repository.git
So a user in our Discord recently helped us, we've issued out a fix. I would love for you guys to try it now, it should work now!
we're also eagerly waiting for subgroups support! is there any additional info that we could provide to help tackle it?
I've yet failed to replicate this case sadly when using sub-groups. It just seems to work for me.
If it would be possible for anyone to setup a repo and give me the exact workflow steps to replicate we can take a closer look at it again.
Here is an example repository in that format:
When trying to add a repository to a site that is within a subgroup on gitlab.com, ploi creates the wrong repository url and subsequently is unable to locate the repository.
I select the target repo from the dropdown: /ploi-group/sub-group/nested-nodejs-project
The dropdown shows the right structure. I click next and set up the deploy script.
If I now look at the repository settings the repository URL has changed to /ploi-group/sub-group.git instead of pointing to the actual repository within the sub-group
Our company has all its repositories in subgroups, so we are really missing this feature. Can this please get a higher priority?
Yes, it was scheduled for this week as we had another user came across the same issue last week.
1. I go to create a new site, input the domain and click Add site
2. Chose to use a GIT repo, select GitLab integration and from the list select a repo. The repos are listed as group/sub-group/repo.git
4. After the submit the repo is changed to group/sub-group.git by the Ploi system
But is this a sub branch? Because you can select the main repository and then group in branches in the input field.
Can you show me a screenshot how you're cloning the repository?
On the "2 - Install repo.png" image you can see that the repo is selected correctly and the sub-group is correct. Then after the installation, you can see on image "3 - After repo install.png" that the incorrect repository and repository URL are set.
That is really interesting, how did you create the repository with gitlab that way?
You just entered a subgrouped name, or are those branches?
On the root group level, you can choose to create a New sub-group and then in the sub-group, I created multiple repos. So the structure is Group/Sub-group/Project. Those are not branches.
You can also have multiple sub-groups, eg. Group/Sub-group1/Sub-group2/.../Project