1
Fork 0
Commit Graph

60 Commits (main)

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 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
Motiejus Jakštys 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
Motiejus Jakštys f02af98ac5 nit: shorter defer body 2021-08-29 18:39:43 +03:00
Motiejus Jakštys 436a866f5d add WithFilePrefix
This adds an option to prefix every file path with a given string.
2021-08-29 16:55:32 +03:00
Motiejus Jakštys 34a4ebfeaa additional error check 2021-08-19 16:32:22 +03:00
Motiejus Jakštys f1566184cf determine gzip archives from magic values
instead of guessing.
2021-08-13 15:27:44 +03:00
Motiejus Jakštys 3d6f45f81c lint 2021-06-01 09:00:27 +03:00
Motiejus Jakštys 3964223049 move tartest to rootfs/internal 2021-05-31 21:45:15 +03:00
Motiejus Jakštys ccdea382b6 update doc formatting 2021-05-31 21:44:17 +03:00
Motiejus Jakštys 986cd594ed fix include paths 2021-05-24 00:11:58 +03:00
Motiejus Jakštys f16bca5ce6 remove bazelishms 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 26c03ed8d1 remove last assert 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 2f484824fb update README and misc files 2021-05-24 00:11:58 +03:00
Motiejus Jakštys c042482a2f remove testing dependencies 2021-05-24 00:11:58 +03:00
Motiejus Jakštys a688450fb8 move to sr.ht 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 0e24590e1d doc + bugfix 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 7f2293859b more robust manifest <-> tarball handling 2021-05-24 00:11:58 +03:00
Motiejus Jakštys d7fb5140e8 refactor go-flags initialization 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 861f0d319a remove multierr dependency 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 9ca0d8019c simplify flattener api 2021-05-24 00:11:58 +03:00
Motiejus Jakštys e2cf760c12 remove ByteCounter from rootfs 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 6c3943a3cc move tw initialization later 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 59ab408601 commentary 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 1e745bdea1 rename discarder to proxyWriter 2021-05-24 00:11:58 +03:00
Motiejus Jakštys d61e0a58f1 naming 2021-05-24 00:11:58 +03:00
Motiejus Jakštys fd244bfc23 read gzip archives 2021-05-24 00:11:58 +03:00
Motiejus Jakštys a45e512697 byteCounter tests 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 98fd78bb50 bytecounter 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 69bf4d7074 report name on failing untar 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 7f9d150a33 wip xz/commander 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 890d99cd3e golint 2021-05-24 00:11:58 +03:00
Motiejus Jakštys b622d991cf wip lxcconfig tests 2021-05-24 00:11:58 +03:00
Motiejus Jakštys ccd34cf34b move rootfstest to tartest
it's not "rootfs" or "docker" any more.
2021-05-24 00:11:58 +03:00
Motiejus Jakštys 81db130c94 use `.Buffer()` for layer contents 2021-05-24 00:11:58 +03:00
Motiejus Jakštys c3be4bdb35 remove redundant line 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 98373a151d Rootfs is now a struct 2021-05-24 00:11:58 +03:00
Motiejus Jakštys d372a538ce add hardlink test 2021-05-24 00:11:58 +03:00
Motiejus Jakštys cb1045db17 add rootfstest 2021-05-24 00:11:58 +03:00
Motiejus Jakštys eb9f4d5400 preliminary unit tests 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 02cec0f76f make Tree private 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 8dedaebcf7 move tree/ to rootfs/ 2021-05-24 00:11:58 +03:00
Motiejus Jakštys b76a500f2e wip lxc-config 2021-05-24 00:11:58 +03:00
Motiejus Jakštys ae9c197be0 docs 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 628b178e23 start using tree 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 0f08cef777 add tree 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 48dd16fe27 whiteout tests 2021-05-24 00:11:58 +03:00
Motiejus Jakštys 4c7afb8afa doc 2021-05-24 00:11:58 +03:00
Motiejus Jakštys ef777d9e86 'want' can also accept different types 2021-05-24 00:11:58 +03:00