Commit Graph

31 Commits

Author SHA1 Message Date
7586abc3ca feat: add pin compatibility check 2021-11-01 10:48:22 +01:00
3cac15cba2 docs: update godoc [ci skip] 2021-10-12 00:07:50 +02:00
4f27c74467 test: increase code coverage from 62% to 99.5%
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-11 14:08:27 +00:00
0fed62dc8e refactor!: create and use TagDelta struct et al
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
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
da6a8b1949 fix: lol fix link [ci skip] 2021-10-11 01:44:35 +02:00
c7d03052cf docs: who is using this? [ci skip] 2021-10-11 01:43:51 +02:00
aa7b4ff851 fix: get patternCounts to recognise tags with metadata correctly
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-07 14:29:26 +02:00
63ec2c5ff3 feat!: add metadata to Tag object and update Parse(), Equals() and String()
All checks were successful
continuous-integration/drone/pr Build is passing
2021-10-07 12:23:43 +02:00
4249d925c8 docs: also specify that supported type [ci skip] 2021-10-03 11:41:53 +02:00
7b06d1c161 fix: Tag.UpgradeElement() fails when missing minor or patch
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-03 10:09:22 +02:00
03d2daced9 fix: call strconv.Atoi() and strconv.Itoa() properly
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-03 09:47:05 +02:00
778718caed feat: setup CI with drone
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-02 23:21:44 +02:00
ed6331dc7a docs: regenerate godoc 2021-10-02 23:16:32 +02:00
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
72eabea81d feat: add UpgradeType function which simplifies what difference is there between two tags 2021-10-01 20:23:48 +02:00
aa81b0306c feat: add Tag.UpgradeElement(newTag Tag) which returns a difference between two tags 2021-10-01 20:14:57 +02:00
2a8edd82d7 feat: support asc/dec sorting
Closes coop-cloud/tagcmp#1.
2021-09-06 12:20:06 +02:00
4ef558bb7a Add report card 2021-08-25 15:13:40 +02:00
44053d6bfb lint: simplify return statements
gosimple S1008
2021-08-13 12:47:41 +01:00
f81a7c03b9 test: add more sorting tests 2021-08-09 15:17:01 +02:00
19bcaca6e6 fix: catch that suffix comparison bug 2021-08-09 15:05:03 +02:00
8c998c0043 doc: fix typo and improve docs for sorting 2021-08-09 10:12:31 +02:00
78d2fa7a60 docs: emphasis out-of-order for example 2021-08-08 20:19:07 +02:00
755cc08442 Fix wording 2021-08-08 19:16:01 +02:00
5982269b37 Add example 2021-08-08 19:15:15 +02:00
5e63b39311 Formatting 2021-08-08 19:07:35 +02:00
e4687405c0 Add godoc in markdown 2021-08-08 19:05:39 +02:00
cab5274257 Add license 2021-08-08 18:57:42 +02:00
7a8533f7a5 Fix typos 2021-08-08 18:53:27 +02:00
a6b38843fe Add go doc generated output 2021-08-08 17:55:59 +02:00
b4367c8019 Init 2021-08-08 17:48:33 +02:00