Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

new script ch-convert #698

Merged
merged 29 commits into from
Oct 29, 2021
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
52e80ac
partial draft of ch-convert man page
reidpr Mar 13, 2020
1dd20c6
ch-convert man page
reidpr Mar 17, 2020
392d178
merge from master [skip ci]
reidpr Aug 13, 2021
bec9869
revise man page
reidpr Sep 1, 2021
c316039
add deprecation notices [skip ci]
reidpr Sep 3, 2021
8fa4a29
format and filename inference [skip ci]
reidpr Sep 7, 2021
d0e5821
test algorithm [skip ci]
reidpr Sep 8, 2021
1837003
implement and test ch-image, dir formats [skip ci]
reidpr Sep 9, 2021
51da749
docker, tar formats [skip ci]
reidpr Sep 10, 2021
64787fa
unroll loop in all-formats test [skip ci]
reidpr Sep 10, 2021
a6a05d7
fix tests [skip ci]
reidpr Sep 10, 2021
cca41f9
dir2squash [skip ci]
reidpr Sep 10, 2021
71e5023
add moar squash [ckip ci]
reidpr Sep 13, 2021
62eb089
test suite passes locally
reidpr Sep 14, 2021
5c9ea38
--no-clobber test
reidpr Sep 14, 2021
c1f0fe3
fix CI?
reidpr Sep 14, 2021
66d0215
doc tweak
reidpr Sep 14, 2021
1912d04
infer builder even if no colon
reidpr Sep 14, 2021
365ad7c
fix RPM build
reidpr Sep 14, 2021
1fad105
merge from master
reidpr Oct 14, 2021
adf5afc
twiddle misc/loc message
reidpr Oct 14, 2021
43053de
rm filename inference
reidpr Oct 14, 2021
5d0963f
update tests to use ch-convert
reidpr Oct 20, 2021
e363c79
shellcheck
reidpr Oct 20, 2021
9825a82
fix tests
reidpr Oct 20, 2021
52f66a7
accept .tgz extension for tar output
reidpr Oct 21, 2021
b6cc6c2
merge from master
reidpr Oct 26, 2021
a2b4b41
revise new docs from master
reidpr Oct 26, 2021
d79f421
merge from master
reidpr Oct 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bin/Makefile.am
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ dist_bin_SCRIPTS = ch-build \
ch-build2dir \
ch-builder2squash \
ch-builder2tar \
ch-convert \
ch-dir2squash \
ch-fromhost \
ch-pull2dir \
3 changes: 3 additions & 0 deletions bin/ch-build2dir
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ Usage:
$ $(basename "$0") -t TAG [ARGS ...] CONTEXT OUTDIR

ARGS are passed unchanged to "ch-build".
${deprecated_convert}
EOF
)

@@ -47,3 +48,5 @@ set -x
"${ch_bin}"/ch-builder2tar "$tag" "$outdir"
"${ch_bin}"/ch-tar2dir "${outdir}/${tag_fs}.tar.gz" "$outdir"
rm "${outdir}/${tag_fs}.tar.gz"

deprecated_convert_warn
3 changes: 3 additions & 0 deletions bin/ch-builder2squash
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ Usage:
$ $(basename "$0") [-b BUILDER] IMAGE OUTDIR [ARGS ...]

You must have sufficient privilege (via sudo) to run the Docker commands.
${deprecated_convert}
EOF
)

@@ -57,3 +58,5 @@ tar=${temp}/${image}.tar
# Create squashfs, and clean up intermediate files and folders.
"${ch_bin}/ch-dir2squash" "${temp}/${image}" "$outdir" "$@"
rm -rf --one-file-system "$temp"

deprecated_convert_warn
3 changes: 3 additions & 0 deletions bin/ch-builder2tar
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ Flatten a builder image into a Charliecloud image tarball.
Usage:

$ $(basename "$0") [-b BUILDER] [--nocompress] IMAGE OUTDIR
${deprecated_convert}
EOF
)

@@ -180,3 +181,5 @@ else
rm "$tar"
ls -lh "$tar_gzipped"
fi

deprecated_convert_warn
Loading