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

Make patches optional #68

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Make patches optional #68

merged 3 commits into from
Feb 24, 2023

Conversation

dennisvang
Copy link
Owner

@dennisvang dennisvang commented Feb 24, 2023

Patch creation can be time consuming. In some workflows, this is not desired. See e.g. #67.

For this reason, allowing users to skip patch creation sounds reasonable.

The following changes are made on the repo side:

  • Repository.add_bundle() gets a skip_patch argument, which defaults to False
  • the CLI command tufup targets add gets a --skip-patch (-s) option

The tufup Client should already know how to handle missing patches.

@dennisvang dennisvang marked this pull request as ready for review February 24, 2023 12:30
@dennisvang dennisvang merged commit 17cb4ba into master Feb 24, 2023
@dennisvang dennisvang deleted the issue67 branch February 24, 2023 12:31
@dennisvang dennisvang mentioned this pull request Jun 16, 2023
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.

1 participant