30 Commits

Author SHA1 Message Date
knoflook d0a2e22cd1 Merge branch 'main' into test 2021-10-11 14:08:00 +00:00
knoflook 8922362b9e test: increase code coverage from 62% to 99.5% 2021-10-11 14:38:08 +02: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
d1admin da6a8b1949 fix: lol fix link [ci skip] 2021-10-11 01:44:35 +02:00
d1admin c7d03052cf docs: who is using this? [ci skip] 2021-10-11 01:43:51 +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
d1admin 4249d925c8 docs: also specify that supported type [ci skip] 2021-10-03 11:41:53 +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
d1admin 778718caed feat: setup CI with drone 2021-10-02 23:21:44 +02:00
d1admin ed6331dc7a docs: regenerate godoc 2021-10-02 23:16:32 +02:00
decentral1se 0581b1f5ed Merge pull request 'add functions to simplify checking upgrade types' (#3) from knoflook/tagcmp:main into main
Reviewed-on: coop-cloud/tagcmp#3
2021-10-02 21:16:04 +00: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
d1admin 2a8edd82d7 feat: support asc/dec sorting
Closes coop-cloud/tagcmp#1.
2021-09-06 12:20:06 +02:00
d1admin 4ef558bb7a Add report card 2021-08-25 15:13:40 +02:00
roxxers 44053d6bfb lint: simplify return statements
gosimple S1008
2021-08-13 12:47:41 +01:00
d1admin f81a7c03b9 test: add more sorting tests 2021-08-09 15:17:01 +02:00
d1admin 19bcaca6e6 fix: catch that suffix comparison bug 2021-08-09 15:05:03 +02:00
d1admin 8c998c0043 doc: fix typo and improve docs for sorting 2021-08-09 10:12:31 +02:00
d1admin 78d2fa7a60 docs: emphasis out-of-order for example 2021-08-08 20:19:07 +02:00
d1admin 755cc08442 Fix wording 2021-08-08 19:16:01 +02:00
d1admin 5982269b37 Add example 2021-08-08 19:15:15 +02:00
d1admin 5e63b39311 Formatting 2021-08-08 19:07:35 +02:00
d1admin e4687405c0 Add godoc in markdown 2021-08-08 19:05:39 +02:00
d1admin cab5274257 Add license 2021-08-08 18:57:42 +02:00
d1admin 7a8533f7a5 Fix typos 2021-08-08 18:53:27 +02:00
d1admin a6b38843fe Add go doc generated output 2021-08-08 17:55:59 +02:00
d1admin b4367c8019 Init 2021-08-08 17:48:33 +02:00