Motiejus Jakštys
e6d1a95c02
upgrade to go 1.20
...
use errors.Join
2023-05-19 15:05:21 +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
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
436a866f5d
add WithFilePrefix
...
This adds an option to prefix every file path with a given string.
2021-08-29 16:55:32 +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
3d6f45f81c
lint
2021-06-01 09:00:27 +03:00
2f484824fb
update README and misc files
2021-05-24 00:11:58 +03:00
7f2293859b
more robust manifest <-> tarball handling
2021-05-24 00:11:58 +03:00
861f0d319a
remove multierr dependency
2021-05-24 00:11:58 +03:00
9ca0d8019c
simplify flattener api
2021-05-24 00:11:58 +03:00
e2cf760c12
remove ByteCounter from rootfs
2021-05-24 00:11:58 +03:00
6c3943a3cc
move tw initialization later
2021-05-24 00:11:58 +03:00
59ab408601
commentary
2021-05-24 00:11:58 +03:00
1e745bdea1
rename discarder to proxyWriter
2021-05-24 00:11:58 +03:00
d61e0a58f1
naming
2021-05-24 00:11:58 +03:00
fd244bfc23
read gzip archives
2021-05-24 00:11:58 +03:00
a45e512697
byteCounter tests
2021-05-24 00:11:58 +03:00
98fd78bb50
bytecounter
2021-05-24 00:11:58 +03:00
69bf4d7074
report name on failing untar
2021-05-24 00:11:58 +03:00
7f9d150a33
wip xz/commander
2021-05-24 00:11:58 +03:00
98373a151d
Rootfs is now a struct
2021-05-24 00:11:58 +03:00
eb9f4d5400
preliminary unit tests
2021-05-24 00:11:58 +03:00
02cec0f76f
make Tree private
2021-05-24 00:11:58 +03:00
8dedaebcf7
move tree/ to rootfs/
2021-05-24 00:11:58 +03:00
b76a500f2e
wip lxc-config
2021-05-24 00:11:58 +03:00
ae9c197be0
docs
2021-05-24 00:11:58 +03:00
628b178e23
start using tree
2021-05-24 00:11:58 +03:00
0f08cef777
add tree
2021-05-24 00:11:58 +03:00
4c7afb8afa
doc
2021-05-24 00:11:58 +03:00
3d960c235f
retain original dirs
2021-05-24 00:11:58 +03:00
fac91d84e2
prevent bugs in tests easier
2021-05-24 00:11:58 +03:00
25df146ca5
fix unit test; use pax
2021-05-24 00:11:58 +03:00
9e1d2601ac
adding tests
2021-05-24 00:11:57 +03:00
dff0a38206
add some tests
2021-05-24 00:11:57 +03:00
b49779600c
wip rootfs tests
2021-05-24 00:11:57 +03:00
3279b52973
move rootfs to its own package
2021-05-24 00:11:57 +03:00