vcstool icon indicating copy to clipboard operation
vcstool copied to clipboard

vcs export --exact-with-tags argument not working, reverts to --exact

Open JosephBowkett opened this issue 2 years ago • 1 comments

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 avatar May 13 '22 21:05 JosephBowkett

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

JosephBowkett avatar May 13 '22 21:05 JosephBowkett