Open actionless opened 6 years ago
Thanks for pikaur. It's the best AUR package manager ever.
+1 on this one -- the AUR package Liquibase 3.7.0 worked fine but the new 3.8.0 is totally broken for me. I had to downgrade by hand. (Took me all day to realize it's just a stupid bug in their new Java.)
I use a home-made zsh script to downgrade faulty packets. I don't know if it can be integrated into Pikaur with some modifications., but I post it just in case.
#!/bin/zsh
HISTFILE=~/.histfile
VAR=`tail -n 1 ${HISTFILE}|tr -d "[0-9][:; ]"`
INSTALL=`echo -e "\033[3;32;1mEnter the name of the archive to be installed:\033[0;1;37m "`
if [ "$VAR" == "U" ]
then
cd /var/cache/pacman/pkg/; echo
echo -e "\033[0;33;4m<TAB> for self-completion.\033[0m"
read -e -p "$INSTALL" u
pikaur -U $u
else
cd ~/.cache/pikaur/pkg/; echo
echo -e "\033[0;33;4m<TAB> for self-completion.\033[0m"
read -e -p "$INSTALL" ua
pikaur -U $ua
fi
@Bundy01 pikaur already have downgrade code for both repo and aur packages used in its tests (https://github.com/actionless/pikaur/blob/master/pikaur_test/helpers.py#L291-L342) however i'm too lazy to write CLI for it
Okay, that's good to know. I didn't know that. Sorry for the unnecessary post.
no problem, if you'd like to contribute on implementing the CLI for downgrade i can help with starting points
It would have been a pleasure, but unfortunately I only have bash and css notions :/
Can we add pikaur -G , choose commit from the list, pikaur -P
to the documentation of help
for explanation of dowgrading packages?
@aemonge yes, feel free to add new entry to the FAQ of the README 👍
for AUR: choose commit to which downgrade in interactive prompt (and next build just as normal -S/-P, with all the flags handled as
--rebuild
and so)and for repo pkgs use, choose commit from the list, pikaur -P )
downgrade
util (or query archive directly for better batch processing) and if--rebuild
was passed -- downgrade using ABS (pikaur -G