1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-12-22 22:06:29 +00:00
Commit graph

348 commits

Author SHA1 Message Date
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
f849a9299a
Merge pull request #156 from vbatts/go_versions
ci: fix dep failure, add go versions
2020-04-02 12:22:37 -04:00
6912c50eda
ci: fix dep failure, add go versions
including new version of golang. Switch to go1.14 for linting.
and remove the build of `dep`. We're on go modules for vendoring now.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-04-02 12:08:52 -04:00
7ce6c9c696 vendor: switch to go modules and update deps
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-11-12 09:28:03 -05:00
8b6de6073c
Merge pull request #154 from vbatts/dep
vendor: convert from glide to dep
2019-01-22 04:47:25 +01:00
4885a690ee
travis: drop go1.8
with the update to `golang.org/x/crypto`, the commit
c7dcf104e3
depends on a stdlib package introduced in go1.9

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-01-21 22:39:43 -05:00
656cd41822
Makefile: don't use glide for testable paths
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-01-21 12:06:24 -05:00
9be05594fe
vendor: update sources
```shell
dep ensure -update
```

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-01-21 11:03:35 -05:00