Backup private repository from Gitlab which is not owned by me #260
-
I'd like to include a backup of a private repository from Gitlab where I am only a maintainer but not the owner of said repository using a token. As far as I understand this following MWE should backup all repositories from Gitlab including the repositories not owned by me. source:
gitlab:
- token: foobar I tested this for GitHub (with a other token of course) and all worked fine. Thank you all for your help. @cooperspencer keep up the good work! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
You are correct. I'll investigate on how to backup projects were you are not the owner but are a maintainer. source:
gitlab:
- token: foobar
user: owner-of-the-project
include: ["your-project"]
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
In the meantime I created a second user on Gitlab for testing and I found out why. Repositories in Gitlab can be owned by a user under the namespace of the user. The repository which I described above is owned by a user and not by a group and I'm a maintainer as well. I invited you on Gitlab to two testing repos so maybe you can confirm this behavoir. |
Beta Was this translation helpful? Give feedback.
It should be fixed with this build.
Can you download the artifact, test it and get back to me?