[Slapt-get-devel] Re[3]: [Slapt-get-user] Filter location and meta package

Jason Woodward woodwardj at jaos.org
Wed Nov 10 10:15:38 EST 2004


Hi Kocil,

> thanks for the conflicts resolution.
> So I will use the first option.

No problem.  Thanks for using the conflicts feature.
 
> IMHO, release=vl5 is not breaking the naming conventions.
> Look at the redhat and mandrake RPMs.
> We need something to differentiate the packages from other distro, don't we 
> ?
> For me, vl5 is more elegant and sensible than 5vl, for example.

When I build RPMS and debs, I do the same thing.  But we aren't talking about rpms and debs. 
In the slackware community (linuxpackages, dropline gnome, audioslack, collegelinux, others)
they are all following this convention:

[package name]-[upstream version]-[arch]-[build #][optional builders tag].tgz

This isn't something I imposed.  I don't want to tell you how to name your packages.  I am just
telling you how everyone else is doing it and why slapt-get has followed that same standard, of
which I'm sure you would want to be compatible with.  Vector users might want dropline gnome
packages, packages from linuxpackages.net etc.  Or they may wish to use another tool like
slackpkg or swaret.  You want to be as flexible as you can for yourself and your users.

> Anyway, if you don't like the PREFERED_RELEASE idea,
> how about ordered MIRRORs ? So if i put :
> 
> SOURCE=ftp://ftp.vectorlinux.com/veclinux-5.0/packages
> SOURCE=ftp://ftp.slackware.com/slackware-10.0/slackware
> 
> Then the packages from the first SOURCE will have priorities,
> regardless of the architecture and release.
> (Sorry if this is already the case, I did not double check).

Well each mirror is parsed first (and thus ordered in /var/slapt-get/package_data first), but
the preferred package is always the one with the highest version.  You can still do things like
this:

slapt-get --search '.*-[0-9]vl$' | awk '{print $1}' | xargs -r slapt-get --install --reinstall

which will give all vl packages preference and reinstall them.  This can also be combined with
conflicts for more control.


take care,
jason

--
Jason Woodward
woodwardj at jaos.org

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
 
mQGiBDrwHPoRBAC3nDJRLKTcFcJWid9PN08ChMI7tuQevomWoVeZpZZ0zzip2w/E
ts55Mx58eRRGFFmgZZGeP7EhyUPzb668LIsU62gFO7G5/oWCr3U3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f0mGY/G5w
=4p8c
-----END PGP PUBLIC KEY BLOCK-----

my($c, at s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
[qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
[qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
$c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########



More information about the Slapt-get-devel mailing list