You are not logged in.

#1 2010-02-10 16:12:29

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Update source versions

I have plenty of AUR packages but I don't think they all update like regular ones. The -u pacman option updates if the package version is new, but what about packages that come right from a source server, like Github? Is there anyway to find out which packages I have installed that work like that? And how do I force an update if the upstream source has changed?

Offline

#2 2010-02-10 17:06:52

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Update source versions

1. Edit the PKGBUILD manually and change the package version,recompile, update.
2. Use a pacman-wrapper, like packer for automating AUR package maintenance.
3.

pacman -Qm | sort

Last edited by sHyLoCk (2010-02-10 17:08:00)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2010-02-10 17:35:11

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Update source versions

makepkg has some support for automatically noticing if upstream has updated when you try to build a package. See the devel_check() function in makepkg itself.

Offline

#4 2010-02-11 16:05:54

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Update source versions

Not exactly what I'm looking for, although the devel_check is interesting.  I know about the -Qm option, but I'm wondering how I can find out which one of those depend on grabbing it directly from the development system as opposed to downloading a versioned tgz file. The only way a git or svn direct downloaded package would be updated now is if the PKGBUILD file changed, right? I imagine all my packages that are -git or -svn could be "reinstalled" to see if there is a new version. But some of them (like my recently released python-sleekxmpp) download from the SCCS but don't have that in the name.

Offline

Board footer

Powered by FluxBB