Bug 11804

Summary: Convenience branch dropdown when starting new builds
Product: [Infrastructure] AutoBuilder Reporter: Ross Burton <ross.burton>
Component: autobuilderAssignee: Joshua Lock <joshuagloe>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: infras.ab.watcher, Infras.watcher, joshuagloe, pidge, richard.purdie, stephano
Version: 2.2   
Target Milestone: 2.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2017-07-18 10:41:23 UTC
When starting a new build, it would be helpful if there was a drop down at the top to pick the main branch with human readable names:

- master
- Pyro (2.3)
- Morty (2.2)
- etc

Picking one of those should populate all the repository entries with the right branch names (doing the right thing for bitbake branches).

The intention should be that I can do a morty build and override just one branch without accidentally doing a build of morty with master bitbake or other layers, which will fail.
Comment 1 Richard Purdie 2017-07-18 10:42:55 UTC
FWIW this would be extremely valuable to me too.
Comment 2 Joshua Lock 2017-08-22 15:13:36 UTC
Sadly this didn't make it for M3, it's a pretty minor AB change (only to the UI code based on my PoC) so may make it in time to help with the M4 testing.
Comment 3 Joshua Lock 2017-09-18 15:02:23 UTC
This change is currently more intrusive than I'd like (modifying two of the built in templates of the web status plugin) but is functional pending a little more testing.
Comment 4 Joshua Lock 2017-09-21 10:04:56 UTC
Merged:
http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=8afbc6323a2977383e9cace1c040a5ce4d61f068

and deployed to both YP AB clusters.