Add optional support for testing build dependencies #10
Labels
No labels
ai-review-please
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
pr2jira
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quality/rmdepcheck#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Per discussion in #8 , @lbalhar would find it useful for rmdepcheck to have the ability to check build dependencies - that is, report when the tested package set would break the build dependencies of another package.
The design needs to be carefully considered here as we likely do not want to report this as a 'failure', and possibly not even run it, on Bodhi updates. It's envisaged to be mainly of use for running on pull requests, not so much as a "test" but more as information to the maintainer. As a first thought, we probably want to:
Thanks for this. I'd really like to see both runtime and buildtime deps check in PRs. From my point of view, making another package FTBFS is not as bad as making it FTI, but it's also an unpleasant surprise for other maintainers I'd like to avoid and this tool can help me achieve this.
So, #12 is kinda all we need on the rmdepcheck side for this, I think. Anything else turns out to be on the test harness side. To detect build dependency failures, just include the appropriate source repository as one of the baserepos.
If you don't want to detect build dep failures, just don't do that. If you want to detect them but not fail on them, I guess you can run twice - once for binary-only, once for binary+src - and only fail if the binary-only run fails (treat the binary+src run as informational). Or you can use the JSON output and parse it a bit - you can just read the package names and check whether they have ".src" in them. If all the errors have ".src" in their package names, you only have build dependency failures...