Skip to content

Support applying series dependencies #77

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

Merged
merged 3 commits into from
Apr 12, 2025
Merged

Conversation

loudonlune
Copy link
Contributor

This change adds a switch to the apply sub-command that, when present, will download and apply all series which the series given on the command line depends on before applying said series. When the switch is not present, the original behavior is conserved. A warning is printed if the user requests to apply dependencies for a patch but the server/project does not support dependencies.

Because the series dependencies are represented as a list of URLs, we
need a way to retrieve objects by their API URL instead of the numeric
ID. This adds a function which is more or less a public wrapper of the
private "_get" method.

Signed-off-by: Adam Hassick <[email protected]>
Adds a new switch to download the series dependencies of a series when
applying a series.

Signed-off-by: Adam Hassick <[email protected]>
Copy link
Member

@stephenfin stephenfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just waiting on CI results but this looks good.

@stephenfin stephenfin merged commit 8d65b8b into getpatchwork:main Apr 12, 2025
8 checks passed
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