Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
Description
Today getbuilds said to me
"There are no prebuilt files for revision 63387! The latest available files are for revision 63387"
87 was a branch commit so there really were no files, but the second part is wrong. 86 was the last trunk commit and should have been mentioned instead.
Colin told me this:
- http://svn.reactos.org/svnact/svn_activity.xml is used as source to the testman (thus also getbuilds?)
- that file is filled by a post-commit hook
I propose adding another item to the svn_activity.xml - "branch"
This link http://stackoverflow.com/questions/4816454/how-to-get-the-name-of-branch-in-a-post-commit-hook-in-svn provides info on how to get the branch name from post-commit hook.
As long as trunk is one of the branches touched, ISO will be built, so it is enough to check for trunk presence in the "branch" parameter (once it's in the xml file). With that information it will be easier to find the most recent trunk commit X that precedes the current branch commit Y.