aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-22kiss: Abort install if file missing in manifestmerakor
FossilOrigin-Name: 3209758848b137dd4e799b426ec3a2147ceeef8c0551620946965593e55aa88a
2020-04-20contrib: additions, usage, simplificationsmerakor
FossilOrigin-Name: 8d7d95914b0d1d981416c4fe1511987af3dd0170d436ee2176de9cb279988dd0
2020-04-20kiss: Case remove UBmerakor
FossilOrigin-Name: fe01e31c40a739022081182074440a69f176c1383c657c4dc7bb4ae6e616388d
2020-04-20kiss: check for the first argumentmerakor
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
2020-04-20kiss: display a warning for KISS_ROOT if it ends with '/'merakor
FossilOrigin-Name: 35cefea72c6036d430f541c53f6cfd701b75cd85c9e576bb76c950d15e41aa70
2020-04-20kiss: fix old_ifsmerakor
FossilOrigin-Name: f70e686a90d6951c666f0528b3607a840a38441797ef5e709b5fef16021a937e
2020-04-20Revert "kiss: don't use old_ifs"merakor
This reverts commit 3f455b5f40f7741e30e0e6ade74437b1daa22e63. FossilOrigin-Name: 0f011c28a8c9d56f0b9697749c897ce75514165b63e2a00e3c4eaa6f17c3e534
2020-04-20kiss: don't use old_ifsmerakor
FossilOrigin-Name: 669c16656853a5482a6df95683cb02d253a7149be0a9ccd3cb400bd474a7aea3
2020-04-19kiss: use '-x' and '-d' flags in pkg_find instead of '-e'merakor
'-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
2020-04-19kiss: implement user scripts from upstreammerakor
FossilOrigin-Name: ee011fef1c32c0dc066d933c12a450634510ae213ca3bbabad8d75ffcf5362ac
2020-04-19kiss: Revert 'kiss s' and 'kiss ss' changes1.13.1merakor
FossilOrigin-Name: 31c14acdc8ad53b425fa1ee8294a675089d78c8b8287806342b560790394e627
2020-04-19kiss: fix checksum mistake when checksums file doesn't exist.merakor
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
2020-04-18kiss: bump to 1.13.01.13.0merakor
FossilOrigin-Name: d018ed47ccbc905015984fa23949e6e9c930268f2765f11bd10e6ce147f9979b
2020-04-18kiss-repodepends: use 'kiss ss' instead of sedmerakor
FossilOrigin-Name: 94e730098df38f3c5c1cd2b52737890261cf33c666131192aad32fd12b55bd9b
2020-04-18kiss: add missing optionmerakor
FossilOrigin-Name: a6ba1c1c60e67392cd5a74be3c0d4a63fc12c66c463e8826c5eb6f9d7fab6175
2020-04-18kiss: split search into singlesearch and searchmerakor
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
2020-04-18kiss: pkg_fixdeps(): More portable diffmerakor
FossilOrigin-Name: 3955f24209ce252505f6f9221a69f1dae2c18aa6914ca069323bf6cb133a6847
2020-04-18kiss: Squish build to match its size.merakor
FossilOrigin-Name: 4e675a083c28d478db9057c86a86207a4ae926ea7174a2da920b418509200ab8
2020-04-18kiss: Hide read error message as we have our ownmerakor
FossilOrigin-Name: d40af73a99d8fecac0c8add9ad5e23142ce68eadd936edd610bf77261686dfcd
2020-04-18kiss: Make 'kiss s' usage saner for scripting.merakor
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
2020-04-18kiss: Elevate permissions if needed during checksum generation.merakor
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
2020-04-17kiss: fix shellcheck errormerakor
FossilOrigin-Name: a0b4650b59b2da44a516170efd2fe3c20b8f23d65023942a8e097a2699b63632
2020-04-17kiss: bump to 1.12.31.12.3merakor
FossilOrigin-Name: c2ac76e8a0bb9d426f3766465ef2b7904d1e34ab9ca6599e71aae05362727542
2020-04-17kiss-repodepends: don't output the dependencies of installed packagemerakor
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
2020-04-15kiss-export: fallback to gz if KISS_COMPRESS is not knownmerakor
FossilOrigin-Name: 011c1ce0019df908cf2680fdf913d57189cbcfead11addabc47e7368ce455b3e
2020-04-15kiss: change indentation stylemerakor
FossilOrigin-Name: 4e9f70e06c31cf97ad3687013acbcaec87bf6e16eac038a885288c00563b9ae8
2020-04-15kiss: respect KISS_ROOT values in fixdeps1.12.2merakor
FossilOrigin-Name: d1d2b91ad2374ef94a874469a35718ca2e8de3dcaf389c4cff7c60bb25dfd430
2020-04-15kiss: fix possible KISS_ROOT usagemerakor
FossilOrigin-Name: ae9356f6f103dacf7cb86c5e353f24546ccbb06f43b6b5d358bec75f700d6e58
2020-04-15kiss: fix KISS_PATH without argumentsmerakor
FossilOrigin-Name: c6e205bd14077ba249ec8cb819a7e90dee3b5f56cce1c226d4c85b2e0416c625
2020-04-14kiss: use the upper directory for KISS_PATH if no argument is specifiedmerakor
FossilOrigin-Name: 550011c996d5f7da3cfea6c4fadf020fbe4382eef307ee7edf258655978de47f
2020-04-14kiss: use the current working directory for packages if no argument is specifiedmerakor
These affect: * build * checksum * install * remove FossilOrigin-Name: 930ed3227beb3e2ae5db1c9b9cae6fd090a2565df5d9e3206e6861ad432bca99
2020-04-14kiss: extract zipsmerakor
FossilOrigin-Name: 5a9c26eca91a05417406733446112408dcd32b9adfb81ab41d63185b9631cd7f
2020-04-13kiss-export: honour KISS_COMPRESS valuemerakor
FossilOrigin-Name: f20ec9d607db52eb32c998d812fb2e4b23698aceb7691b54ecceee356909f2c7
2020-04-12kiss: fix pkg_fixdeps1.12.1merakor
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
2020-04-11kiss-outdated: actually fix printing empty versions, change user noticemerakor
FossilOrigin-Name: 71f44536fe3cadbe3769b5420aab24c87d5cb308dfb083e1d2e98813b6cc4778
2020-04-11kiss-outdated: fix printing empty version informationmerakor
FossilOrigin-Name: 45e90f7bd5c55e9128c89738f68ded2633742647a98c916ce5c951c3e52d41a9
2020-04-04kiss: bump to 1.12.01.12.0merakor
FossilOrigin-Name: 9cd0ff075dd4957694f4eac5a22daf3a8ed1b78c2167bd2f049886ebb1615ca4
2020-04-04README: updatemerakor
FossilOrigin-Name: e48fea413c9df2b2afc24fecf7df9698345814769e454c978d7935d7472a3f21
2020-04-04Makefile: update for manpage changesmerakor
FossilOrigin-Name: a57c3ac5f0b0347629dc867c77fb73a0bb306d78a0b5ae55c67af37a1efa5957
2020-04-04man: add kiss-contrib.1merakor
FossilOrigin-Name: 22a5bf95534f79e734927d8ca7005f0dd788199b04d84883d720e454750fa05f
2020-04-04kiss-link: simplify and add support for multiple filesmerakor
FossilOrigin-Name: 03cc682f239f9ccad5b96211ce18939ceef22f64ec4fcc59707a7a6487fc3290
2020-04-04contrib: add kiss-cargolock-urlgenmerakor
FossilOrigin-Name: ea230030c051cd92b8b4e3324f9ee1e11c768eca7b10565b6834cfb152f0de98
2020-04-04kiss-owns: meaningful output if arg is a directorymerakor
FossilOrigin-Name: 07484c8f6786df7a8163e913a69acfefd4f64b66053bb7ad934d29a7a790b6ca
2020-04-04contrib: added kiss-catmerakor
FossilOrigin-Name: 1bf82eaef0a8c859c337a0213dd7e20bcafc739dd58c5562601795b3c9686aaa
2020-04-04kiss-cargo-urlgen: fix a bug that could lead to wrong url generationmerakor
FossilOrigin-Name: cd5cc11a50c0e269704d9846a3b9af54b7f6b43bf585c50540c2f16c802773d3
2020-04-03update1.11.2merakor
FossilOrigin-Name: 237f06972a8e46eae4997e228eb582d21a679661335ab64b92212eef55a50c85
2020-04-03kiss.1: add fork notice in the DESCRIPTIONmerakor
FossilOrigin-Name: a24afbb573709b18b20268916e4e7bc699830b9b05c1ae5e23ce812dea8b59fa
2020-04-03kiss.1: Manpage lift-upmerakor
FossilOrigin-Name: 104b6a1c26b7375808553c4a05317ada2101272c4053ae8aa09dd3ae505b9db4
2020-04-03kiss.1: add fetch optionmerakor
FossilOrigin-Name: 1c374de43ec48b01a2b3ea5925b1879f46aa9621dbd7cda0e2a2f4b8dedb3f46
2020-04-03kiss: use for-loop instead of find1.11.1-carbsmerakor
FossilOrigin-Name: 4db28929758405c9908055efa9fe530c4b4829faffbce5f22119a0cee7f204b9