Age | Commit message (Collapse) | Author |
|
If the checksums file doesn't exist on the package directory, kiss
used as_root regardless of permissions. This checks whether the directory
is writable instead of the checksums file, which should provide proper
permissions.
This patch ignores if the directory has weird permissions. If the
directory is writable but the checksums file isn't, kiss will exit
with error. This ignorance is intentional as ideally a package dir
should have identical permissions.
FossilOrigin-Name: cebd065d1324d997841770fc85db1229cea256f25549f63caa91dc4348811b48
|
|
FossilOrigin-Name: d018ed47ccbc905015984fa23949e6e9c930268f2765f11bd10e6ce147f9979b
|
|
FossilOrigin-Name: a6ba1c1c60e67392cd5a74be3c0d4a63fc12c66c463e8826c5eb6f9d7fab6175
|
|
Outputting only a single directory on subshells disregard alternative
use-cases where the user might actually want the full output. There
might be alternative use-cases where the user might want single output
without the use of a subshell. This change is to be sane while keeping
up with most use-cases.
FossilOrigin-Name: 702838f48d6ceb4091a2c79c52c7089b36212b1c95d0dff954c7e4dc4bf5e3e2
|
|
FossilOrigin-Name: 3955f24209ce252505f6f9221a69f1dae2c18aa6914ca069323bf6cb133a6847
|
|
FossilOrigin-Name: 4e675a083c28d478db9057c86a86207a4ae926ea7174a2da920b418509200ab8
|
|
FossilOrigin-Name: d40af73a99d8fecac0c8add9ad5e23142ce68eadd936edd610bf77261686dfcd
|
|
Changes 'kiss s' to only show the first match if run from a
subshell. Here's a simple example:
-> kiss s zlib
/home/dylan/projects/repo/core/zlib
/var/db/kiss/installed/zlib
-> echo $(kiss s zlib)
/home/dylan/projects/repo/core/zlib
->
FossilOrigin-Name: 932c33ed80618a6c88baf09f714050adad288cfae7e21ec32a8f38c964e2bfc8
|
|
This simply modifies as_root() to allow running commands as any
given user and generates checksums according to the owner of the
checksums file and the current user's write permissions.
FossilOrigin-Name: af560b2a56f6dffd918acb62da30241079a952779c09a12546eba524c34474a1
|
|
FossilOrigin-Name: a0b4650b59b2da44a516170efd2fe3c20b8f23d65023942a8e097a2699b63632
|
|
FossilOrigin-Name: c2ac76e8a0bb9d426f3766465ef2b7904d1e34ab9ca6599e71aae05362727542
|
|
FossilOrigin-Name: 4e9f70e06c31cf97ad3687013acbcaec87bf6e16eac038a885288c00563b9ae8
|
|
FossilOrigin-Name: d1d2b91ad2374ef94a874469a35718ca2e8de3dcaf389c4cff7c60bb25dfd430
|
|
FossilOrigin-Name: ae9356f6f103dacf7cb86c5e353f24546ccbb06f43b6b5d358bec75f700d6e58
|
|
FossilOrigin-Name: c6e205bd14077ba249ec8cb819a7e90dee3b5f56cce1c226d4c85b2e0416c625
|
|
FossilOrigin-Name: 550011c996d5f7da3cfea6c4fadf020fbe4382eef307ee7edf258655978de47f
|
|
These affect:
* build
* checksum
* install
* remove
FossilOrigin-Name: 930ed3227beb3e2ae5db1c9b9cae6fd090a2565df5d9e3206e6861ad432bca99
|
|
FossilOrigin-Name: 5a9c26eca91a05417406733446112408dcd32b9adfb81ab41d63185b9631cd7f
|
|
The fixdeps function now,
* Follows links of the dependent files
* Fallbacks by removing the '/usr' prefix
for rare cases where a package is installed
without the /usr prefix
FossilOrigin-Name: 600311a79f1514ca7aa10adb86e70d004d230b73f3ff3c3394f0f74c514799d8
|
|
FossilOrigin-Name: 9cd0ff075dd4957694f4eac5a22daf3a8ed1b78c2167bd2f049886ebb1615ca4
|
|
FossilOrigin-Name: 237f06972a8e46eae4997e228eb582d21a679661335ab64b92212eef55a50c85
|
|
FossilOrigin-Name: 4db28929758405c9908055efa9fe530c4b4829faffbce5f22119a0cee7f204b9
|
|
FossilOrigin-Name: 85698bee301b57182f5316d7efb70ef9705ef8e1147b24c1111f2df2eeefa655
|
|
FossilOrigin-Name: 2085898c7ba60d5c551ff05ede976e3cdcdaf2fb5257dcce1e8ffcd7b29df086
|
|
FossilOrigin-Name: 0b09bed7752e05d228ccd2efe8b5e6e357c170ff231437ef904c1018f0f196af
|
|
FossilOrigin-Name: 86b0e23235b84141a17520aa0d3ad954e55c8144b38fcaf3385b53f0ba325a33
|
|
FossilOrigin-Name: 96d27afd0731eba77f04a84b75063fd12b8da4c833743d57e112eb58aabf1578
|
|
FossilOrigin-Name: 9b10da423c52c6e2af8b924de194347506e0520c68f3472766aec270d716b70c
|
|
FossilOrigin-Name: 14afb198e50b12667d964735f21e300d58a36b801984fc36df8feb38b7837416
|
|
FossilOrigin-Name: 31fdf094b93b84d896abe3bbccb846b585b88c69f68359367d1b1dceb5192bc1
|
|
FossilOrigin-Name: 8e6e585e79ebbe257e66777c103f7fe7979c893f87f1a922f6117079ea7a565b
|
|
FossilOrigin-Name: 6e8c2301193dda6f3c54e6c757e3b01799030dc96b4f19e0a89fc67ddda5b04a
|
|
FossilOrigin-Name: 0a573d6adb61a33652422fde408bca5fae26d6ef23c2d5c860360282ed95d1c5
|
|
FossilOrigin-Name: 1f8ef9818a854c859f610b3700fca2b733a4d9336dde5b399c769d7696a8ca7a
|
|
FossilOrigin-Name: 6599ae0696c0b7dc5d6952c1209d4c2492ec516d30b5dff8df9864fe30bb4c37
|
|
FossilOrigin-Name: 5a199ec51938135eddaa9220dd71311df22ced5081a478d96b0ec62d20756e29
|
|
FossilOrigin-Name: c8b98aafa23045d325fa955c40f1eebdf2ea61fb21e353fbbc5fac44b46f760b
|
|
FossilOrigin-Name: c17adbba92fc156d8b80d76c45359660d1d1d882ff364a520a4504244d8e24ff
|
|
FossilOrigin-Name: d4b9fa9ff34453738c0feceb923dfeab207c41e4487c03ddf1736d433195a41b
|
|
FossilOrigin-Name: 3dcaa5f05a97871b3380c95eb19b94eb6211b2c88d178d7415debae6649262fa
|
|
FossilOrigin-Name: f317c6af7744e35be6dfe590124ea9bbe885bcac9592a9ad924a08faeae988c4
|
|
FossilOrigin-Name: a5764f5bbdc35da30d3d8906b30b89bd84bb9c0002c187bedfc56c4e62e0f9a1
|
|
FossilOrigin-Name: a5d7637b0332110724b4bb53d2d064f7fb13a5cd8b5aaf47ea980094b6168edd
|
|
- Sped up conflict resolution by removing a tar call.
- More portable tar usage in source extraction.
- The same decompressor detection is now used when
extracting sources.
FossilOrigin-Name: ac68d8fa6f429c3e701d0a31e9afec4a375be0f1a2d84efc2355a2f8af3a8601
|
|
FossilOrigin-Name: 92b3e840d9b4e449eb4c2fe114f1ad718805dece8cdbee271b84633a15737cf7
|
|
This allows you to swap between gzip and xz compression via
the new environment variable ('KISS_COMPRESS'). As of this
commit, new builds will use xz compression (making use of
all cores on the machine).
Other compression methods can easily be added by adding two
simple lines to the script. Your existing package cache will
continue to be used as the package manager will use whatever
tarball is available (for the package and version it is
looking for).
FossilOrigin-Name: 96eb74f812edb60748ad9bf8450fab4a28494672482fd1ac19fc8397853629f3
|
|
FossilOrigin-Name: 3302005df63c5b40eab1fadc81cf8f30159f064f3b8d152f3316b1df9e606d67
|
|
FossilOrigin-Name: 02896119e3f1e306a48c23c9224773fe116f98f059a8880456ced3fe71395cd3
|
|
FossilOrigin-Name: 4894b8f8df5d5c6be3b3126506be0cf368711aaecc34d1105c42b97270769c6f
|
|
FossilOrigin-Name: 33338ef7bb2a0f93f9839ccdaeaa9c46b35de9aef74debad8a095990a6019657
|