[Slapt-get-user] --config option

sean donner slapt-get-user@software.jaos.org
Thu, 05 Aug 2004 16:44:34 -0700


Just throwing out an idea here, but instead of making differnt config files for differnt sources, why not just have one config file and mask off the sources you dont want.  For example lets say you have 3 differnt sources, slackware-10, slackware-current and the slapt-get source.  Now as it currently stands if you issue 'slapt-get --update' it will grab the package list for all the sources.   However, if you type something like this 'slapt-get --update --source 1,2' then slapt-get will only update the first two sources.  Or you could also do something like 'slapt-get --update' which will grab all three sources then 'slapt-get --upgrade -source 3' which in this case would only upgrade those packages that are not current in the 3rd source.  

-Sean


----- Original Message -----
From: Dan Barber <danb@mojolin.com>
Date: Thursday, August 5, 2004 10:44 am
Subject: Re[2]: [Slapt-get-user] --config option

> Will you be able to run:
> 
> slapt-get --config /etc/slapt-getrc.linuxpackages --update
> 
> ?
> 
> 
> On Thu, 5 Aug 2004, Jason Woodward wrote:
> 
> > Hi guys,
> >
> > > Great idea.  that will make it very easy to switch between slackware
> > > official and linuxpackages.  very nice!
> >
> > > > > but issuing something along the lines of "slapt-get -c
> > > > > /etc/slapt-get.linuxpackages.net" or "slapt-get -c
> > > > > /etc/slapt.get.official" might be more elegant than playing with
> > > > > symlinks (I like to make sure I'm giving priority to the official
> > > > > packages).
> >
> > One thing I just wanted to make sure was clear... you'll need to rerun --
> update each time you
> > switch... so that your local package cache is built with only the 
> available packages from the
> > sources you want.
> >
> > The actual package data from each site will continue to be cached... so 
> when you switch to
> > another config file and run --update, it will regen the package data 
> with the cached copy of
> > the source (unless the source has been updated, in which case the cache 
> is invalided... all how
> > it currently happens).
> >
> >
> > take care,
> > jason
> >
> _______________________________________________
> Slapt-get-user mailing list
> Slapt-get-user@software.jaos.org
> http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user
>