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

vcs export --exact-with-tags output fails pre-commit linting rules #273

Open
jwdinius opened this issue May 17, 2024 · 0 comments · May be fixed by #274
Open

vcs export --exact-with-tags output fails pre-commit linting rules #273

jwdinius opened this issue May 17, 2024 · 0 comments · May be fixed by #274

Comments

@jwdinius
Copy link

When I run vcs export --exact-with-tags src > repos.pegged the resulting file repos.pegged correctly replaces the version field for all of my repositories with the commit hash (or tag descriptor, if applicable) of my source dependencies.

However, my repository uses pre-commit hooks for change validation and the resulting file is missing the leading --- that the yaml linter expects.

I think that the fix is simple here and I will put up a PR.

jwdinius pushed a commit to jwdinius/vcstool that referenced this issue May 20, 2024
Closes dirk-thomas#273

Applying this change to the export subcommand will allow its output
to pass pre-commit checks for yaml validation.
@jwdinius jwdinius linked a pull request May 20, 2024 that will close this issue
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 a pull request may close this issue.

1 participant