-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Migration from Gitlab] Incorrect release name leads to full migration failure #17039
Comments
Well, to be fair that sounds more like a From an algorithmic point of view, I can understand the current approach as it is easy to implement. |
Your answer makes totally sense... I was wondering whether it should be handled or not. From another point of view, if I was to be "testing" gitea for escaping github/gitlab, this would annoy me, because of the lack of explanation in the failure message. Just a warning "gitlab release myrelease/0_4 not accessible" would then "report the fault on the other side". I will make a Gitlab ticket though, in order to get their answer for their api failure :D |
Hello |
hmm... actually I think it might be a gitea problem:
I'm not certain that should cause the migration to fail completely. |
It's a problem similar as #16919 |
I got the final clue : the person responsible for the badly named release deleted the tag myrelease/0_4 then could not change the name of the release... Otherwise Gitea failed when calling |
Gitea version 1.15.2
Git version: 2.17.1
Operating system:
Ubuntu 18.04
gitea repo cloned and built with :
using TAGS="bindata sqlite sqlite_unlock_notify" make build
Database (use
[x]
):Can you reproduce the bug at https://try.gitea.io:
Log gist:
Description
Unfortunately someone here named his release myrelease/0_4
Even gitlab cannot retrieve this release with curl, while on graphic interface it works well.
In gitea, this means that all the repository import fails due to this misleading name, otherwise I have to import all the repository without release, then remake some of them.
There are absolutely no explanation message, so I was wondering if we should catch this error differently ?
...
The text was updated successfully, but these errors were encountered: