[TriLUG] Re: up2date

Benjamin Reed ranger at befunk.com
Mon Apr 22 16:28:57 EDT 2002


On Sun, 2002-04-21 at 07:55, Brent Verner wrote:
> are your scripts based on the apt-rpm.tuxfamily.org scripts or the
> apt4rpm.sourceforge.net ones?  I have a set of scripts based on
> the former that track 6.2 and 7.2.

Mine are originally based on the former as well, but no longer
resemble them in any way.  :)

If you want to take a look, it's at:

  http://www.befunk.com/apt/redhat-apt.sh

It still needs to be cleaned up and generalized, but it basically looks
for a set of directories laid out like:

  <dir>/<name>/<redhat-tree>

...where <name> is something like "os" or "updates" or "custom" (a
general category), and <redhat-tree> is a redhat-like tree, starting
with the version number (7.2/en/os/i386 or whatever).

This gets turned into an apt repository that gets added to your
apt/sources.list like so:

  rpm http://url-root/ redhat/<codename>-<version> <name> [<name2>]


> yes.  I'd like to see an apt4rpm archive with lotsa goodies in it :-)

I was thinking that if the server-side scripts are made right, each user
could even have an "rpm" directory in their home directory that would
automatically get turned into and apt repository (not unlike each user
having a public_html).  So you could have:

  $HOME/rpm/blah/i386
  $HOME/rpm/blah/SRPMS
  $HOME/rpm/foo/i386

...and then do:

  rpm http://www.trilug.org/apt users/ranger blah foo

...and it would all be indexed and apt-ified automatically.  'twould be
darn cool.  =)

-- 
Ben Reed a.k.a. Ranger Rick (ranger at befunk.com)
http://defiance.dyndns.org/ / http://radio.scenespot.org/
...if humanoids eat chicken, then obviously they'd eat their own
species.  Otherwise they'd just be picking on the chickens. -- Kryten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020422/6c058e9b/attachment.pgp>


More information about the TriLUG mailing list