Age | Commit message (Collapse) | Author |
|
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
|
|
FossilOrigin-Name: 9b88780f4576b44b7578dd7758f8c2a967d11ff6a86566c08dd5b4ccf04f2309
|
|
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
|
|
FossilOrigin-Name: 8f46944f81271ff851a5d21bfbaa21ad86f8cf120ef22bf8f9a64ecd3f339eb3
|
|
FossilOrigin-Name: cdbd1a2ac3828872b8de526e0030d71efbe2ff2a43f62ad05a2bbbe9eab229f6
|
|
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
|
|
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
|
|
FossilOrigin-Name: 013712d7ad58629dbd4fce8a34a1acb7dbe3cdafd8dec0d014c8d427fe5b8533
|
|
FossilOrigin-Name: 1dabad031a841b894ada16be7072f3cf342abcb9e63ffc8f084f07c766bf9935
|
|
FossilOrigin-Name: 30c5615767ab577497e8f9b28401796f06194d0d079b65d88053cd63eb126a8e
|
|
FossilOrigin-Name: f439a9b0634961835df2052c87055cde634b319411d93d95061cf3f023e6ecd8
|
|
FossilOrigin-Name: f646b85e6dd8edcdb8afee546215b371ecd8d1733a0d0122c716171e6c1988ec
|
|
FossilOrigin-Name: 313b5e9f3b0d5d13bd9e853f10d6b2b1e0201361ba47293ed34ab25cd3fd1b6d
|
|
This marks the deprecation of the cpt-fetch(1) utility.
FossilOrigin-Name: adc51307ea32e8b81d40a5b0de5174916d0cb84fb161005903374f9a147b28a8
|
|
FossilOrigin-Name: 2a72f42a940b14d180eac94fda1610b8b29cbd66443b5f2d85a8e7f3eb85c1ac
|
|
FossilOrigin-Name: 31d397b6064679068ed32c337f8c74e7ab24c9b7b9fa44f55a8cc0f52ca3bcee
|
|
FossilOrigin-Name: 22de97074943e7b5a08e937799c14423892a95033dc33bc0e8ca165ea6ad4cbd
|
|
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
|
|
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
|
|
FossilOrigin-Name: 6539b980bad100d88bc9a630e5efa4391e75e7ba3d659751e191f26e3bff151d
|
|
This makes operations with commits hashes longer, but it can also checkout
specific tags, which is a plus.
FossilOrigin-Name: 9826a0c4defac46b1719594751bed634a12c905588936e73fec162885266d232
|
|
FossilOrigin-Name: 0abeaf0d407b7babd45f779ea36338d36bc961bf79120ea68431bd8bc9940b85
|
|
FossilOrigin-Name: 472d451a30b2626be4db9e65c80f1ce9b26504e86570b9e21b20477d88c210e9
|
|
FossilOrigin-Name: 6141d34b3dbd8e5ce67f6ff2fd0ce7f31f8193386051e9c82691f67f8a429331
|
|
FossilOrigin-Name: dc69b52d03be5ff2b2e304b8825c48c65e2188df2f7eb239ecaf267e8fae2434
|
|
FossilOrigin-Name: 5f194677e6c4b43c423593a74e9c3e07f11328da1c42e5e255b5b15cd6959e27
|
|
FossilOrigin-Name: 72c24d882eaea1fc1b6fba1f95f22f473e07b195b6dad243d263da9d559237ea
|
|
FossilOrigin-Name: 49bcf5c3b49b75c33e22e575d4c74c2c240a1ff611468081d0af0f08099c04a0
|
|
FossilOrigin-Name: 224becc92e0c99c79727da460d3c054dae031dd75fa5c4e20428ae5c1881ad30
|
|
FossilOrigin-Name: 846a2586dbd7620ba4bb72aade0a64ffe6128b3f6536a89e17f8d45201ea1c45
|
|
FossilOrigin-Name: 273df65485da7ee56c5192242fbf5549f3e9d9faf925e484d8ce41dd4eb829ed
|
|
FossilOrigin-Name: 4353efa436df913e647c5b43c709833fb76d12fb52d9db1b9bbaff04e55d0abf
|
|
FossilOrigin-Name: f257d102fe4e20da0965fd247df1c229c4fae24d5e5059704f3886ff26181247
|
|
FossilOrigin-Name: ea0a950e2247b056b0594baddb184f99aa8e39f492fa50c968e904b9dd2e2aa7
|
|
also check remotes
FossilOrigin-Name: 482f5e133fec61f9b02a190e896acbe198e61fc1605d5ee149f32a2b5dc643bd
|
|
Since the code block just below this will fail if git doesn't exist,
there is no point in this check.
FossilOrigin-Name: 8cb3ebb5a0b9e5a1c0d51e25ba924de79c7523abd97f0ac48cf89251e0dee4e0
|
|
FossilOrigin-Name: 43926a694badb88d4d0b326626637b1616fcadab7928866bfcba6e6934241769
|
|
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
|
|
FossilOrigin-Name: 1c0091a687350b6f6eefc9dd676c4e4f2d3c4a81a514aa3c95113898cc4c1ea1
|
|
This affects only file names and not git repositories.
FossilOrigin-Name: c2f6cf07bac7138c17731f2006a38d1590cfb129faae3fe1727b8d487712b400
|
|
FossilOrigin-Name: 75617b8acbf3e5074ad60d2a4c1bd6b3d0c58b37bb471c8166fd2a75a0a30453
|
|
FossilOrigin-Name: c19cbb2754fdc62aab4691c28343402b06091c77a329f0cef6c85f5e965e91a1
|
|
FossilOrigin-Name: f656276fa8b49293b453b1819302d86ea2124357ada00b511e3181601279e0ef
|
|
FossilOrigin-Name: a205e529b22c1178d79332814ea456b958450e7470b484894a6a229d7010f03c
|
|
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
|
|
FossilOrigin-Name: d3aeabb1ff9e6acaea85638e37721065bb937b2cb1a349270a5dbcb0ef669d59
|
|
FossilOrigin-Name: cbe6d1050c67fcce58e754cd03832089ffeb33a5f9455c55e71738ab11e0d056
|
|
FossilOrigin-Name: 69e8dca7190db30aa91e0d35ffe06d4668834760e8bea683b3cce2a8c8e5b914
|
|
FossilOrigin-Name: 4efed7191261d3f1a97e8d31c35cbd5568b5148347b065cc5fd0b0123a65b5f1
|
|
FossilOrigin-Name: fc24ef1dbbbb8ef2b1c0ef86900bb56f6daa135950cb48c0dbfd054984a29adc
|