dls-controls / dls-python3-skeleton

Archived in favour of https://github.com/DiamondLightSource/python-copier-template
Apache License 2.0
1 stars 0 forks source link

Use main rather than master? #39

Open DominicOram opened 1 year ago

DominicOram commented 1 year ago

Github by default uses main rather than master for their default branch. Given that the assumption is people using the skeleton will be using Github we should either:

MJGaughran commented 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).

gilesknap commented 1 year ago

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.