[RFE] builder.py should print an error and exit if it is run from the master branch
++ This bug was initially created as a clone of Bugzilla Bug #1166703 ++
Description of problem:
If you miss a step during the build setup process, you may accidentally run ./builder.py from the master branch. This is almost always incorrect; builder.py should run a branch like 2.6-dev or 2.4-release.
This bug is an RFE to print an error if builder.py is run from a git checkout that is currently on master. We can possibly add an override command-line option as well to allow builder.py to run from master if the user really wants to do that.
The "am I on master?" check should be performed before builder.py does anything else.
--- Additional comment from firstname.lastname@example.org at 11/21/2014 14:39:32 ---
This seems reasonable. That override flag might be necessary if we want to have nightly builds.
--- Additional comment from email@example.com at 12/03/2014 18:08:34 ---
--- Additional comment from firstname.lastname@example.org at 12/23/2014 20:52:54 ---
fixed in pulp 2.6.0-0.2.beta