Commit Graph

170 Commits

Author SHA1 Message Date
Motiejus Jakštys
e6d1a95c02 upgrade to go 1.20
use errors.Join
2023-05-19 15:05:21 +03:00
Motiejus Jakštys
725fb5679b move to git.jakstys.lt 2023-04-13 11:30:37 +03:00
Motiejus Jakštys
8f80dc49f5 re-license to apache2 2023-02-09 10:23:35 +02:00
Motiejus Jakštys
6d24d0da7a replace io/ioutil with os 2023-01-03 16:00:34 +02:00
Motiejus Jakštys
d3efb410d0 make: fix clean target 2022-08-29 18:02:22 +03:00
1c46fb8617 release: a better changelog 2022-06-09 14:28:39 +03:00
4408a9e005 rootfs: remove ./ prefix from filenames
I've seen a container (private one) whose filenames start with ./, but
the layer name does not have the prefix, causing undocker to fail.

Let's always normalize the names to not have the prefix.
2022-06-09 14:22:21 +03:00
41baf180a3 [ci] merge test and lint steps to one 2021-09-29 14:45:53 +03:00
4754869190 [ci] replace tee with awk 2021-09-29 14:43:33 +03:00
ec62b65ecd [ci] add a usage step 2021-09-29 14:38:31 +03:00
0ff72b99d9 remove unnecessary support for prebuilt binaries
the users will know how to build the binaries themselves.
2021-09-29 14:30:18 +03:00
e4c0d4d72a remove references to 'official' binaries 2021-09-27 19:08:04 +03:00
eab7c3c1ef [release] fix nullglob issue 2021-09-06 15:36:50 +03:00
ec61d24fd4 [nit] Makefile style 2021-09-06 09:01:05 +03:00
d3933efd74 Update README
- add communication section
- remove systemd-nspawn section
2021-09-06 08:25:11 +03:00
a265915b21 Shellcheck release 2021-09-01 09:41:00 +03:00
8c00e74df9 Update release script
- fix paths of sha256sum
- check for old artifacts before doing the release
2021-09-01 09:38:13 +03:00
5e297827d3 update README with more actionable examples 2021-09-01 09:32:26 +03:00
dc03b29e6e Revert "add WithFilePrefix"
This reverts commit 436a866f5d.

This is not a good place for such auxiliary functionality; will be moved
elsewhere.
2021-08-29 18:40:11 +03:00
f02af98ac5 nit: shorter defer body 2021-08-29 18:39:43 +03:00
cca579d218 update Makefile and default target
Adds a `sha256sum-$(VSN).txt`. For easier CI.
2021-08-29 18:23:49 +03:00
436a866f5d add WithFilePrefix
This adds an option to prefix every file path with a given string.
2021-08-29 16:55:32 +03:00
71aab65b75 version sha256sum files 2021-08-29 07:49:32 +03:00
984752b812 remove unused archs
I am not using nor need arm64 and windows. Removing these from the
Makefile. If you see this message and feel like they should be added
back (or different archs), ping me.
2021-08-25 08:57:10 +03:00
4568429a69 main.go: remove file if on Flatten(..) failure
When a Flatten() fails, the main program used to leave an incomplete
file (usually zero-length). Now it will clean itself up on failure.
2021-08-25 08:49:30 +03:00
6f40bc91be simplify linter 2021-08-24 17:23:31 +03:00
63d171007e shellcheck 2021-08-24 16:44:58 +03:00
5d4d6410da remove windows/arm64
not available on go 1.16
2021-08-24 14:50:30 +03:00
d3dc675d07 add file which helps releases 2021-08-24 14:13:40 +03:00
6dd7678e64 add version info to the binary 2021-08-24 07:03:49 +03:00
be668f21e8 tag version 2021-08-24 06:47:38 +03:00
ef583c159f sha256sum 2021-08-23 16:42:57 +03:00
48800cee35 compile all targets 2021-08-23 16:32:37 +03:00
a000e0c482 simpler generator 2021-08-23 16:32:05 +03:00
6902590e82 add more targets 2021-08-23 16:29:41 +03:00
98139c198c update README 2021-08-19 16:41:58 +03:00
34a4ebfeaa additional error check 2021-08-19 16:32:22 +03:00
f1566184cf determine gzip archives from magic values
instead of guessing.
2021-08-13 15:27:44 +03:00
8d298610f2 add all target 2021-06-01 19:54:55 +03:00
1d58548136 lint is a composite target 2021-06-01 19:47:45 +03:00
b138e2b1f8 go vet comes first, it's faster. 2021-06-01 09:10:10 +03:00
c7b6a276f1 revert go.mod
this is installed out-of-band
2021-06-01 09:08:47 +03:00
719919b3d8 gopath fixes 2021-06-01 09:07:32 +03:00
dea74a6595 go install -> go get 2021-06-01 09:03:09 +03:00
3d6f45f81c lint 2021-06-01 09:00:27 +03:00
86b7c30680 add undocker target 2021-06-01 08:49:39 +03:00
4a611a9699 fix undocker path 2021-06-01 08:43:36 +03:00
ff11d83ab0 add coverage.html 2021-06-01 08:42:56 +03:00
21cafcfc16 more artifacts 2021-05-31 23:57:40 +03:00
1156bd7f8c add builds.sr.ht status 2021-05-31 23:45:04 +03:00