Age | Commit message (Collapse) | Author |
|
FossilOrigin-Name: c3f59ab2dfeecbbebffb8680261a0b7b408d7f346c18f68f1362268635d2bfea
|
|
FossilOrigin-Name: dafa786450a3986834ab99c7185683204d46ce4cf0d86450898a9debc87b87f0
|
|
FossilOrigin-Name: cff50fe1f102942609154f9f51fac35e60cd90b8093ee20000b051bf2a7f6934
|
|
FossilOrigin-Name: 901546c6c493ca53942ea4d3337799dbad007c3319bd3a12b2422451ad320c83
|
|
FossilOrigin-Name: 4f27649852246d628cbece77592203e613e6dc1d55306edf041f52f3ce08eb83
|
|
FossilOrigin-Name: 51c2db1bc1036bf0d5dc7d4ca7846c961c518ffa0ffa5dd25bee47b3c4adcc18
|
|
FossilOrigin-Name: 280d4a75e798102933c642eea788997ab181f95a74220d8c217ccb4615a3db49
|
|
FossilOrigin-Name: 5b8b6af7ae44cd1117d5ca21aa85a759db02f76420ff057ccc90f7a2073be983
|
|
FossilOrigin-Name: e7372a9e612621cb35a272a6d25918a5433fb55aae60e4bcd2c810c5d967b33e
|
|
FossilOrigin-Name: 19adfe2195935c3acba583200156428768376730beae9cd3c122318d2752fb47
|
|
FossilOrigin-Name: a773ef662dcbda3708928d8f16b732c7ee3779ed4f5e311cf30b5f6320c27ead
|
|
If '-x' fails on a directory it means that we cannot see the content
inside. It is pointless to check if it is a directory.
FossilOrigin-Name: 0584abd45fd00cdfdfd5ad14da2a7bb9fba685ea3e74f28f772046886128a07e
|
|
FossilOrigin-Name: 2e01c5c6f017ec08af0a223470b6d5dbb94c5a64753e3e6d56ecb1f68beffb4b
|
|
FossilOrigin-Name: 5fe3bb1aef2a3f94347c49cbbddb0ecdb7ce4b2e960ebb1fc131518b64bcafff
|
|
FossilOrigin-Name: 71a62a33c9a0b49a0ebd4285f96ee154de98f11c3c8800dbe188f49d0e9fcb33
|
|
FossilOrigin-Name: b0566a7c212b1af9d1f0470998e4ea94bf15c1bdbc7d94c5f26d4825ee233269
|
|
FossilOrigin-Name: 5b5b5951eb8b363efa3298e16b53e630483f8def40a910dcfbb98f4ab21af8dd
|
|
FossilOrigin-Name: fdac0bc4ae86c8289fbab2de73f905eb5dd9c00be879de586c78b85b347f42fc
|
|
FossilOrigin-Name: 11a75411d1d9dfc8c806dfc5c1011d0516938fc3a8e661b697f56a82a01ace21
|
|
FossilOrigin-Name: 613a576e33c286d8edbb9dc0b40c76a6eb31e6165000e57997b051b3999334c2
|
|
FossilOrigin-Name: 101e70067bc73239cfc1c525dadbd4971f77989868ae842ba48cbafc15041980
|
|
FossilOrigin-Name: e465e438b47fe464fe8497653aa224e27105bb581f071a48dc23d7ccbdbd09d6
|
|
'-d' is not needed as sort will always list the directories first.
Dropping '-d' also makes it faster than awk.
FossilOrigin-Name: cc25e0519053fecfea652c6562c1d6d230525bbb7f16e9c81d7b8db5ed7c1279
|
|
FossilOrigin-Name: 583ddf62134c3fc795653d43a9c131883b88d36c802794867b44b8ece97ebcf7
|
|
FossilOrigin-Name: 98087e4a598e10ee937c87534b2e481ca3ac095254de60592a369c2c0e1a55cd
|
|
This introduces a few changes in manifest checking.
* If KISS_FORCE is specified, we don't check the manifest.
* This will show every missing file, and won't die in the first manifest issue.
* kiss will announce dependency checking after manifest checking is complete.
FossilOrigin-Name: 64ef962649e7b6a4f124fbfc8b7bb45421f440f1d5e3a0a88a01d007bb7ed8e2
|
|
FossilOrigin-Name: 3209758848b137dd4e799b426ec3a2147ceeef8c0551620946965593e55aa88a
|
|
FossilOrigin-Name: 8d7d95914b0d1d981416c4fe1511987af3dd0170d436ee2176de9cb279988dd0
|
|
FossilOrigin-Name: fe01e31c40a739022081182074440a69f176c1383c657c4dc7bb4ae6e616388d
|
|
Instead of 'intense' shell arithmethic, we could just check if the first
argument is available. This is much more easier to read and understand.
It doesn't affect the speed of execution either.
FossilOrigin-Name: 094587846e53fd489217584615fe392b9245876227723b8b63fd3cb969becb7b
|
|
FossilOrigin-Name: 35cefea72c6036d430f541c53f6cfd701b75cd85c9e576bb76c950d15e41aa70
|
|
FossilOrigin-Name: f70e686a90d6951c666f0528b3607a840a38441797ef5e709b5fef16021a937e
|
|
This reverts commit 3f455b5f40f7741e30e0e6ade74437b1daa22e63.
FossilOrigin-Name: 0f011c28a8c9d56f0b9697749c897ce75514165b63e2a00e3c4eaa6f17c3e534
|
|
FossilOrigin-Name: 669c16656853a5482a6df95683cb02d253a7149be0a9ccd3cb400bd474a7aea3
|
|
'-e' flag applies to everything that exists, which is not ideal.
This can, for example, also show README files on personal repositories.
Since our target is user-scripts and package directories, checking
if the target is executable is the best overall solutions as most
directories are also marked executable. This change makes sure we
get what we want while keeping other files out of pkg_find.
FossilOrigin-Name: edd082350847021c1cb6b0bba8aedb962204364dbd95c222985b2eee318792e8
|
|
FossilOrigin-Name: ee011fef1c32c0dc066d933c12a450634510ae213ca3bbabad8d75ffcf5362ac
|
|
FossilOrigin-Name: 31c14acdc8ad53b425fa1ee8294a675089d78c8b8287806342b560790394e627
|
|
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: 94e730098df38f3c5c1cd2b52737890261cf33c666131192aad32fd12b55bd9b
|
|
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
|
|
kiss-repodepends did not honour the user's KISS_PATH and outputted
the last path it found. If the user has the package installed, the
last path will always be the system database, which defeats the whole
purpose of "repodepends". This patch will use the first path it finds,
which will be the user's preferred repository in the KISS_PATH.
FossilOrigin-Name: 6fe68222a6549857ba339a8ad215bf72da9d1fd82e7346166a022411ac97c38a
|