[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
Updated by bcourt about 8 years ago
This is no longer an issue as the pulp/releng/builder.py script is no longer in use.
Updated by cduryee about 8 years ago
- Status changed from 5 to CLOSED - WONTFIX
builder.py is no longer used, closing bz.
Updated by bmbouter about 4 years ago
- Tags Pulp 2 added