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 argument not working, reverts to --exact #240

Open
JosephBowkett opened this issue May 13, 2022 · 1 comment

Comments

@JosephBowkett
Copy link

Hi,

Avid fan of this package, cheers for all the work on it.

I've been attempting to use the vcs export --exact-with-tags flag but appear to have discovered that --exact with anything after it is considered as --exact, including --exact-with-tags, appearing to suggest an issue with argument parsing. For example, vcs export --exact, vcs export --exact-xyz and vcs --export-with-tags all produce the exact same output (git hashes only) using Ubuntu 20.04.4 and python3-vcstool 0.3.0-1.

Curious if anyone else has experienced this. I've had a go at debugging but haven't yet figured out how to modify my system install and get it to enact the changes I've made.

Cheers,
Joseph

@JosephBowkett
Copy link
Author

Expected behavior:

$ vcs export --exact-with-tags
repositories:
  some_pkg:
    type: git
    url: git@some_server.com:some_group/some_pkg.git
    version: v0.0.999

Actual behavior:

$ vcs export --exact-with-tags
repositories:
  some_pkg:
    type: git
    url: git@some_server.com:some_group/some_pkg.git
    version: 7301a67082f3031de1a42bf342b26fdc6e110b67

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

No branches or pull requests

1 participant