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

Add a --no-date option to write #438

Closed
abey79 opened this issue Mar 31, 2022 · 0 comments · Fixed by #442
Closed

Add a --no-date option to write #438

abey79 opened this issue Mar 31, 2022 · 0 comments · Fixed by #442
Labels
enhancement New feature or request
Milestone

Comments

@abey79
Copy link
Owner

abey79 commented Mar 31, 2022

Rationale: when auto-generating SVG under VCS (e.g. based on .vpy files), the creation date in the SVG file is annoying because it generates unwanted diff.

@abey79 abey79 added the enhancement New feature or request label Mar 31, 2022
@abey79 abey79 added this to the 1.10.0 milestone Mar 31, 2022
abey79 added a commit that referenced this issue Mar 31, 2022
For auto-generated SVG under VCS, the <dc:date> metadata generates spurious diffs which would be best avoided.

* adds a `--dont-set-date` option to the `write` command
* adds a `set_date` parameter (default: `True`) to the `vpype.write_svg()` API

Fixes #438
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant