Commit Graph

61 Commits

Author SHA1 Message Date
Andrei Errapart
555983fc2e Dropped check for the presence of .tar extension in blob names, which caused undocker to fail for newer Docker images. 2024-09-10 10:42:02 +03:00
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
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
3964223049 move tartest to rootfs/internal 2021-05-31 21:45:15 +03:00
ccdea382b6 update doc formatting 2021-05-31 21:44:17 +03:00
986cd594ed fix include paths 2021-05-24 00:11:58 +03:00
f16bca5ce6 remove bazelishms 2021-05-24 00:11:58 +03:00
26c03ed8d1 remove last assert 2021-05-24 00:11:58 +03:00
2f484824fb update README and misc files 2021-05-24 00:11:58 +03:00
c042482a2f remove testing dependencies 2021-05-24 00:11:58 +03:00
a688450fb8 move to sr.ht 2021-05-24 00:11:58 +03:00
0e24590e1d doc + bugfix 2021-05-24 00:11:58 +03:00
7f2293859b more robust manifest <-> tarball handling 2021-05-24 00:11:58 +03:00
d7fb5140e8 refactor go-flags initialization 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
890d99cd3e golint 2021-05-24 00:11:58 +03:00
b622d991cf wip lxcconfig tests 2021-05-24 00:11:58 +03:00
ccd34cf34b move rootfstest to tartest
it's not "rootfs" or "docker" any more.
2021-05-24 00:11:58 +03:00
81db130c94 use .Buffer() for layer contents 2021-05-24 00:11:58 +03:00
c3be4bdb35 remove redundant line 2021-05-24 00:11:58 +03:00
98373a151d Rootfs is now a struct 2021-05-24 00:11:58 +03:00
d372a538ce add hardlink test 2021-05-24 00:11:58 +03:00
cb1045db17 add rootfstest 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
48dd16fe27 whiteout tests 2021-05-24 00:11:58 +03:00
4c7afb8afa doc 2021-05-24 00:11:58 +03:00