Commit Graph

174 Commits

Author SHA1 Message Date
pancake 23dfc35b96
Remove all the references to the old r2pm.sh ##r2pm 2022-11-22 12:19:49 +01:00
pancake c42acae208 Fix clean installations with r2pm -c ##r2pm 2022-10-13 14:42:55 +02:00
pancake c2851a6f46 Use XDG instead of R2_HOME_CACHEDIR and R2_HOME_HISTORY ##core
* Implement and use the new `r_xdg` apis
* Remove R2_HOME_RC, R2_HOME_RC_DIR and R2_HOME_CONFIGDIR
* R2_HOME_THEMES, R2_HOME_ZIGNS R2_HOME_PDB R2_HOME_HUD R2_HOME_BINRC and R2_HOME_BIN
* Disable the bin-specific user scripts
* Massage the help messages and reduce and review all the env vars used
2022-09-29 17:33:21 +02:00
pancake 29ee360f3d Update r2pm manpage and add -q and -a flags ##r2pm 2022-09-21 20:54:08 +02:00
pancake b0636a2939 Make R2PM_NATIVE the default and provide R2PM_LEGACY ##r2pm 2022-09-20 12:44:56 +02:00
pancake e3c09aa9c6
Build r2 with muon+samu ##ci
* Remove asm.arc leftovers
* Fix r2pm -r return value
2022-07-08 22:44:46 +02:00
Aleksey Kislitsa dd3bc7b520 Correction of dependencies installation 2022-06-01 16:16:52 +02:00
pancake ac0e787647 Fix #20200 - Set PYTHON env var if not defined
* Checks for python3, python and python2 in PATH
2022-05-31 14:45:30 +02:00
pancake 8ff7008d40 Increase commit log from 3 to 10 in ##r2pm 2022-04-13 01:25:05 +02:00
Sergi Àlvarez i Capilla 0c355d8ff9 Fix R2PM_DEPS handling in r2pm -ci ##tools 2022-01-07 01:41:54 +01:00
pancake 3ad5693518
Initial implementation of r2pm.c ##r2pm 2021-12-16 12:47:40 +01:00
pancake 150a4e385a Add help for r2pm -uu 2021-12-05 02:44:22 +01:00
Sergi Àlvarez i Capilla 0290c24758 Fix `r2pm -s` when more than one result is found. 2021-12-03 12:29:39 +01:00
Sylvain Pelissier bff04d1ac9
r2pm: Add offline option for installation ##r2pm 2021-08-31 17:09:58 +02:00
pancake ff2d728a4f Add more global combination flags for r2pm 2021-08-25 14:28:32 +02:00
pancake 04483ee801
Initial import of `./preconfigure` for packaging purposes ##build
* Use git clone -q for a quieter experience
2021-07-31 02:48:40 +02:00
pancake daee2a5ab7 Run r2pm update once an hour init/update without user interaction by default
* See R2PM_OFFLINE=1 to disable this new default behaviour
2021-06-30 21:47:35 +02:00
pancake d894f967e8 Add r2pm -U to upgrade all the outdated packages 2021-06-15 12:09:27 +02:00
pancake a4b80d0b25 commandline -> command-line 2021-05-25 10:51:18 +02:00
pancake 23b838a0a9
Remove all the travis and codecov reminiscenses (#18585)
* Codecov and Travis scripts were disabled on January
2021-04-16 17:56:50 +02:00
pancake 6f2fd83b64 Early exit in r2pm -v to avoid double rainbows 2021-03-15 12:37:18 +01:00
pancake cafdd18c27 Fix #18391 - Show help in r2pm even before initializing the db ##tools 2021-02-28 18:15:48 +01:00
Damien Zammit 2ccd0c0cd2
r2pm: Add R2PM_GITSKIP env var to skip git checkout master && git pull (#17646) 2020-10-17 10:43:46 +02:00
bazuchan 9d61f554f5
Set R2_* variables by calling r2 -H only once (#17650) ##r2pm 2020-09-18 13:39:05 +02:00
Khairul Azhar Kasmiran 10b2e9a797
r2pm: Remove trailing slash from R2PM_GITDIR (#17482) 2020-08-17 22:34:57 +08:00
Khairul Azhar Kasmiran 5d4680fc01
Ensure cloned pkg dir matches the pkg name (#17472) ##r2pm 2020-08-17 10:53:39 +02:00
Khairul Azhar Kasmiran 70f88cb361
r2pm: Allow reuse of gitdir-cleaning code in package scripts (#17442) 2020-08-13 22:03:43 +08:00
Khairul Azhar Kasmiran 7ed581d2de
r2pm: Allow package script to declare cleaning is done (#17411) ##tools 2020-08-08 18:37:41 +08:00
Khairul Azhar Kasmiran 613d480d10
r2pm: Don't clone while cleaning (#17406) 2020-08-06 18:37:07 +08:00
Khairul Azhar Kasmiran 0f0ffee510
r2pm: Support cleaning of package cloned to <package>.git (#17357) 2020-07-27 12:24:16 +08:00
pancake 5ef1e7e41c
Fix missing grep glitch in r2pm (#17334)
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-23 12:13:43 +08:00
pancake 37e10ee7b0
Initial support for git tags in r2pm ##r2pm (#17178)
* Initial support for git tags in r2pm ##r2pm
* Use `r2-` as tag prefix instead of `v`

Co-authored-by: pancake <pancake@nopcode.org>
2020-07-02 11:56:08 +08:00
pancake f2d76b16cd Switch to travis-ci.com 2019-10-10 20:04:02 +02:00
pancake c059b6e177 radare -> radareorg 2019-09-28 00:30:09 +02:00
Khairul Azhar Kasmiran a8a42f149f Fix for r2pm when libdir is lib64/ (#15101) 2019-09-23 00:13:59 +02:00
Khairul Azhar Kasmiran 0587b7f6d7 R2PM_TGZ: If 2nd param starts with /, assume it's root dir of archive (#15033) 2019-09-13 21:44:16 +02:00
Khairul Azhar Kasmiran 25fd8c6baf Ensure R2PM_BINDIR exists (#15032) 2019-09-13 18:29:33 +02:00
v45k0 c4fa10f628 Add info that r2pm -i is also used for pkg update (#14998)
It is confusing that `r2pm update` only updates the database
and the packages are not updated. Information about
how to update a specific package is missing.
When the user searches for information how to update a particular package,
e.g. using `r2pm -h`, the help provides information only how to
install a package.
2019-09-09 22:44:24 +02:00
Ian Huang 8248039e55 r2pm: handle info and install arguments properly (#14693) 2019-07-30 04:20:28 +02:00
pancake 8926d2733b Fix r2pm -H output 2019-06-20 14:09:09 +02:00
pancake 69e13b5a51 Honor the 2nd arg of R2PM_TGZ with ZIP files ##r2pm 2019-06-20 13:48:56 +02:00
pancake 0cbd616e3b Fix posix shell regrssion in r2pm -s 2018-12-05 12:26:00 +01:00
radare 9beda2f60f
Allow multiple packages as arguments for r2pm -i,-c,-ci ##tools (#11843) 2018-10-18 10:10:35 +02:00
pancake c4395fd8ee Fix #10290 - Support R2_ and without prefix in r2 -H 2018-10-08 00:43:40 +02:00
pancake b151764ffe Support tar and fix clean in r2pm 2018-10-07 00:18:26 +02:00
kij 10265a0507 Remove 2 bashisms, unsure about the last. (#11189) 2018-08-24 15:57:18 +02:00
kij 10786e5549 r2pm OCD fixes, search list aligned with column 2018-08-21 23:44:19 +02:00
pancake aa0581ab81 Use more r2 -H and less hardcoded paths in r2pm 2018-08-08 17:09:03 +02:00
pancake b32a675371 Show R2PM_ variable values in r2pm -h 2018-08-08 16:51:19 +02:00
Maijin b3d081abcd Add some R2_ prefix for some var 2018-08-07 22:01:59 +02:00