You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kibble.apache.org by GitBox <gi...@apache.org> on 2022/03/20 16:00:30 UTC
[GitHub] [kibble-scanners] sharanf opened a new issue #7: Not picking up default branch on repos that have a non standard name for their default branch
sharanf opened a new issue #7:
URL: https://github.com/apache/kibble-scanners/issues/7
I am running through the list of sources in the Kibble Demo that have not been processed and are showing the error message
```
Could not sync with source
Exception: No default branch was found in this repository
```
Taking a lot at the github repos there are default branches but the names of these are not 'main' (or previously 'master').
Some current examples of the source repos producing this error are in the Kibble demo are:
- https://github.com/apache/directory-scimple.git
- https://github.com/apache/couchdb-triq.git
- https://github.com/apache/cloudstack-cloudmonkey.git
I will add more examples as I come across them.
I suspect there is some scanner logic about locating the default branch that may need to be updated.
--
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: issues-unsubscribe@kibble.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kibble-scanners] sharanf commented on issue #7: Not picking up default branch on repos that have a non standard name for their default branch
Posted by GitBox <gi...@apache.org>.
sharanf commented on issue #7:
URL: https://github.com/apache/kibble-scanners/issues/7#issuecomment-1078028455
Thanks for the tip. I'll do some investigations.
--
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: issues-unsubscribe@kibble.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kibble-scanners] Humbedooh commented on issue #7: Not picking up default branch on repos that have a non standard name for their default branch
Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #7:
URL: https://github.com/apache/kibble-scanners/issues/7#issuecomment-1073314436
A simple method to find the default branch would be to read the .git/HEAD file and cut out the `refs/heads/` part. I've done this recently with Snoot and it works well.
--
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: issues-unsubscribe@kibble.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org