Age | Commit message (Collapse) | Author |
|
FossilOrigin-Name: daf41c997422fed2029c7c4d998c2612fa50b6376a37ae030dd177028cfcddbe
|
|
FossilOrigin-Name: bba28d0462c886c00d45362fe9641aa87a37249800aa85f0b3e9d4c513ddc2e5
|
|
FossilOrigin-Name: 095dc0bf02a3988aa78a879ad633f712395fd8213e92edb41f13cbcf3b28b61d
|
|
FossilOrigin-Name: 5f74fbab217d6da414faf1cc1ddcc8a1a2e39c02e542af4c31ae9ffb01d20209
|
|
FossilOrigin-Name: 7ffdd04d1f69239fa0015d4ed600cadbd1d8eb5524481f854b5a0de2ac9cd8dd
|
|
FossilOrigin-Name: b9abb2deb7de903cd6295dee955604834032fc0eb1959ce6255bcfa0a2eb51a4
|
|
to this function for better scriptability
FossilOrigin-Name: 368840cf577d21bca584d84f3421d0ce62bb30797fef08bfc49aaa98a5c7fddf
|
|
FossilOrigin-Name: 6fd840fac7d14a2116ad4b2a69b82e2f10f1bbee0ecdc4cd7cc788ab1c530881
|
|
FossilOrigin-Name: 76313c31f354c6cae7116d8bd48252e423c904dac984e759ed8f0109f13408cf
|
|
FossilOrigin-Name: b742975103f6f7a4fccfb134b1b02d11696c263ce66fae5ea3623a1fd7316690
|
|
FossilOrigin-Name: befb6d2ef325c104e4fecada7e9a735e33b1fc2c4e1c79efdfd02089b88c9270
|
|
FossilOrigin-Name: fbdbaaea8a4d9427e8b7549ea7afd2a2bb7febb487e652ee20244f4ee76e1225
|
|
FossilOrigin-Name: 23452c0f1626644a29d551363d00f89bdd0f100447603ae81f6f26aa61b5f195
|
|
https://github.com/kiss-community/kiss/pull/35
FossilOrigin-Name: c107a07f6d31d9df0c96e66175e3936d6f90f4ac282250987c6518f680b0dc9c
|
|
FossilOrigin-Name: d8f23773823c4702411f0af671d067db80936ec5095fe31e54dd47705250df8b
|
|
FossilOrigin-Name: 0e1a60744123c5e9958a20ae5980ea4f47d51bbe4d27958130d28da55837c9a8
|
|
FossilOrigin-Name: cac0d2ddb5a2e8e68871a5d5f8cbb90ea97c5289527467fcf24d45a3f018a958
|
|
FossilOrigin-Name: de92ec227b6f016847334689456895177b2d727f031464e1feb67d59b9df53c9
|
|
FossilOrigin-Name: dde4df8fc98bbe3b8ad590d50ab4309a746ca0231d1398cbdbead7c1fa91e89f
|
|
FossilOrigin-Name: 0c4d3b4f41e668311597f08a6a819876a0fca5062f372a427350226a938d4afa
|
|
FossilOrigin-Name: 1f4476fd14406be62ea7a09a9ea0f6cc04907b6eeecbd991396cb91f9e5e96dd
|
|
FossilOrigin-Name: 2ded60ede324d5b94db96a5267b22263281e611b1662f327c31da3c21b6acf48
|
|
FossilOrigin-Name: 7f6535ab78b05c31f751fa763ff988ace8d4c6bda99fddeb2bc7638e2c07d221
|
|
FossilOrigin-Name: c0bbaed4949169d212ece054db5c9f278abb57f1242043bcb18409a286e3cb45
|
|
FossilOrigin-Name: 1139782a2f958ea86a02eb3b252c8fc8fe75786510ef73e65d9e03eb5d4a2f44
|
|
FossilOrigin-Name: 6e5c41e40438e00decab65e1dcbb577274f06069ba2b8dd5b4d124cd6dc2880b
|
|
FossilOrigin-Name: 2aaf44b696b5d66754f9886c20e9f705ae736213c8daa63e55620f239b0a92ef
|
|
FossilOrigin-Name: 5c9058614a2b092590fe45fd58017f87a3cd995a32fbc56640c5ce99438501f1
|
|
FossilOrigin-Name: 83ae4a759534bb013b2b6c3db11874017869e70c7566f89dc6a86a0b2c4c6df3
|
|
FossilOrigin-Name: 02afaeacc5979da2b39da26aa7e0145f4d120cbddfeaa4bfc8060c319c85b672
|
|
FossilOrigin-Name: 69c1bc599a5f6e9127ac31af9c8334d427b52746d0c10723fe4938b443c3d158
|
|
FossilOrigin-Name: 541a3f8b59bda394154164db7901e8957d578a543ab020b29b71f14de5d13886
|
|
FossilOrigin-Name: 75d3b93e2d6d4a8e7a5b0d5e36a68289c7923ecff4140784363a3e78a068ec02
|
|
FossilOrigin-Name: 51658a4ad9ab409e8cc776d2640cb2eb6da420ea0791f071142afb0a588b67d2
|
|
FossilOrigin-Name: 5e436d4946dc736529a60834f37cc6055a7ad672de30c1f347e22ef0e3bb1107
|
|
The substitution we used on pax didn't exactly match the behaviour of
tar implementations that supported `--strip-components`. This change
makes sure that we actually DO strip a component no matter what and we
don't have inconsistencies between the choices we deliver.
FossilOrigin-Name: 3c2771c89e72ef79de6aa0d1f53ad1bf3a11b654e022ee5c5d0761da01e1c335
|
|
sbase utilities don't accept flags after arguments begin, meaning that
the '--' is accepted as an argument instead of the "end flag", which
causes the utility to fail because it looks for a file named '--'.
FossilOrigin-Name: 29dc20b69d0e93cc8a4a52601745135911e7f396d25bf5653728efc88025f775
|
|
FossilOrigin-Name: d184f8e784279a92746e9de38b1b2c7359534204ed0f75575a07ddac3fbac4e8
|
|
FossilOrigin-Name: 6ffa441f3ea44d7176fd45de239f0f54ac2175f1e17b6d6419579a2d5c2cbc98
|
|
FossilOrigin-Name: 422290edbd1d0c1cf98ae3d239f49c901eadf736f957bf1328df939de2cc9f63
|
|
FossilOrigin-Name: 3b5c37511a3cc0e5164844a08e64af2b8e39f578e8d31e23f3d5c183ecefa40d
|
|
FossilOrigin-Name: 393a3a3099894625cffeec866889b3534b8b1d8866f4d967a73f3986101c55a4
|
|
FossilOrigin-Name: 7cd4336b0ea7c9571aa6c843afb3efdec5677f0d10d939ede95bacb9a0ed2fac
|
|
FossilOrigin-Name: 36c7a2c98510370887251c35cc19e7c1a42893d12677fe9c1a93b541d9d56b1c
|
|
See https://github.com/illiliti/ssu/issues/2
sls is moved to the end of preference order, and will be removed at the
end of May. A deprecation notice is printed every time as_root is called
with sls.
FossilOrigin-Name: aedab01c988ac2f25014c27e776075288f97b2083b5b06d500673cc2ae62a193
|
|
FossilOrigin-Name: 1cb9a4e4a9b69ba0dd91f48ff1100587dc6ffb9b9fed7e060f838672f1294473
|
|
FossilOrigin-Name: 240daa9617936e7676d568290a1660a01262ec50571d7431b1ca60735aab6634
|
|
FossilOrigin-Name: 048c099fa4155f31725c51c27b09359d7b04f4c2d7e64f2a2b381ab7dea7803d
|
|
Even though we had a portable extraction method for tarballs, this slowed
down the extraction immensely. I have added 2 new methods for tarball
extraction so that we have faster extraction speeds based on the system
tar implementation. Here are the options with the order of preference:
- pax: Although an uncommon program, pax is defined by POSIX, and
supports regular expressions, meaning that we can 'strip' components.
This is slightly faster than bsdtar and GNU tar.
- bsdtar/gnutar: We simply use '--strip-components 1' for these tar
implementations.
- tar: This is the portable method we had been using for a while, it's
good, gets the job done, but it is slower.
Here is also a little benchmarking I did by extracting the Linux tarball
for 10 times per method.
tarball=$CPT_CACHE/sources/linux-headers/linux-5.10.12.tar.xz
for extract in pax bsdtar tar; do
time sh -c ". cpt-lib
extract=$extract
for i in \$(seq 10); do
mkdir -p hdr; cd hdr;
tar_extract \"$tarball\"; cd ..;
rm -rf hdr
done"
done
This yields the following output, methods are as ordered above:
sh -c 75.21s user 11.11s system 115% cpu 1:14.90 total
sh -c 78.68s user 14.64s system 124% cpu 1:15.15 total
sh -c 99.88s user 69.99s system 119% cpu 2:21.70 total
FossilOrigin-Name: 45e3a9a03e7eff9b30b0e911d68d44068e8681ebf4501f271c8a686118f29243
|
|
FossilOrigin-Name: ff26aa326167c4751040d86e06e298ac11b4ed7923b729ed3940e881bdc24124
|