You are not logged in.

#1 2009-01-28 15:45:00

LeoSolaris
Member
From: South Carolina
Registered: 2008-03-30
Posts: 354

[ANSWERED]Question about cvs and svn versioning and yaourt

Now then, I know that cvs and svn are development branches and can have more than one 'branch' (at least that is my current understanding) but what I want to know is what, when compiled and installed, does it have a different version number from the numbers used in the AUR?

For instance:

 tint2-svn:   (local=28-1 aur=17-1)

I just compiled it, and for kicks ran an update with yaourt. It wanted to compile tine and a few other cvs/svn packages that I had just compiled about ten minutes ago.

This isn't the first time, before yaourt would ignore a legit update because the local version was "newer" due to the numbering...


What's going on??

Last edited by LeoSolaris (2009-01-28 18:44:18)


I keep getting distracted from my webserver project...

huh? oooh...  shiny!

Offline

#2 2009-01-28 16:19:56

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: [ANSWERED]Question about cvs and svn versioning and yaourt

yaourt  -Su --devel                     * upgrade all cvs/svn/mercurial/git/bazar packages

Offline

#3 2009-01-28 16:28:58

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [ANSWERED]Question about cvs and svn versioning and yaourt

I think it depends on the PKGBUILD. It's possible to dynamically set the pkgver variable to the latest revision at build time, but it's difficult for PKGBUILD parsers to recognize such changes without completely parsing the PKGBUILD. I try to use revision comparisons in developmental PKGBUILDs to prevent unnecessary building (example template here). This might not prevent repackaging, but it should prevent it from running the make gauntlet needlessly.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2009-01-28 17:41:29

LeoSolaris
Member
From: South Carolina
Registered: 2008-03-30
Posts: 354

Re: [ANSWERED]Question about cvs and svn versioning and yaourt

Thanks guys!

xaiviax wrote:

yaourt  -Su --devel                     * upgrade all cvs/svn/mercurial/git/bazar packages

I enabled that in the yaourtrc without realizing that was what I was doing, and figured out that is what was causing them to automatically update regardless of any actual need to do so. Thank you, I would not have caught that without your suggestion.

Xyne: I will definitely look into that, it may solve the issue of over enthusiastic updating.

Last edited by LeoSolaris (2009-01-28 17:47:22)


I keep getting distracted from my webserver project...

huh? oooh...  shiny!

Offline

Board footer

Powered by FluxBB