aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-01-06shellspec: add spec_helpermerakor
FossilOrigin-Name: df5c93b3f164a3826c97d1ca43924d44af1a5e156e2c4b2f0b8496c60b652868
2021-01-06shellspec: fix install_dummy functionmerakor
FossilOrigin-Name: 6ee23d2f9956dd0f3c13e45c281b754bf7e9c850f10c778def5d48cad26277a3
2021-01-06Merge branch 'master' into shellspecmerakor
FossilOrigin-Name: 61ffcfad09e6beee230c84a832a49412362086db535aae1c5a4c34affa3d7878
2021-01-06install.sh: add '-s' flag for calling sed on filemerakor
FossilOrigin-Name: acca0276be8cc7993174072783c5d7573ce6da9062a762ff1404ffcf27b4c99a
2021-01-05pkg_build(): create package directories manuallymerakor
This ensures that we create the needed directories regardless of pkg_extract() FossilOrigin-Name: c7c7c11246aeb74343f06e1d5d53ea9ad4cab2f4153d745cb00ae0c62f51b048
2021-01-05shellspec tests: add dummy packagemerakor
FossilOrigin-Name: f3030dbdf86db777d35323a4db2c102d4a507fd2a8900fad9c173e73d0f989e9
2021-01-05cpt-new: minor changesmerakor
FossilOrigin-Name: 5e00f38854a6d7867dec2ad81e15666976a4fad2e405292e02e1aec5baf7bdb1
2021-01-05GitHub Actions: fix testsmerakor
FossilOrigin-Name: 4ea3cf274fd655ed0d4410201162cdadccf8ff67c231fa539b8844917464a72f
2021-01-05GitHub Actions: fix testsmerakor
FossilOrigin-Name: e3de3b8e122b1c149ce812f736a26865c3094f9849c1c920b2174a8a316a754b
2021-01-05GitHub Actions: fix permission errormerakor
FossilOrigin-Name: 85c0989d6f7a9a18e0b0fd9ae66457107ae5a4ad37a5b9b0642262fad04febcc
2021-01-05GitHub Actions: update workflowmerakor
FossilOrigin-Name: b9a7a778edf0b1cada4e2353294bbc802ab8256368fb9922de2fc72ade2a679d
2021-01-05shellspec: add unit testsmerakor
FossilOrigin-Name: cc6f029081294c10be43ba51dedecb1997cc653215b587a566c0a527705162ab
2021-01-05docs: updatemerakor
FossilOrigin-Name: fbdd0898cb6bcbfeda903ed9eb3c5641c2e0f504e503fcc6eba5ed8c500e236f
2021-01-05cpt: add 'cbi' shortcut for checksum, build, and installmerakor
FossilOrigin-Name: a77a19063999297dfeb45dd725cb78dea0482030571dba0a34ae79b02e1c99fd
2021-01-05run_hook(): store and release the CPT_HOOK variablemerakor
FossilOrigin-Name: 4bd8dc7830c8308c31510e5624550b1cf39df1401b4091a5bb80a2e24e109a30
2021-01-05cpt-depends: minor changesmerakor
- cleanup usage - don't return with failure if a package doesn't have dependencies FossilOrigin-Name: ea75189322f12eda82c9dfdff60f5997d79c97e8ecf4a433df1be024776ba651
2021-01-05cpt-cat: minor changesmerakor
- Respect given filenames even when the first argument is empty - Clean up usage output FossilOrigin-Name: a755fa3c9719f79ebf3855a2a54ba73cd63481d211bf0430fbfe5572d43e3ccd
2021-01-04cpt-download: exit with success on usagemerakor
FossilOrigin-Name: aae19d6384369835236023c30bfb54d24e9bf4021ff8d6fa10dbed8611419229
2021-01-04cpt-checksum: exit with success on usagemerakor
FossilOrigin-Name: 81b5d4e8c446aa4e4df789882bb5900d9636f4e5f6e9206e01ed42dfce946ad0
2021-01-04cpt-alternatives: exit with success on usagemerakor
FossilOrigin-Name: ec9c5047e0bd1ef84104e66206db9a44e1b1e519f60519011c92b5c4e8e03657
2021-01-04LICENSE: updatemerakor
FossilOrigin-Name: b254f7b748a13302feaf8d437dbce4d7ee743988d250a8f41143e96147dc30d5
2021-01-04gitignore: updatemerakor
FossilOrigin-Name: d97192df979c94b54e6beb46c60ddde4aa71705f9b78123e4496239ac5ea755b
2021-01-04Merge 5.1.2 changesmerakor
FossilOrigin-Name: f47dc78435caed9f695a4f5cf61761945e741dd9fe5ee26d10532ab1d5f90f6d
2021-01-04fix changelog date5.1.xmerakor
FossilOrigin-Name: 6e3814b7119c2d167c02bdbfd747029fe3a8a9af78c38d430de5574706c22b04
2021-01-04cpt: update version to 5.1.2merakor
FossilOrigin-Name: 4423fa4ed6d8b958a2cab88b834ef267b979861431542b79abf02a00fefeff0d
2021-01-04Merge branch '5.1.x'merakor
FossilOrigin-Name: 035deb0250c22e7feafad486f8f2b1a40893ad87073c8e41ba4bdc0db0d23d62
2021-01-04docs: updatemerakor
FossilOrigin-Name: ded347af5f33221e20649e7531847ab28a2a905c72b0c7a2f1bca9270cb20960
2021-01-04pkg_swap(): fix swap regular expressionmerakor
This bug caused swapping prefix files to malfunction on manifest files. Example: swapping redo caused redo-* files to be swapped on the manifest with the name 'redo' without actually moving the files to the alternatives directory either. FossilOrigin-Name: 5966d079397154246173b94f53de83212c20edeb53f75089092cec352e6316f4
2021-01-04docs: updatemerakor
FossilOrigin-Name: d48d21b88e83f4bf4730dcaf3a528381821c415731f24620f2f09bf86fbc33a6
2021-01-04lib.rc: find all .redo directoriesmerakor
FossilOrigin-Name: 2586054342500fb820de12b297f7e93ff242c6f98ebcd19898e13a10aa78e675
2021-01-04docs: updatemerakor
FossilOrigin-Name: 6a651165f4dd8eb0357965743314a3aecb265b1ba8f4796d375a9b4521e50d3d