cooperspencer / gickup

https://cooperspencer.github.io/gickup-documentation/
Apache License 2.0
988 stars 38 forks source link

GitLab project name is used in place of repository name #54

Closed Enrico204 closed 2 years ago

Enrico204 commented 2 years ago

When backing up from GitLab, the project name is used instead of the repository name.

For example, this repository is created using the name DD-WRT Prometheus Exporter instead of dd-wrt-prometheus-exporter, which is the expected behavior (also the safer one).

cooperspencer commented 2 years ago

I replaced r.Name with r.Path for gitlab, now it clones the repos in the expected behavior. the change is already in the newest commit in main.

Enrico204 commented 2 years ago

Thanks! I verified with the latest main and it's working as expected :-)