|Anonymous | Login | Signup for a new account||2017-11-22 07:36 UTC|
|Main | My View | View Issues | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000257||Firmware||Build Process||public||2011-09-07 19:30||2011-11-13 15:52|
|Target Version||0.2.0||Fixed in Version||0.2.0|
|Summary||0000257: Make Git Release Checking More Robust|
|Description||Currently it does some checks on local hash and remote hash and so on, but not in the most careful way.|
git show-ref --head HEAD
Should be used to grab whatever the head hash is, and that should be compared with some remote hash. We should possibly only allow release from master too, by comparing head of master with HEAD and branch name with "master".
Additionally, it would be nice if the build included the HEAD hash in the binary, and a compressed copy of a git diff --stat or similar. That way we can more or less find out what was on the card, even years later with no idea and it being a snapshot etc.
the fetch is done without args, we could specify origin or not. needs more thought.
|Tags||No tags attached.|
|Risk of Breakage||very low|
|With the new auto versions this will require more work to reorder the actions such that the old release gets cleared out and committed before the tag is done and the new files are built and committed after the tag is done. It shouldn't be difficult to engineer this. Finally the firmware will be as well built as m2 projects!|
|This could be simplified quite a lot if I stop including firmware in the source, which is probably a good idea anyway...|
|Firmware is no longer in the source and this issue is solved. The only addition required other than restructuring was to check that we were on master before comparing master with origin. I also reordered the executions such that it fails faster in more cases. Lastly I split the release into release and package such that A the naming was correct and B packaging can be done at any time irrespective of release status. All available in 5aa3c8b885e1b0d620e64acfe13819ef2f5036a2|
|Add checking and early failure of build with message telling user that they are required to have git installed and available to build the firmware. Make it difficult to pull this out, if possible without dirtying the project.|
|Copyright © 2000 - 2011 MantisBT Group|