You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "codebreach (via GitHub)" <gi...@apache.org> on 2024/01/02 10:16:38 UTC
Re: [I] [Bug][Module Name] gitextractor fails when branch name is too long [incubator-devlake]
codebreach commented on issue #6718:
URL: https://github.com/apache/incubator-devlake/issues/6718#issuecomment-1873835168
Based on error message, this seems to be coming from
https://github.com/apache/incubator-devlake/blob/main/backend/plugins/gitextractor/parser/repo.go#L202
and
https://github.com/apache/incubator-devlake/blob/main/backend/core/models/domainlayer/domainlayer.go#L24-L27
Basically ID is generated by appending repo id and branch name but that has a limit of 255 characters
so it will fail for `len(branch name) + 1 + len(str(repo.id)) > 255`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org