You are not logged in.
Pages: 1
How do people find out that they need to rebuild something from the AUR? Is there anything other than having a list and checking everything on it once in a while?
TOF.
Offline
Cower is great. See my bb alias in my .zshrc linked below.
Last edited by graysky (2013-11-26 11:08:31)
Offline
Through is not recommended, I find myself quite happy with yaourt.
alias yupgrade='yaourt --noconfirm -Syuu --aur && yaourt -Qmc'Calling yupgrade checks for rep packages, aur, and lists aur installed packages.
Disclaimer: use yaourt and the --noconfirm flag at your own risk!
Offline
Cower is great. See my bb alias in my .zshrc linked below.
This. And as for VCS packages, I have the sources all in a directory and then run makepkg for all of them. If new commits are available, the package is rebuilt and then I install it. I dislike doing this with yaourt or some other helper since that simply rebuilds and reinstalls all VCS packages and I only want to do taht for the changed ones.
Last edited by progandy (2013-11-26 11:46:19)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
personally i prefer the manual method :
For every aur package i use or am interested in, i login to the aur, and select 'Notify of new comments' .
The majority of aur maintainers add a comment when they submit a new version.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
How do people find out that they need to rebuild something from the AUR? Is there anything other than having a list and checking everything on it once in a while?
An AUR Helper is an application that can tell you which of your AUR packages have updates available and / or help you install them.
"cower" and "yaourt" are AUR Helpers, but there's dozens of others. You can go through the list in the wiki and decide if one has the features that fit your needs. ![]()
Offline
I've used pacaur for a while now, and it seems to work rather well! Worth checking out..
Offline
Many -git -hg etc. packages won't give any notifications, because their PKGBUILDs haven't changed, but their source might, so you have to check it manually.
Offline
Many -git -hg etc. packages won't give any notifications, because their PKGBUILDs haven't changed, but their source might, so you have to check it manually.
Not sure about the others, but pacaur with the --devel flag fetches the vcs sources and compiles only if the version of the cloned repo is newer than the installed packages.
Last edited by Spyhawk (2013-11-26 14:50:39)
Offline
personally i prefer the manual method :
For every aur package i use or am interested in, i login to the aur, and select 'Notify of new comments' .
The majority of aur maintainers add a comment when they submit a new version.
Is that a recommendation? Because I never do that with my packages. Sorry for hijacking the thread.
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
I use the JSON interface (see at https://aur.archlinux.org/rpc.php) through a bash script which uses jshon for parsing.
If you use type=multiinfo it is unexpectedly fast: you can get info about tens of packages in just a few seconds.
For example you can get all the info about cower and yaourt with this line:
$ wget "https://aur.archlinux.org/rpc.php?type=multiinfo&arg[]=cower&arg[]=yaourt" -o /dev/null -O - | jshon -e results
[
{
"Maintainer": "falconindy",
"ID": 44921,
"Name": "cower",
"Version": "10-2",
"CategoryID": 16,
"Description": "A simple AUR agent with a pretentious name",
"URL": "http:\/\/github.com\/falconindy\/cower",
"License": "MIT",
"NumVotes": 399,
"OutOfDate": 0,
"FirstSubmitted": 1293676237,
"LastModified": 1381588117,
"URLPath": "\/packages\/co\/cower\/cower.tar.gz"
},
{
"Maintainer": "tuxce",
"ID": 5863,
"Name": "yaourt",
"Version": "1.3-1",
"CategoryID": 16,
"Description": "A pacman wrapper with extended features and AUR support",
"URL": "http:\/\/www.archlinux.fr\/yaourt-en\/",
"License": "GPL",
"NumVotes": 5754,
"OutOfDate": 0,
"FirstSubmitted": 1152045478,
"LastModified": 1365197530,
"URLPath": "\/packages\/ya\/yaourt\/yaourt.tar.gz"
}
]To see if there are news your could use vercmp and compare the version to that of package installed on your system. Alternatively you can store the timestamps on a local database and compare that.
Offline
Is that a recommendation? Because I never do that with my packages. Sorry for hijacking the thread.
It is not. Subscribing to new messages is a poor way to stay up to date imho.
Offline
SanskritFritz wrote:Is that a recommendation? Because I never do that with my packages. Sorry for hijacking the thread.
It is not. Subscribing to new messages is a poor way to stay up to date imho.
I subscribe to get new comments about any issues, delays, packages being removed from the AUR etc.
I don't mind if the maintainer updates the package and doesn't post a comment.
Offline
karol> I was referring only to "new version" notifications. Subscribing to comments is indeed very useful to know about all the cases you mentioned.
I also prefer when maintainers don't announce new version in the comments feed - I want to know about situations that might require particular attention, but don't want to get spammed by version changes that I can easily check by automation.
Offline
Most of the packages I have from aur are VCS packages, so I just use common sense and makepkg -si whenever I feel like it.
For the more important packages I follow upstream ml/rss/whatever too.
Last edited by Mr.Elendig (2013-11-26 17:58:55)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
There is no requirement to stay updated with Arch, but if you have to update, and you've been in the stone age since the last update cycle, it will be more impossible.
pacaur --devel seems to want to update everything.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
pacaur --devel seems to want to update everything.
VCS packages will be checked (cloned locally), but compiled only if required.
Offline
nomorewindows wrote:pacaur --devel seems to want to update everything.
VCS packages will be checked (cloned locally), but compiled only if required.
I just update when cower -u says somethings new which is often enough for me, although I could recompile everytime one line is changed in git. Pacaur wants to call everything -git to -git-latest.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I have a script which checks for changes in official and unofficial repos with pacman, and uses cower to check for updates. If there are any, it displays a notification saying so.
There are 2 problems:
1) VCS packages - I have no good way to deal with these;
2) packages which are replaced or dropped altogether from AUR.
Would really like a way to add some sort of checks for these but have not yet come across anything hopeful
.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pacaur wants to call everything -git to -git-latest.
Yeah, -latest version. Which means they won't be compiled if already to latest version.
--devel
When used with update operations, also upgrade AUR development packages (supported are cvs, svn, git, hg, bzr and darcs development packages). The build of development packages that are found up-to-date after the source checkout will be skipped.
There's a reason the cloning is done after the main prompt: to minimize time the user spend interacting with the package manager.
I have a script which checks for changes in official and unofficial repos with pacman, and uses cower to check for updates. If there are any, it displays a notification saying so.
There are 2 problems:
1) VCS packages - I have no good way to deal with these;
2) packages which are replaced or dropped altogether from AUR.Would really like a way to add some sort of checks for these but have not yet come across anything hopeful
.
You might want to look at pacaur source code: 1/ is achieved like explained right above, 2/ is done by displaying a warning when foreign packages aren't found in the AUR either.
Last edited by Spyhawk (2013-11-27 07:56:22)
Offline
2) packages which are replaced or dropped altogether from AUR.
This is my alias to detect packages which are neither in a repository nor in the AUR. If you want to detect when a package is dropped from a repository to the AUR, you'll have to keep a list of foreign packages and compare it to the new one.
alias pacdrop='for pkg in `pacman -Qqm`; do; curl --output /dev/null --sile
nt --head --fail "https://aur.archlinux.org/packages/${pkg:0:2}/$pkg/PKGBUI
LD" || echo "$pkg has been dropped from repos and AUR or is a personal package"; done'Last edited by progandy (2013-11-27 09:40:42)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks. That gives me an idea - I might do something with cower to pick up dropped packages. (Only because that is more the kind of thing I would do than using curl.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1