#473 odcs hard codes 'master' branch
Closed: Fixed 3 years ago by lsedlar. Opened 3 years ago by kevin.

In the server:

server/odcs/server/utils.py:def clone_repo(url, dest, branch="master", commit=None):

But some/many repos may not have 'master' branch.
ODCS should just use whatever the default branch is on first checkout. :)


We hit this as a result of some repos changing to main instead of master. :)

Login to comment on this ticket.

Metadata