aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-04fix changelog date5.1.xmerakor
FossilOrigin-Name: 6e3814b7119c2d167c02bdbfd747029fe3a8a9af78c38d430de5574706c22b04
2021-01-04cpt: update version to 5.1.2merakor
FossilOrigin-Name: 4423fa4ed6d8b958a2cab88b834ef267b979861431542b79abf02a00fefeff0d
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
2020-12-24Makefile: fix installing files other than cpt-*merakor
FossilOrigin-Name: 76e5ec56a8f045f2b4a31feb4cacfdf02cc6cd86cf7d7884ff48addc4862e5aa
2020-12-20cpt-lib: fix a bug in pkg_clean when CPT_DEBUG was set5.1.1merakor
Because of the CPT_DEBUG check returning 1, it would skip the termination, meaning that even the package has failed, it will create the tarball and exit with success. FossilOrigin-Name: ce2337ddaa89f4a9928018ad325e6c7eac71ffb639ad55ad8e8bc97547f9a59b
2020-12-20docs: add new documentation for cptmerakor
FossilOrigin-Name: 40a002bfab4194969ad59f76b04d52473ca3d64d56f97dd30989b73ac774f9f7
2020-11-24cpt: bump to 5.1.05.1.0merakor
FossilOrigin-Name: 61286170f1581e6b6af180d0de2ebef9b900e3a693921d5966f66c7d619a4485
2020-11-24lib: make cache more readable and fix removing of temporary filesmerakor
- Move the conflict and temporary manifest files inside the process directory. Instead of naming them 'c' and 'm', name them 'conflict' and 'manifest' respectively. - Remove the process directory entirely. FossilOrigin-Name: 27077d44b5863954d0d25b39a49c00d22ac074436afd764095ef06703407bf53
2020-11-24pkg_swap(): use pkg_owner()merakor
FossilOrigin-Name: e37239871c297b73bf3c08d31fa0ec93d9581939e65771e970933adfcfad83a9
2020-11-24pkg_build(): generate manifest before the dependencies are fixed.merakor
FossilOrigin-Name: 2bf2c63be602059ad077171016c46e1e880920c6085e75dd6c1f9a82fa515153
2020-11-11create_cache(): create multi-level temporary directories per processmerakor
FossilOrigin-Name: 89e024bc50ae14880135de6279580f2e9da3a1e2dcb58fc43f83a9f012bdb060
2020-11-09cpt-lib: don't make main() a function unto itselfmerakor
FossilOrigin-Name: 3f01d4659d9f4e7488387436153fc9a20723b40f28515c5020172a83eb88128b
2020-11-09getoptions(): parse the options during main() call on cpt-libmerakor
Calling parse() after cpt-lib has been called causes sys_db to be initiated using the wrong CPT_ROOT, among other issues. By calling the option parser during the main(), we make sure that the options parsed are used as soon as possible. FossilOrigin-Name: 2933b99bec8ec9c3f20143e2a19c270a6d208f723d2b394c625cbc13d2625326
2020-11-03cpt-lib: fix shellcheck errormerakor
FossilOrigin-Name: 9b88780f4576b44b7578dd7758f8c2a967d11ff6a86566c08dd5b4ccf04f2309
2020-11-03cpt-search: add '--others' optionmerakor
If cpt-search was called from a package directory, adding the '-o' option makes it output only the other instances of the package. FossilOrigin-Name: edf17ee77fb06aecbc6d409d49390aea2719af012ca8be2b7daf1dbda88da269
2020-10-31cpt-fork: allow specifying full pathmerakor
FossilOrigin-Name: 30aa742e72329308997e804260ea644a315df66dd4a63690a2dd48060637d6a6
2020-10-31src: update parser definitionsmerakor
FossilOrigin-Name: 8f46944f81271ff851a5d21bfbaa21ad86f8cf120ef22bf8f9a64ecd3f339eb3
2020-10-31getoptions: update to 2.0.1merakor
FossilOrigin-Name: cdbd1a2ac3828872b8de526e0030d71efbe2ff2a43f62ad05a2bbbe9eab229f6
2020-10-25cpt-lib (pkg_fixdeps): rename to pkg_fix_deps and major changes:merakor
Following the changes on kiss, pkg_fixdeps has been renamed to pkg_fix_deps and added readelf support. Readelf is a much better solution for checking dependencies as it can differentiate between actual dependencies and "dependencies of dependencies". cpt will check for the tool to use in the following order: - readelf - eu-readelf - llvm-readelf - ldd CPT_ELF: This new variable can be used to force a specific tool, such as ldd, or a specific readelf program. Other changes include: - The function no longer prints found dependencies - It checks for the dependencies on the current manifest first, and skips if they have been found on the package. - The function now uses the pkg_owns() for finding packages FossilOrigin-Name: 42927fcc2cd7f588be2658c506773b9be22f2b268e0999903ce1a84c65f7b5ec
2020-10-25pkg_owner(): add function to retrieve the owning package of a filemerakor
This function is almost identical to the function with the same name on kiss. However, instead of saving the owner on a global variable, the function prints the owning package to the standard output. The function can be called similar to grep. The usage is: pkg_owner GREP_FLAGS FILE_TO_CHECK MANIFEST_LOCATIONS... If no manifest is specified, the function will use every installed package on the system database. FossilOrigin-Name: 53cbeff7a92850efd172960f12848885961655c9c53e24a5f8cb8da7642ce541
2020-10-25cpt-base: add gitmerakor
FossilOrigin-Name: f1e5d6559d6ee74bc62b8918e92fd9e43bb3b5599eb59e82ae78afd39a03615a
2020-10-25cpt-lib: update getoptions library function to v1.1.0merakor
FossilOrigin-Name: 013712d7ad58629dbd4fce8a34a1acb7dbe3cdafd8dec0d014c8d427fe5b8533
2020-10-20cpt-size: add ability to check the size of multiple packagesmerakor
FossilOrigin-Name: 48470adaaeb2d09a0cbbf6eb13463d2e231555d592225496c778281ba1b173de
2020-10-06cpt: bump to 5.0.05.0.0merakor
FossilOrigin-Name: 1dabad031a841b894ada16be7072f3cf342abcb9e63ffc8f084f07c766bf9935
2020-10-06cpt-build: export CPT_TEST variablemerakor
FossilOrigin-Name: 30c5615767ab577497e8f9b28401796f06194d0d079b65d88053cd63eb126a8e
2020-10-05cpt-search: fix typomerakor
FossilOrigin-Name: f439a9b0634961835df2052c87055cde634b319411d93d95061cf3f023e6ecd8
2020-10-05CHANGELOG: updatemerakor
FossilOrigin-Name: 3309eeba3075948f82d953c6e270c3bbf81580b845c18e3828ddfceb15ac6a91
2020-10-05cpt-fetch: remove toolmerakor
FossilOrigin-Name: f646b85e6dd8edcdb8afee546215b371ecd8d1733a0d0122c716171e6c1988ec
2020-10-05cpt-update: use -o flag instead of -f for "Only fetch"merakor
FossilOrigin-Name: 313b5e9f3b0d5d13bd9e853f10d6b2b1e0201361ba47293ed34ab25cd3fd1b6d
2020-10-05cpt-update: add function to only fetch repositoriesmerakor
This marks the deprecation of the cpt-fetch(1) utility. FossilOrigin-Name: adc51307ea32e8b81d40a5b0de5174916d0cb84fb161005903374f9a147b28a8
2020-10-05cpt-fork: remove etcsums as wellmerakor
FossilOrigin-Name: 28344c1635c4a89a7510b084b09062fbee023a1a56de713ab23db88ed9f7ae71
2020-10-05cpt-list: add optionsmerakor
FossilOrigin-Name: 2a72f42a940b14d180eac94fda1610b8b29cbd66443b5f2d85a8e7f3eb85c1ac
2020-10-05cpt: add global options to the library.merakor
FossilOrigin-Name: 31d397b6064679068ed32c337f8c74e7ab24c9b7b9fa44f55a8cc0f52ca3bcee
2020-10-05README: updatemerakor
FossilOrigin-Name: 3563c81a28d3d0c967e14e1c8fadd112c04a77bd4a7f3c80f3352d060771a9ea
2020-10-05cpt-orphans: add tool to print orphaned packages.merakor
FossilOrigin-Name: 3addfbbb6f53df7ca63443c15e0a253bd760b7c75409d9196bf82ca5a090f796
2020-10-05cpt-reset: rewrite to make use of the /etc/cpt-base file.merakor
FossilOrigin-Name: 8e53e32d1f2cfa115743a912260d6d8e60b547b29a99ae3684306400ff367f43
2020-10-04cpt-base: define base, and make it redefinablemerakor
This new base file will make it possible for cpt-reset and cpt-base will be redefinable. FossilOrigin-Name: 32d7d9daa05db73863a29b47951149e83d3180f93a61abcf0fd2fcaa3c71288b
2020-10-04cpt-lib: readability changesmerakor
FossilOrigin-Name: 22de97074943e7b5a08e937799c14423892a95033dc33bc0e8ca165ea6ad4cbd
2020-10-02cpt-fork: add ability to fork multiple packagesmerakor
FossilOrigin-Name: 7e5b294ae09df14b59f5c6d02987e49fc77b3feb94f426e51f7a9648870dd7a8
2020-10-02cpt-fork: remove manifest from the package directorymerakor
FossilOrigin-Name: 78c900f4fb4a9c0e966791ae37d576723074b09b28d3ae8452cad05a5f534c30
2020-10-02pkg_extract(): allow the usage of '@' for tags.merakor
This change ensures that we don't have to acquire tags each time. The user can specify https://blabla.git@v2 to acquire the v2 tag. This is not needed for branches or commits. FossilOrigin-Name: 5f8d147c298113f235c28b992e7dba0ec39d19eaae368e5cd7bc359cceb24ecb
2020-09-25pkg_build(): Notify the user if the build file was modified.merakor
Since the build file can be modified during the pre-build hook, a user can easily forget about their modifications to the build file, especially if they have completely rewritten their build script in the hook. FossilOrigin-Name: 9051885b256f0730b4cdbd2703fc3b3c0e41ed12173424f4a9f748f0ee2ad3bf
2020-09-25cpt: bump to 4.1.14.1.1merakor
FossilOrigin-Name: 6539b980bad100d88bc9a630e5efa4391e75e7ba3d659751e191f26e3bff151d
2020-09-25pkg_extract(): change git clone behaviour to fetch tags.merakor
This makes operations with commits hashes longer, but it can also checkout specific tags, which is a plus. FossilOrigin-Name: 9826a0c4defac46b1719594751bed634a12c905588936e73fec162885266d232
2020-09-25pkg_fixdeps(): output to stderr instead of /dev/ttymerakor
FossilOrigin-Name: 0abeaf0d407b7babd45f779ea36338d36bc961bf79120ea68431bd8bc9940b85
2020-09-25as_root(): change USER variablemerakor
FossilOrigin-Name: 472d451a30b2626be4db9e65c80f1ce9b26504e86570b9e21b20477d88c210e9
2020-09-11cpt: bump to 4.1.04.1.0merakor
FossilOrigin-Name: 6141d34b3dbd8e5ce67f6ff2fd0ce7f31f8193386051e9c82691f67f8a429331
2020-09-11cpt: bi can be run to install all built packagesmerakor
FossilOrigin-Name: dc69b52d03be5ff2b2e304b8825c48c65e2188df2f7eb239ecaf267e8fae2434
2020-09-10cpt-chbuild: run as_root() only if we aren't root.merakor
FossilOrigin-Name: 414282edfd26e36f326ea599d3328f53e617946c03e77595d4339ce56e174231