NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
541 stars 127 forks source link

nukeeper - create PR in GitLab - LibGit2SharpException #1010

Closed mona7170 closed 4 years ago

mona7170 commented 4 years ago

💬 Questions and Help

Hi, I'm trying to test nukeeper and create PR in GitLab. I'm getting the below error. Error: Failed on repo sample LibGit2SharpException : request failed with status code: 308

It might be an issue in gitlab setting or a missing argument in nukeeper command. But I couldn't find info about it.

Here is my command:

C:\Eng\sample\sample>nukeeper repo https://gitlab.com/myaccount/sample/ tokenxxxx --fork 2 Matched uri 'https://gitlab.com/api/v4/' to collaboration platform 'GitLab' Using upstream fork as push, for project myaccount at https://gitlab.com/myaccount/sample/ Git clone https://gitlab.com/myaccount/sample/, branch default, to C:\Users\me\AppData\Local\Temp\NuKeeper\repo-fc6730bb0f384df09e44970320dd13e9 Failed on repo sample LibGit2SharpException : request failed with status code: 308

I would appreciate any help. Thanks!

mona7170 commented 4 years ago

Using docker file fixed my issue. I used the docker file from Docker\SDK3.1 folder. docker build -t nukeeper . docker run nukeeper repo https://gitlab.com/myaccount/sample/ tokenxxxx --fork 2

And it's working perfectly!