Ventto / pug

Automatically Gist-synchronises Pacman & AUR installed package lists.
100 stars 12 forks source link

AUR list gist doesn't update when pacaur is used to remove both AUR and normal packages #3

Open BennyAJ opened 7 years ago

BennyAJ commented 7 years ago

I uninstalled some Gtk themes in one pacaur command, some were AUR packages and some were in the regular repos. After removing them, the package list gist updated correctly, but the AUR list gist didn't update until the next time I uninstalled an AUR package. The AUR list "caught up" as expected when I uninstalled another AUR package.

The command used was :

$ pacaur -R numix-gtk-theme deepin-gtk-theme python-pillow pop-gtk-theme \
            adapta-gtk-theme xfce-theme-blackbird python-kmeans

I suspect this has to do with how the hooks are called by pacaur, so it's possible that this isn't really in your control.

Ventto commented 7 years ago

Thanks for the feedback. Basically, the hook script isn't aware about the type of package that's why it compares the two lists with gists and updates if necessary. Nevertheless, I have not tried to remove both official and AUR packages in one command.

Ventto commented 7 years ago

It worked for me. Check the result of diff on /tmp/aur.list and /tmp/aur.gist after executing your above command.

Ventto commented 7 years ago

@BennyAJ, it is still not working ?

BennyAJ commented 7 years ago

Sorry, I haven't been using that system recently. I'll test it soon and get back to you. Are all of these changes ending up in the AUR package?

On Jul 11, 2017 21:20, "Thomas Venriès" notifications@github.com wrote:

@BennyAJ https://github.com/bennyaj, it is still not working ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ventto/pug/issues/3#issuecomment-314617085, or mute the thread https://github.com/notifications/unsubscribe-auth/AV6ELSPV_rjmd4fJMPtrMM_DKwGaNXfLks5sNB9tgaJpZM4NscIN .

BennyAJ commented 7 years ago

On the current AUR package, I'm still getting this issue. Note that I removed pop-gtk-theme from the command since the package didn't seem to be functional anymore. The command "diff /tmp/aur.list /tmp/aur.gist" outputs

8d7
< python-kmeans
Ventto commented 7 years ago

@BennyAJ, are you using pug from the AUR package or a clone repository ? If it comes from AUR, which version do you have ?

Ventto commented 7 years ago

Up.