Skip to content
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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

AdamVoysey
Copy link
Contributor

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 the HOST_SOURCE environment variables have been modified. In that case, it inspects the full source of the external repository, as it would do on trunk.

@jennyhickson jennyhickson requested review from a team, ericaneininger and james-bruten-mo and removed request for a team June 17, 2024 07:06
Copy link
Contributor

@james-bruten-mo james-bruten-mo left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants