You are not logged in.

#1 2014-03-25 22:52:23

boogerlad
Member
Registered: 2013-04-20
Posts: 48

Yaourt --devel switch

How does yaourt choose which packages to upgrade? I've been issuing

yaourt -Syyua --devel

to perform a full system upgrade including packages from the aur(this is correct right? somewhat risky)
Having the devel switch on makes it echo

==> upgrading SVN/CVS/HG/GIT package

but how does it know which packages are SVN/CVS/HG/GIT? Does it upgrade anything else? (like git kernel version)

Last edited by boogerlad (2014-03-25 22:53:58)

Offline

#2 2014-03-25 22:55:49

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: Yaourt --devel switch

Yaourt is a wrapper script written in bash. I suspect it just matches packages ending in -svn, -cvs, -hg, or -git using grep or something. Take a look at the script yourself and see if you can find out.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2014-03-25 23:39:00

boogerlad
Member
Registered: 2013-04-20
Posts: 48

Re: Yaourt --devel switch

It appears you're right. In "pkgbuild.sh.in" and "abs.sh.in", it only checks for packages from the AUR via pkgbuild variables like the name.

Offline

#4 2014-03-25 23:45:24

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,093
Website

Re: Yaourt --devel switch

There's also no need to force syncing all the repositories for most updates. One 'y' should be enough in most circumstances.

All the best,

-HG

Offline

Board footer

Powered by FluxBB