-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UMPD3 checker: Check external repositories when they are modified by a branch. #31
UMPD3 checker: Check external repositories when they are modified by a branch. #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got nothing useful to add here, happy to approve
Can I give this PR a bump? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of typos in comments with changes suggested, otherwise all good. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of typos in comments with suggested change. Otherwise all good. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ericas comment changes are ok
Currently, UM dependencies are checked by the UMDP3 checker on the trunk.
However, in a branch, the branch diff is used rather than the source files themselves. (This means the script only checks things that are changed by a branch, not the entire source tree.)
This in turn means changes from the other dependencies are not checked until after they are on trunk in a linked ticket. (This is because the branch diff contains only the changes to the sources, not the code changes themselves - which exist in a different repository.)
This pull request modifies the script to ensure dependencies are checked with the branch, when the script identifies that either the
rose-suite.conf
file, or theHOST_SOURCE
environment variables have been modified. In that case, it inspects the full source of the external repository, as it would do on trunk.