dynamist / subgit

Sub-git repo handler
Apache License 2.0
0 stars 0 forks source link

sgit repo set NAME tag TAG fails #26

Closed holmboe closed 2 years ago

holmboe commented 2 years ago

Here is a reproducible transcript:

nn@origo:/tmp$ mkdir -p /tmp/pykwalify
nn@origo:/tmp$ cd /tmp/pykwalify/
nn@origo:/tmp/pykwalify$ sgit init
Successfully wrote new config file ".sgit.yml" to disk
nn@origo:/tmp/pykwalify$ sgit repo add pykwalify git@github.com:Grokzen/pykwalify.git
Successfully added new repo "pykwalify"
nn@origo:/tmp/pykwalify$ sgit update -y
Are you sure you want to update the following repos "pykwalify"
--yes flag set, automatically answer yes to question
Successfully cloned repo "pykwalify" from remote server
nn@origo:/tmp/pykwalify$ cd pykwalify/
nn@origo:/tmp/pykwalify/pykwalify$ git tag -l
0.1.2
1.0.0
1.0.1
1.1.0
1.2.0
1.3.0
1.4.0
1.4.1
1.5.0
1.5.1
1.5.2
1.6.0
1.6.1
1.7.0
1.8.0
14.06
14.06.1
14.08
14.12
15.01
v0.1.0
v0.1.1
nn@origo:/tmp/pykwalify/pykwalify$ cd ..
nn@origo:/tmp/pykwalify$ sgit repo set pykwalify tag 1.8.0
Exception type : KeyError
EXCEPTION MESSAGE: 'tag'
To get more detailed exception set environment variable 'DEBUG=1'
To PDB debug set environment variable 'PDB=1'

I am running 1859c72d5d842d3bf42f7f2a6c4e07e3fcf6e376

holmboe commented 2 years ago

I assume this is because a branch is specified in the config file and now I want to switch over to using a tag identifier.

Grokzen commented 2 years ago

@holmboe The entire sgit repo command was removed in #25 and this set of commands will not be working or possible to reproduce any longer. Closing as invalid.