Closed petrelharp closed 2 years ago
My first attempt here didn't work because it turns out the sorting tags by tagger date to get the most recent one wasn't right - note that these two give the same order even though one is supposed to be ascending and the other descending:
peter@skua:~/projects/tskit-dev/pyslim$ git tag --list --sort=taggerdate
1.0
1.0b1
v0.0.6
v0.3
v0.314
v0.32
v0.400
v0.401
v0.403
v0.500
v0.501
v0.600
v0.700
peter@skua:~/projects/tskit-dev/pyslim$ git tag --list --sort=-taggerdate
1.0
1.0b1
v0.0.6
v0.3
v0.314
v0.32
v0.400
v0.401
v0.403
v0.500
v0.501
v0.600
v0.700
It looks like this is because my tags are "lightweight tags", which apparently don't have a tagger attribute.
I've changed taggerdate
to creatordate
(explanation in that link).
I'm going to merge this because @bhaller is announcing SLiM v4 shortly, and along with it pyslim 1.0, so it'd be nice to have the stable/
docs pointing at the right place.
Okay, I've released pyslim 1.0 so we need to put this back (already; sorry).