Open DominicOram opened 1 year ago
One reason is that the Diamond Controls Python infrastructure expects the use of master rather than main. The system will soon be deprecated, so people aren't too keen to update it for no reason.
I can understand wanting to use the standard branch names for our new repositories, though. Perhaps we could look up the users git configuration for the default branch? We could then customise it for different environments (e.g. containers, RHEL7/RHEL8 machine, etc).
If you don't need to release internally at DLS but are OK with releasing to PyPi only then the spinoff project https://github.com/epics-containers/python3-pip-skeleton will suit you and it uses main.
Github by default uses
main
rather thanmaster
for their default branch. Given that the assumption is people using the skeleton will be using Github we should either:main
for new repos