You are not logged in.
I'm writing a little tool in python that checks for updates and displays notification in gnome about available updates. I'm doing this by syncing database to custom directory with:
pacman -Syb /custom/dirand then getting list of updates with
pacman -Qub /custom/dirI do it this way because I don't want to sync my real pacman database until I'm actually installing or updating packages. I then get current version and repo of the listed packages with:
yaourt -Q | grep "list\|of\|packages"It's quite long and seemingly wasteful procedure, but an even bigger issue is that I don't know how to do the same thing with packages from AUR. Looking at the yaourt's man pages I see no option to sync database into a custom directory.
Any suggestions?
Offline
I remember this blog post: http://bashlnx.blogspot.com/2011/05/hey … rt-ii.html . Looks like it does what you want.
Offline
The author of that blog post used cower instead of yaourt, but I don't think cower allows me to sync AUR database into custom dir either. Or am I missing something? I don't how yaourt and cower sync AUR database anyway.
I actually already wrote such notifier for gnome in bash. But I want to display more info and I want to include AUR packages.
The perfect tool in my situation would be something that allows me to sync official and AUR databases into custom dir and then displays list of updates with:
-name of package
-current version
-updated version
-repo
I can currently do all of the above, but just with official repos and not as elegantly as I want.
Offline
From Xyne's website, http://xyne.archlinux.ca/old_projects/bauerbill/
That may do what you want. If not, poke around his site, you may find something there to help you.
Offline
The author of that blog post used cower instead of yaourt, but I don't think cower allows me to sync AUR database into custom dir either. Or am I missing something? I don't how yaourt and cower sync AUR database anyway.
I actually already wrote such notifier for gnome in bash. But I want to display more info and I want to include AUR packages.
The perfect tool in my situation would be something that allows me to sync official and AUR databases into custom dir and then displays list of updates with:
-name of package
-current version
-updated version
-repoI can currently do all of the above, but just with official repos and not as elegantly as I want.
Not sure what you mean by 'sync AUR database' (no such thing exists as it does for the binary repos), but cower will let you download to wherever you want.
Offline
From Xyne's website, http://xyne.archlinux.ca/old_projects/bauerbill/
That may do what you want. If not, poke around his site, you may find something there to help you.
Its deprecated and does not work.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Not sure what you mean by 'sync AUR database' (no such thing exists as it does for the binary repos), but cower will let you download to wherever you want.
I want to do something like Xyne's paconky does, but also with version info, which yaourt does with AUR packages but only when you do "-Syua". I've tried pacpal (another Xyne's tool) with "--display-update-info" flag, but it just shows update-able packages with currently-installed version (identical output to "pacman -Qu").
How do these tools (such as paconky) know from which repos (including AUR) are packages?
Offline
You can obtain everything you need and how you need it with cower (aur) and expac (repo), both made in falconindy's land.
Last edited by Spyhawk (2011-07-19 11:00:23)
Offline