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

Handle special cases of process-distgit's target #209

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

Conversation

HauserV
Copy link

@HauserV HauserV commented Nov 19, 2024

This PR proposes two minor convenience improvements to the way process-distgit handles its argument target:

  1. Until 25c8f40, the command would always overwrite the original spec file. That commit introduced a new argument target, which made it possible to store the output elsewhere. This PR exposes the original behavior in the CLI, giving users the option to overwrite the spec file in-place.
  2. If the target is a directory, the command copies the temporary file with the expanded spec into the directory as-is. The second improvement uses the original spec's name instead of the randomly generated temporary one.

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