aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-09-05cpt: add back support for setting colors, fix shellcheck errormerakor
FossilOrigin-Name: 4353efa436df913e647c5b43c709833fb76d12fb52d9db1b9bbaff04e55d0abf
2020-09-04cpt: add support for package testsmerakor
FossilOrigin-Name: f257d102fe4e20da0965fd247df1c229c4fae24d5e5059704f3886ff26181247
2020-09-04src/: prefer the cpt-lib on the current directory.merakor
FossilOrigin-Name: ea0a950e2247b056b0594baddb184f99aa8e39f492fa50c968e904b9dd2e2aa7
2020-08-31pkg_fetch(): go to repository root before checking for Mercurialmerakor
also check remotes FossilOrigin-Name: 482f5e133fec61f9b02a190e896acbe198e61fc1605d5ee149f32a2b5dc643bd
2020-08-31pkg_fetch(): remove unnecessary check for gitmerakor
Since the code block just below this will fail if git doesn't exist, there is no point in this check. FossilOrigin-Name: 8cb3ebb5a0b9e5a1c0d51e25ba924de79c7523abd97f0ac48cf89251e0dee4e0
2020-08-31docs: updatemerakor
FossilOrigin-Name: 43926a694badb88d4d0b326626637b1616fcadab7928866bfcba6e6934241769
2020-08-31cpt-lib: repository and source revamp. See log.merakor
Many additions and changes here, - added support for Mercurial sources - added support for Mercurial repositories - adapted git source changes from kiss - Changed rsync repository behaviour: A new file has been added to rsync repositories: .rsync_root This file points to the repository root. If the directory that .rsync_root points also has an '.rsync' file, this will be accepted as the root directory and the rsync operation will take place on the root. This ensures that we can have repository exchanges on a single rsync call, while still allowing for partial repositories. FossilOrigin-Name: ddc0b35ae230e0ac43ac0b10fa541aa577496c38f90c327210300110360f5afc
2020-08-31pkg_sources(): return when there is no source file.merakor
FossilOrigin-Name: 1c0091a687350b6f6eefc9dd676c4e4f2d3c4a81a514aa3c95113898cc4c1ea1
2020-08-31cpt: revert to previous method for sh256()3.3.1merakor
This affects only file names and not git repositories. FossilOrigin-Name: c2f6cf07bac7138c17731f2006a38d1590cfb129faae3fe1727b8d487712b400
2020-08-31cpt: bump version to 3.3.03.3.0merakor
FossilOrigin-Name: 75617b8acbf3e5074ad60d2a4c1bd6b3d0c58b37bb471c8166fd2a75a0a30453
2020-08-31cpt-lib: switch to the same method for checksums with kissmerakor
FossilOrigin-Name: c19cbb2754fdc62aab4691c28343402b06091c77a329f0cef6c85f5e965e91a1
2020-08-31warn(): change function behaviourmerakor
FossilOrigin-Name: f656276fa8b49293b453b1819302d86ea2124357ada00b511e3181601279e0ef
2020-08-31cpt-lib: add trap_set() function to manage trapsmerakor
FossilOrigin-Name: a205e529b22c1178d79332814ea456b958450e7470b484894a6a229d7010f03c
2020-08-23pkg_cache(): prefer CPT_COMPRESS value if available.merakor
cpt should prefer the user's CPT_COMPRESS in the case that two tarballs of different compression algorithms exist. In such a case, 90% of the time, the tarball with the CPT_COMPRESS is newer. FossilOrigin-Name: 8fe3706e32137cf0ae536012fd68ac0c5d9f75fc71ddd3f1ac03658bb3ec6620
2020-08-23getoptions: do not unset variables if parameters aren't given.merakor
FossilOrigin-Name: d3aeabb1ff9e6acaea85638e37721065bb937b2cb1a349270a5dbcb0ef669d59
2020-08-22cpt: remove getopt and use shell library instead.merakor
FossilOrigin-Name: cbe6d1050c67fcce58e754cd03832089ffeb33a5f9455c55e71738ab11e0d056
2020-08-22cpt-lib: use getoptions library for option parsingmerakor
FossilOrigin-Name: 69e8dca7190db30aa91e0d35ffe06d4668834760e8bea683b3cce2a8c8e5b914
2020-08-22cpt-build: add an extra line after usagemerakor
FossilOrigin-Name: 4efed7191261d3f1a97e8d31c35cbd5568b5148347b065cc5fd0b0123a65b5f1
2020-08-22cpt-build: fix usage output loopmerakor
FossilOrigin-Name: fc24ef1dbbbb8ef2b1c0ef86900bb56f6daa135950cb48c0dbfd054984a29adc
2020-08-21cpt: bump to 3.2.03.2.0merakor
FossilOrigin-Name: 62af72a163c339a649500bd169c08b822ec2555507cca210150e8a4378efac58
2020-08-21run_hook: only show package if $2 is available.merakor
FossilOrigin-Name: 4da4abf26a685da9cbfc2eaa194f56ac19bc0fc8ca8aa9f8eca05447cfeda12b
2020-08-20cpt: use 'getopt' for option parsingmerakor
FossilOrigin-Name: 65f22dd80a83335174c541e38f6b4c2c870e813faa587d06ed8989b50018fc09
2020-08-16cpt-lib: revert to the old IFS switching method.merakor
FossilOrigin-Name: 787c813088a11f4079d8e63269f81a0721e42ed52581288af7ed7540019ca6fb
2020-08-16cpt-lib: don't die if CPT_PATH is unset.merakor
FossilOrigin-Name: 6f831c0ffb5ff33a4a6bf6b177fe5a1ca55cd5fd44718bda71f929d0d6502688
2020-08-16cpt-lib: this isn't needed anymore.merakor
FossilOrigin-Name: c047d569d1c77897081a77463d8b081f4bd5a4f74400604e9a3e364433033279
2020-08-12pkg_build(): do a unified diffmerakor
FossilOrigin-Name: 08b04932f744cc72247dbab3f4c98f0ffcc86ec883fa5092459b996c64e5e4a0
2020-08-11note to self: don't code when drunk lmaooomerakor
FossilOrigin-Name: 7b8ebe7349f4eeb33d65f53a7f0e462afba480bd8fc29df1e9c53ba0f033704a
2020-08-11pkg_build(): remove the diff file if it is emptymerakor
FossilOrigin-Name: e418cc6bfbace64b77a907de42afe9afc442c3c91846314fbe7e794964cc9640
2020-08-11nah...merakor
FossilOrigin-Name: 867a59b06f40142ca740bb86ac30a44527059a3a6b1091e807ba0545cbbb6c53
2020-08-11holy hell I think this actually fixes the diff :)merakor
FossilOrigin-Name: 9bf95a4c93872048bccd33a9056d11c98958e724a5423e264fb1779e5a3df81c
2020-08-11pkg_build: fix diffmerakor
FossilOrigin-Name: 86fe61aadd5e081c1c1915b4f90b8906e425ea02a4e91e6eb3d17151e0d3fb0a
2020-08-11pkg_build(): add the modified build to the package database.merakor
FossilOrigin-Name: 60be60af88750bddc673a7e7df24f6157e14f0b4e12563bafae5c38f5918f01f
2020-08-11pkg_build(): use .build.cpt so that the build files can be modifiedmerakor
Change originally on `kiss` by Dylan Araps FossilOrigin-Name: 36b6acd745cc6d542c7e4e70e7fe19b421541ac8392ac9baa7db0c2be3ff6ad4
2020-08-11cpt: bump version to 3.1.13.1.1merakor
FossilOrigin-Name: 97966ffc8b62f38f0ec001693a1ddaa3cd4232f921a220ec5d5fa79b5efc7baf
2020-08-11as_root(): set all variablesmerakor
FossilOrigin-Name: 3080fa255e1bd180322c52982f03670db7950648279cb49a7b3d8e454a57e534
2020-08-10as_root(): use 'env' for setting variables.merakor
FossilOrigin-Name: 1cfe280b0c731ed14d08c3e89f8eef0ee2202e9dbd9d5aeca2587dd4427f8124
2020-08-07cpt: bump to 3.1.03.1.0merakor
FossilOrigin-Name: 1498d4b1296a9f74455d78fa32e794702a0dbc91d17d761f4a7e04e5fcc1cb36
2020-08-07cpt-lib: move non-temporary cache directory creation back to main()merakor
FossilOrigin-Name: 5a7ee309fea6cb1f8b6b6ce9c1c1e5ee339061153123764a2637f86f6ef535b1
2020-08-03pkg_build(): remove libtool '*.la' filesmerakor
FossilOrigin-Name: 3c81e0ee05c46fa47f810af3c1fe91979e10ae9819bf93792e46335022e9618d
2020-08-03cpt: create caches manually for each script that needs itmerakor
This makes sure we don't create unnecessary cache directories. We can source the library without creating directories now. FossilOrigin-Name: 8d9a38a33265e7a597375bb2ef4aa2263e110fb06c9b5df948d46a64c9b23e95
2020-07-24cpt: remove color enabling/disabling for nowmerakor
FossilOrigin-Name: 97e7368893869832bcc6b29d57005f0114c056ef48e6369ad3b1396f715ca588
2020-07-24cpt-lib: update docstringmerakor
FossilOrigin-Name: 071d62e4d00aa71d59d7c58d59bccf5ba8ba009de83a6ea774e433b0f48b097f
2020-07-24cpt: don't apply globs when using main toolsmerakor
FossilOrigin-Name: 9f0e0f0114a2017e0557017666cce5a92d38a9d0938177edc56c75515df39188
2020-07-24tools: move to srcmerakor
FossilOrigin-Name: e320e235b6dd6b0d4b0d04df12c1c5e481c524412d286dc6375b6cd4231eed8b