aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-01-04docs: updatemerakor
FossilOrigin-Name: 930c5a9d43e4b804cbbf6dc103b99cbc1b2e488d1935f7a32153c8ea46bfac84
2021-01-04docs: add portability functionsmerakor
FossilOrigin-Name: 86f635837ee62d81b8742fe845239233dd0f31f8cc763e35e7e699efc0631dbd
2021-01-04docs: updatemerakor
FossilOrigin-Name: f6b84f77b10b0ddc6f9560fe44b6ec4504dc3dac81c9c30df5b2017a333dbb26
2021-01-04pkg_get_base: fix shellcheck error on older versionsmerakor
Just so you know, the error is due to a bug on the older versions, but we still don't want checks to fail because of it. Installing newer versions of shellcheck takes too long on test containers that I am okay with fixing a faulty error. FossilOrigin-Name: 179ced7baf35e7eace835e1f7903ce72d2249e7ec6c809cfdd92ba7aa14b2517
2021-01-04pkg_get_base(): Return with success if cpt-base doesn't existmerakor
FossilOrigin-Name: cc958373d206ec3dd65008461a715120b25f05772b9a2d70539b3a53839569c2
2021-01-03pkg_gentree(): add function to generate a dependency graphmerakor
FossilOrigin-Name: e56971ac89f4a4e1c3efd62dad13b3a1c43bc6266c2803600995954cb61ee6cd
2021-01-03pkg_get_base(): add function to print the packages defined in /etc/cpt-basemerakor
FossilOrigin-Name: f282158e981153846bc1aca83263de583403dd78444435cb139a7f25e6658c4e
2021-01-03sepchar(): add function to seperate characters on given stringmerakor
FossilOrigin-Name: 3c44de3bfd6fbf69658371b2d8cd4d30043dd6f9b568c43ab30291925ebc582e
2021-01-03_seq(): add function to print numbers sequentiallymerakor
FossilOrigin-Name: e512f7d12e12c16fe109cfdf642361bb46ba594273ecacd93531c0ddfb144a8e
2021-01-03as_root(): add `sls` to accepted root toolsmerakor
FossilOrigin-Name: ca05dfca6f8529b23647ddac4e9d7d3317c4508ee15045e60a4eac63787a04b7
2020-12-30cpt-install|cpt-remove: fix faulty CPT_PATHmerakor
FossilOrigin-Name: 47fe062d11c48e1cc51d6a2a4d6e3e4d54524e27281dc18ef69ec71f3bd9bcb4
2020-12-30cpt-owns: remove cpt-lib callmerakor
FossilOrigin-Name: 779971096227b4fe8f2333a4104dfe6bd75dcebea08505aa21799a68fc66587a
2020-12-30cpt-build: fix faulty CPT_PATH settingmerakor
FossilOrigin-Name: e34f2e3bf42cdfa6bdc94ffafbf1c7d58bc2a377608549e70c7b8bc426592272
2020-12-27github: fix workflowmerakor
FossilOrigin-Name: 17a020af2f5ea1a22f4f361781b4090f33021af001559e6040d49b71805f272f
2020-12-27tools: add install.shmerakor
FossilOrigin-Name: ba9f9fd3cd76c916c02529ef75189536fe0e3f35e0af65b2c22a268b19878d42
2020-12-27cpt: print docstrings using awk instead of sedmerakor
Using awk, we can achieve the following things: - Ignore the rest of the file (2 times faster than sed) - If the line doesn't match the docstring pattern, we can just print a newline instead. I am not exactly really familiar with awk scripting so there might be a better way of doing this. In that case please send a patch and I will apply it. FossilOrigin-Name: bf65db74ad6552bb374f3535ef2a5333bbc0dc3d20563ec37e821036e07f621f
2020-12-27do: move to tools directorymerakor
FossilOrigin-Name: 601842a9a0147dcf4ad04386ebd690ccc252cb6b27b98b7cd7cd06ea8b7ce6ad
2020-12-26lib.rc: fix getbin()merakor
FossilOrigin-Name: 9483e73d74a4ca38735f8128d695a008b1b93768e2b62a4b7184e7e90fcb0e62
2020-12-24cpt: do not track info directory pagesmerakor
FossilOrigin-Name: 63e4717d7cc2790f055d562b165fb7ada2a6a34760078c2d178027fae28034b2
2020-12-24Makefile: fix installing files other than cpt-*merakor
FossilOrigin-Name: 76e5ec56a8f045f2b4a31feb4cacfdf02cc6cd86cf7d7884ff48addc4862e5aa
2020-12-24INSTALL: add installation instructionsmerakor
FossilOrigin-Name: 9e9a372496a106e5300bcd2b157e2eaae204795430b68be33226834bc550f6c1
2020-12-24docs/default.do: silence the 'command -v' callmerakor
FossilOrigin-Name: 2d2891423ef16e2e42572b38faa4f94061662b27131a4729053098e10851716a
2020-12-24config.rc: remove C-related variablesmerakor
FossilOrigin-Name: 3f1ed6e4cfa21578935f3f4cf88840be57bae853d5553f726fc5890e9c2ea5ee
2020-12-24lib.rc: move helper functions to a seperate filemerakor
In order to avoid confusion, I have moved helper functions to lib.rc from the config.rc file. FossilOrigin-Name: a51d7fa1235547b1f948eae9cd55ddf3ae365d56364eaa2644b16113ea8dd979
2020-12-24cpt: add info page to the build systemmerakor
- Made the info page an optional part of the build system, meaning that 'redo' will not attempt to build or install the info page if you don't have 'makeinfo' available on your system. - The info page is installed to the 'info/' directory relative to the $SHAREDIR. It can be overriden by setting the INFODIR variable. FossilOrigin-Name: 4df60a4d7dbaac4948453208251b1210974d931bfcf74b583cd862e9d28fd57c
2020-12-23dir-locals: updatemerakor
FossilOrigin-Name: f5dd4d31676874d541423f18ae62a3f9dc03a6ae1862eb82968b02b2f9672d5a
2020-12-21gitignore: ignore cpt-libmerakor
FossilOrigin-Name: 9ebfeb2ebb9969173e4b5677f4bdab4b85e71fda41ce3b60810a115c815820f2
2020-12-21dir-local: fix excluded warning listmerakor
FossilOrigin-Name: aaaa279be11e88bfa2745b442a2543ef176cd79d9d5537f25e6f93928bd61ae4
2020-12-21cpt-lib: add ability to be used as a scriptmerakor
- cpt script no longer ignores anything. - If cpt-lib is invoked from the command-line, it parses the given command-line arguments, making it possible to be used as a script. FossilOrigin-Name: 8484d0ff082d03f38fa41d7a5e76c21bfdd5951b6db5193bb4a7f17e74a5025e
2020-12-21cpt: remove cpt-stat and cpt-readlink, add _stat() and _readlinkfmerakor
cpt-readlink and cpt-stat were unnecessary additions for mundane tasks. Since they were binaries instead of scripts, they added an extra layer of complexity to the library. These functions are now included inside the package manager library with the names _readlinkf() and _stat(). FossilOrigin-Name: 7e15e2b57ddcb834c4286c8d1ac0a28031ae4f5d39f3c6a99f5b3aa0e9a83d43
2020-12-21tests: calm shellcheck downmerakor
FossilOrigin-Name: 16695158bf8e9ce16fb245dd3d71c44b3678892cbc7e8cd7ca221ce7d4c48823
2020-12-21Merge branch 'redo'merakor
FossilOrigin-Name: 046e1a0012624ed9a8934a8a4099710264281bcb6814c1fc0fbe3157c1121d2f
2020-12-21cpt-chbuild: use the cache structure of the librarymerakor
cpt-chbuild previously defined its own cache structure instead of reusing the one defined in the library. This change should fix the paths for users defining their own. FossilOrigin-Name: 4fdadaf3e1494c77deb477630f44fa3be5b0268d2dd9726254ecf228e629a8d0
2020-12-21Merge branch 'master' into redoredomerakor
FossilOrigin-Name: 242ef9adb08b706d0d45a500ef95aaa32860e4119cb1715a981c9a87c5f29843
2020-12-21create_cache(): new variable and argument changesmerakor
- If an argument is supplied to create_cache(), it will not create the default subdirectories (build/pkg/export). - create_cache() now also globally sets the $tmp_dir variable, which is the default directory + $pid variable Changes above do not affect the previous usage of the function, so it is not considered a breaking change. FossilOrigin-Name: 2eb5bc89e2e1c688186667af0d5177a1cdc3dc2e83e28e134752955c68a5c4e0
2020-12-21docs/default: change targetsmerakor
FossilOrigin-Name: 779edf420267002781b77fe90d1a9301cb02aab72c6f5f5c51a5e27d439573f1
2020-12-21default.do: run docs/all instead of docs/cpt.infomerakor
FossilOrigin-Name: 5fb5e5902106aa153d1d68dcf6ab19640f47dc07804c8ab487ba1549ec349fbb
2020-12-20README: updatemerakor
FossilOrigin-Name: 22c3642bb16ab93eb946f2b8b0c63cfcf8d83f6a86458096525d4f4c0cc22943
2020-12-20.gitignore: updatemerakor
FossilOrigin-Name: 49d9da0713812747e282deef29eeb87b6ac7619676f625b46dd881ef9876cdf0
2020-12-20GitHub Workflows: add minimal 'do' shell script for use in testsmerakor
FossilOrigin-Name: de5cc9af20b3b0b7921469eb7bbdbe8ba0950583f627480fa2ada969e6407bf4
2020-12-20bin: add testsmerakor
FossilOrigin-Name: ec194605cd8c21140304faf47b67f419967b7606155d7afb0e6d9f83c7622d46