aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-12CHANGELOG: updatemerakor
FossilOrigin-Name: d718b1e7228c0e44a41919cf1e98afdb3c073bbcbaeeff35a36c543688fa966d
2021-03-12cpt-link: change usage, add documentationmerakor
cpt-link now uses '-p' flag for specifying a package. FossilOrigin-Name: 74b38d49d091c6daeb93a27882906117bdaf655c79d4264474517253fab1d696
2021-03-12docs: updatemerakor
FossilOrigin-Name: fb505a8b22eb533c8857eaa002228f2c950ac1cdb4c7b314daf7b61cb25bed53
2021-03-12cpt-chroot: add manual page outputmerakor
FossilOrigin-Name: 544a7e5d86eb5e1b8804a9ca907fee663a42a2632e820d62f37f07f66001beeb
2021-03-12cpt-chroot: use standard usage outputmerakor
FossilOrigin-Name: a078c4bace267dd68c8bd4454d01bedbb91a30048c6ed2b3ff63ebde8a170c57
2021-03-12tool2man.sh: Add script to generate manual pages for 'contrib' scriptsmerakor
FossilOrigin-Name: fd62ce6e6025574475ba55ce2c623e5b0fe5c4da90bafc6a2ddaa4a47a9cc951
2021-03-12pkg_remove(): Fix reverse dependency resolving on sbase grepmerakor
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
2021-03-08build.yml: updatemerakor
FossilOrigin-Name: ab6eef8c694cd74d9e6cc4ef4c971d4a9b929aea3e1c78bcfbe293406c1cc500
2021-03-04fix build.ymlmerakor
FossilOrigin-Name: b7ad6f8f2c72a1dd556c27ab2e6d9b63e07f13a5d726128fa1631a80f5e777d7
2021-03-04.build.yml: switch to specified version until I update testsmerakor
FossilOrigin-Name: 73e3a2138ead56e58d34f93ac67b7a37116172fd49b4af78c431214f518b6f7e
2021-03-04.build.yml: updatemerakor
FossilOrigin-Name: 81d47900c802cd9fe6b929ac99a75587e6378edc91d2bd76bff725639fef7c5a
2021-03-04.build.yml: updatemerakor
FossilOrigin-Name: 9b5f62b19d93b49e9fe79b64ff0bf67cc95439b15c5f81b890533c0ce5e870fe
2021-03-04.build.yml: updatemerakor
FossilOrigin-Name: f055d61a10341810fd9ff6d01695dc95da612f98b288ddf1db67093e6c075b64
2021-03-04tests: switch to builds.sr.ht from githubmerakor
FossilOrigin-Name: a506e1252474a223e5d0e4208d714f8d0991732f0e5d5b2fa7af6dfd599e6e09
2021-02-28README: updatemerakor
FossilOrigin-Name: dc4c716ef4049d38cbe40f4da00892d0fe9b8063d31df3f633f99e2fde5669a2
2021-02-25Makefile: fix dependenciesmerakor
FossilOrigin-Name: 5f22447a55d7e91c070f532c28d9033b168dd47553a41bdecb582165e6322ad8
2021-02-25cpt: add support for lz compression/decompressionmerakor
FossilOrigin-Name: d184f8e784279a92746e9de38b1b2c7359534204ed0f75575a07ddac3fbac4e8
2021-02-24update manual pagesmerakor
FossilOrigin-Name: e053d099bc1dc54208956ffdae0899d8b6c5a6f60892ea5d56c1e1ebe1dbd544
2021-02-23dummy cpt-base file for testsmerakor
FossilOrigin-Name: d04d47c381f555952010b25f9320b1c7977f0fa97c95616d0d177dbb5762701d
2021-02-23spec: update unit testsmerakor
FossilOrigin-Name: eede5e5811b54004a94339e5fd5397021d0aca2085c244ff2693bfd0bbc4a5c5
2021-02-23pkg_query_meta(): new function to query meta files inside package directoriesmerakor
FossilOrigin-Name: 6ffa441f3ea44d7176fd45de239f0f54ac2175f1e17b6d6419579a2d5c2cbc98
2021-02-23pkg_{gentree,get_base}(): use format for newline handlingmerakor
FossilOrigin-Name: 422290edbd1d0c1cf98ae3d239f49c901eadf736f957bf1328df939de2cc9f63
2021-02-23pkg_get_base(): use for loop instead of while loopmerakor
FossilOrigin-Name: 3b5c37511a3cc0e5164844a08e64af2b8e39f578e8d31e23f3d5c183ecefa40d
2021-02-22pkg_get_base(): return the dependency tree as wellmerakor
FossilOrigin-Name: 393a3a3099894625cffeec866889b3534b8b1d8866f4d967a73f3986101c55a4
2021-02-22pkg_gentree(): add 'f' key to include the package itselfmerakor
FossilOrigin-Name: 7cd4336b0ea7c9571aa6c843afb3efdec5677f0d10d939ede95bacb9a0ed2fac
2021-02-22pkg_gentree(): exit instead of returning error with unknown keymerakor
FossilOrigin-Name: 36c7a2c98510370887251c35cc19e7c1a42893d12677fe9c1a93b541d9d56b1c
2021-02-07as_root(): reflect rename: sls -> ssumerakor
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
2021-02-04cpt-alternatives: use getoptions parser so that global options are recognizedmerakor
FossilOrigin-Name: 1cb9a4e4a9b69ba0dd91f48ff1100587dc6ffb9b9fed7e060f838672f1294473
2021-02-04cpt-lib: disable faulty shellcheck error on older versionsmerakor
FossilOrigin-Name: 240daa9617936e7676d568290a1660a01262ec50571d7431b1ca60735aab6634
2021-02-04shellspec: simplify sed callmerakor
FossilOrigin-Name: 068344d7b0d20d8e1fa6a79ac2d8e7cb14d9e70ac0260545207a8714dedf0371
2021-02-04shellspec: use config.mk instead of config.rcmerakor
FossilOrigin-Name: 64e9418a9b9fc40e90eb69668ab7a92f32732f2809973c4a080387f8dd0bec69
2021-02-04GitHub actions: fix workflowsmerakor
FossilOrigin-Name: 8e2bc2c414caf29041b0a2e85e0701f0c8197d72004c88e58af658a04852e754
2021-02-04docs: updatemerakor
FossilOrigin-Name: 866439df8a013c36f591f568e2a061df0eff2bbbc64120468e1a1527abf69f4a
2021-02-04docs: updatemerakor
FossilOrigin-Name: e1aaeb99cb71189c4b86cc28a1b3377a1787e0e534bc7b03b94a37344b7bd3c0
2021-02-04cpt: switch back to 'make'merakor
FossilOrigin-Name: 048c099fa4155f31725c51c27b09359d7b04f4c2d7e64f2a2b381ab7dea7803d
2021-02-04Merge branch 'shellspec'merakor
FossilOrigin-Name: 9f02ac446d6b0e692389a85882df0ff8b2ac54ea40c0f040c5c4dd1713456a21
2021-02-04pkg_extract(): Add support for pax and add new methodsmerakor
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
2021-02-04pkg_find(): break early if only a single match is requestedmerakor
FossilOrigin-Name: ff26aa326167c4751040d86e06e298ac11b4ed7923b729ed3940e881bdc24124
2021-02-04docs: updatemerakor
FossilOrigin-Name: fe4da8579b2d3046d754f207680c00f1d73e38ada24a60f2e05fb1e8c55532fe
2021-02-04getoptions: update to 2.5.0 of the librarymerakor
FossilOrigin-Name: 536a4979e768c7b605a393251f0468a878e46a23b554045049b7404072b5258b
2021-02-04cpt-search: add option to ignore package databasemerakor
FossilOrigin-Name: a7f5ddfe5f7fdc9ea329ed8175c3ad237e7a7460bcbb3de4855d2af3f233176b
2021-02-04CHANGELOG: updateshellspecmerakor
FossilOrigin-Name: 2f86e4dcd364a42e777e19a2af8b531f726073562864e6c918df6704ad1942a2
2021-02-04cpt-export: properly fallback to gzmerakor
FossilOrigin-Name: 0ab060ec8b5253ee6220fe9778f552a44eb145be5adfe4dc0398b671e6bba1c4
2021-02-04specs: updatemerakor
FossilOrigin-Name: c8b7e2be6108720ed5ec3944dda624d0c28cda5ed5fb5b20908a86f76da33da8
2021-01-11cpt-export: use sed to generate manifestmerakor
Testing the boost package, using sed results in a significant reduction for argument generation instead of using the 'read' function. Below are the 'time' stats for the script. Previous: real 0m 58.95s user 0m 55.80s sys 0m 3.54s Current: real 0m 0.66s user 0m 0.78s sys 0m 0.27s FossilOrigin-Name: 80d891e830579822317d30b66b1b019828fca9343ada23ce17585622288deef3
2021-01-11cpt-export: simplify tar usagemerakor
FossilOrigin-Name: a983ef58192f4474e7e6718bd3372eb0c7f2027195eda17f22dbb58f7c519a55
2021-01-11cpt-export: change directory in a subshellmerakor
FossilOrigin-Name: 063411c0c7d0323b39f8d915486cda56ab77155d89c764870018ace267630445
2021-01-11shellspec: update specfiles and add new dummy packagemerakor
FossilOrigin-Name: 9f5fecd16504a19d69468b4d07cf70361ec9c5ff424bdb1705f16dfddc9b2c48
2021-01-11Merge branch 'master' into shellspecmerakor
FossilOrigin-Name: 94848f85f007179374152acd12dbb17a983411237b758a5941009696e90ed271
2021-01-11cpt-cat: fix using alternate root directoriesmerakor
FossilOrigin-Name: a3feee4df8569e69b9b3581078ac9771e18f10af48476f16ae1cf798f07440f5