1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-25 01:25:39 +00:00
Commit graph

405 commits

Author SHA1 Message Date
dac969b14e
Makefile: staticcheck validation
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-08 23:03:04 -04:00
7b5bbd4eaa
keywords: tar.Xattrs is deprecated by PAXRecords
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-08 22:51:37 -04:00
3bc8e48538
*.go: go-staticcheck linting
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-08 22:51:37 -04:00
4760b77e54
Merge pull request #176 from vbatts/cyclo
Cyclomatic complexity
2022-04-08 22:39:27 -04:00
599ae15537
Makefile: check cyclomatic complexity
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-08 22:35:36 -04:00
53f42660ec
Merge pull request #175 from vbatts/remove_legacy
lookup: remove legacy lookup code
2022-04-08 22:31:24 -04:00
106c52de51
*_test.go: ignore cyclomatic complexity for test files
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-08 21:59:08 -04:00
1610f1a0c7
lookup: remove legacy lookup code
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-08 21:50:52 -04:00
7fed71e221
Merge pull request #173 from vbatts/compare-two-files
Compare two files
2022-04-04 18:17:07 -04:00
2d841d54bf
test: testing the double -f comparison
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-04 18:13:23 -04:00
b5e683dfc9
main: compare two files with two -f flags
Fixes: #159

```shell
vbatts@fogel:~/src/github.com/vbatts/go-mtree$ ./gomtree -c -f foo
vbatts@fogel:~/src/github.com/vbatts/go-mtree$ ./gomtree -c -f bar -K sha256
vbatts@fogel:~/src/github.com/vbatts/go-mtree$ ./gomtree -f foo -f bar
"foo": unexpected path
".": keyword "time": expected 1649109728.228935367; got 1649109734.412959677
FATA[0000] manifest validation failed
vbatts@fogel:~/src/github.com/vbatts/go-mtree$ echo $?
1
```

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-04 18:04:16 -04:00
bdace0aacf
main: --file flag can be repeated now
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-04 17:56:44 -04:00
fc2975ed32
Merge pull request #172 from vbatts/change-flag-parser
main: switch to urfave/cli/v2
2022-04-04 16:12:32 -04:00
17687d8c29
main: switch to urfave/cli/v2
For now this is a drop in replacement for all the flags curently
implemented

Fixes: #171

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-04 16:06:48 -04:00
bc8295f83e
compare: gofmt
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-04 14:57:29 -04:00
c758611dce
Merge pull request #168 from vbatts/linting
Linting
2022-04-03 23:22:17 -04:00
1e7a86c787
Merge pull request #169 from vbatts/build_badge
README: github workflow badge
2022-04-03 23:20:29 -04:00
f7c1f627aa
keyword_test: remove unused line
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 23:19:47 -04:00
a867d30251
check_test: check the error
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 23:19:47 -04:00
6fb913af99
compare_test: remove unused code
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 23:19:47 -04:00
742dd407b4
main: len() works on nil now
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 23:19:46 -04:00
b75d3dfcc8
README: github workflow badge
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 23:18:42 -04:00
7935b59876
Merge pull request #170 from vbatts/fix_build
*: rework the test tools, so no dep is ignored
2022-04-03 23:18:29 -04:00
f32ba81c5e
*: rework the test tools, so no dep is ignored
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 23:15:40 -04:00
588282d9ad
github: fix the branch
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 22:53:03 -04:00
0b831d07ce
github: update the golang workflow
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 22:47:42 -04:00
4bc25af053
*.go: spelling typos
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 22:29:36 -04:00
e1f0f056c7
README: markdown lint
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 22:24:36 -04:00
01744958cd
Merge pull request #163 from vbatts/go-updates
go: update deps, and vendored sources
2022-04-03 22:20:17 -04:00
642d3ed36e
Makefile: only build from vendored sources
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 22:05:27 -04:00
47b137db03
go: update deps, and vendored sources
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-03 22:05:18 -04:00
1adae81a54
Merge pull request #165 from vbatts/change-ci
Change ci
2021-09-14 10:06:35 -04:00
9de8611e15
README: change out badge of CI
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-09-14 10:00:24 -04:00
d02dbc5725
trying out drone
This is lacking for a few reasons:
- multi-arch
- matrix of versions of golang

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-09-14 09:56:11 -04:00
ae608839f1
long live travisCI
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-09-14 09:51:47 -04:00
e8d42c3634
Merge pull request #161 from vbatts/go-mod
update and tidy go modules
2021-06-25 22:21:25 -04:00
8f06855856
vendor: update the vendored sources
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-06-25 22:19:26 -04:00
66fcc4c2f9
go.mod: tidy up
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-06-25 22:19:25 -04:00
8653fc588a
Merge pull request #162 from vbatts/github-action
github: add action for build and validation
2021-06-25 22:18:45 -04:00
0e749301e9
github: add action for build and validation
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-06-25 22:17:01 -04:00
4d95ad8fcf
go: update deps
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-01-25 13:47:02 -05:00
3d350a825e
Makefile: '[[' misinterpreted as a command
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-01-25 13:46:31 -05:00
ced0ce3470
Merge pull request #160 from asellappen/master
Add poweron architecture ppc64le to travis build
2020-10-20 06:43:10 -04:00
Ubuntu
f2de0fb1a3 Add poweron architecture ppc64le to travis build 2020-10-19 11:38:42 +00:00
e34c4f37a7
version: bump master back to -dev
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-04-30 18:38:31 -04:00
2e000987c5
version: release v0.5.0
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-04-30 18:37:21 -04:00
d6df813dbc
Merge pull request #155 from tych0/fix-new
compare: return the right delta
2020-04-02 14:31:40 -04:00
Tycho Andersen
f0ebb0ab5b compare: return the right delta
Heh, copypasta error. Amazing I'm the first person who noticed this :)

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2020-04-02 12:03:07 -06:00
2b899d3655
Merge pull request #157 from vbatts/vendor
updating modules and vendor
2020-04-02 12:35:34 -04:00
ba9a13f463
updating modules and vendor
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-04-02 12:31:06 -04:00