Commit Graph

32 Commits

Author SHA1 Message Date
knoflook b3072cb5e2
test: pin compatiliby check tests 2021-11-01 10:48:47 +01:00
knoflook 7586abc3ca
feat: add pin compatibility check 2021-11-01 10:48:22 +01:00
decentral1se 3cac15cba2
docs: update godoc [ci skip] 2021-10-12 00:07:50 +02:00
knoflook 4f27c74467 test: increase code coverage from 62% to 99.5% 2021-10-11 14:08:27 +00: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
decentral1se da6a8b1949
fix: lol fix link [ci skip] 2021-10-11 01:44:35 +02:00
decentral1se 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
decentral1se 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
decentral1se 778718caed
feat: setup CI with drone 2021-10-02 23:21:44 +02:00
decentral1se 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
decentral1se 2a8edd82d7
feat: support asc/dec sorting
Closes coop-cloud/tagcmp#1.
2021-09-06 12:20:06 +02:00
decentral1se 4ef558bb7a
Add report card 2021-08-25 15:13:40 +02:00
Roxie Gibson 44053d6bfb
lint: simplify return statements
gosimple S1008
2021-08-13 12:47:41 +01:00
decentral1se f81a7c03b9
test: add more sorting tests 2021-08-09 15:17:01 +02: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 78d2fa7a60
docs: emphasis out-of-order for example 2021-08-08 20:19:07 +02:00
decentral1se 755cc08442
Fix wording 2021-08-08 19:16:01 +02:00
decentral1se 5982269b37
Add example 2021-08-08 19:15:15 +02:00
decentral1se 5e63b39311
Formatting 2021-08-08 19:07:35 +02:00
decentral1se e4687405c0
Add godoc in markdown 2021-08-08 19:05:39 +02:00
decentral1se cab5274257
Add license 2021-08-08 18:57:42 +02:00
decentral1se 7a8533f7a5
Fix typos 2021-08-08 18:53:27 +02:00
decentral1se a6b38843fe
Add go doc generated output 2021-08-08 17:55:59 +02:00
decentral1se b4367c8019
Init 2021-08-08 17:48:33 +02:00