ezbz / gitlabber

Gitlabber - clones or pulls entire groups tree from gitlab
MIT License
467 stars 78 forks source link

Gitlabber not cloning repositories, only structure #99

Closed Morphosdark closed 1 week ago

Morphosdark commented 2 years ago

Describe the bug When trying to clone all the repositories of a group, it only creates the tree.

Im using a token with read_api and read_repository.

After the first run, i've run again, and nothing happened

To Reproduce

the command i use to run gitlabber:

gitlabber -t MYTOKEN -u MYURL

redtux commented 2 years ago

Hi, I can confirm this. Following the instructions in the readme I can connect via SSH, read the tree, and create the skeleton of the respective gitlab instance - but not a single repo is being cloned.

redtux commented 2 years ago

Just in case, using another token with full access does not help, while using --method http and providing username and password works as expected. (Maybe related to #97.)

reznid01 commented 2 years ago

Any update for this issue? We are using SSO and it is impossible to provide username, password and MFA for each project. this defeats the purpose for using this module.

rdumouchelle commented 2 years ago

Confirming this as well. This makes the entire project unusable.

dylanh724 commented 1 year ago

Yep confirming - still happening in late 2022; is this project still alive?

dylanh724 commented 1 year ago

(CC @ezbz - since this is a long-term breaking bug)

redtux commented 1 year ago

Yep confirming - still happening in late 2022; is this project still alive?

Define alive 🤭 According to the git log the last code change was a year ago, and the last commit is seven month old. 🤷🏻‍♂️🙂

dylanh724 commented 1 year ago

Time to fork? I think a fix is here

ogencoglu commented 1 year ago

Any updates on this?

mertensr commented 1 year ago

I suggest to use --verbose option to see what is going wrong. I can confirm that the tool is still working! I had the same issue. It looked like the tool is just creating the structure. When I turned on --verbose I found that the "git clone" was failing due to some issues with my ssh keys. Sadly gitlabbler is silent about this and does not even show a warning if you don't use --verbose.