Commit Graph

13 Commits

Author SHA1 Message Date
knoflook 7586abc3ca
feat: add pin compatibility check 2021-11-01 10:48:22 +01:00
knoflook 0fed62dc8e
refactor!: create and use TagDelta struct et al
add a TagDelta struct with accompanying function String()
rename UpgradeElement() to UpgradeDelta() and change the return type
move UpgradeType() to be a function of TagDelta
add ParseDelta() that returns a TagDelta from string
2021-10-11 14:36:25 +02:00
knoflook aa7b4ff851
fix: get patternCounts to recognise tags with metadata correctly 2021-10-07 14:29:26 +02:00
knoflook 63ec2c5ff3
feat!: add metadata to Tag object and update Parse(), Equals() and String() 2021-10-07 12:23:43 +02:00
knoflook 7b06d1c161
fix: Tag.UpgradeElement() fails when missing minor or patch 2021-10-03 10:09:22 +02:00
knoflook 03d2daced9
fix: call strconv.Atoi() and strconv.Itoa() properly 2021-10-03 09:47:05 +02:00
knoflook 72eabea81d
feat: add UpgradeType function which simplifies what difference is there between two tags 2021-10-01 20:23:48 +02:00
knoflook aa81b0306c
feat: add Tag.UpgradeElement(newTag Tag) which returns a difference between two tags 2021-10-01 20:14:57 +02:00
decentral1se 2a8edd82d7
feat: support asc/dec sorting
Closes coop-cloud/tagcmp#1.
2021-09-06 12:20:06 +02:00
Roxie Gibson 44053d6bfb
lint: simplify return statements
gosimple S1008
2021-08-13 12:47:41 +01:00
decentral1se 19bcaca6e6
fix: catch that suffix comparison bug 2021-08-09 15:05:03 +02:00
decentral1se 8c998c0043
doc: fix typo and improve docs for sorting 2021-08-09 10:12:31 +02:00
decentral1se b4367c8019
Init 2021-08-08 17:48:33 +02:00