Re: [ANNOUNCE] debpartial-mirror Alioth project
- To: debian-custom@lists.debian.org
- Subject: Re: [ANNOUNCE] debpartial-mirror Alioth project
- From: dann frazier <dannf@debian.org>
- Date: Wed, 7 Jul 2004 23:14:07 -0600
- Message-id: <[🔎] 20040708051407.GB4713@jale>
- In-reply-to: <87lli4q0mu.fsf@nurf.casa>
- References: <874qouw8e9.fsf@nurf.casa> <1088594792.31348.18.camel@localhost> <87k6xprwdd.fsf@nurf.casa> <87acykbzwu.fsf@mrvn.homelinux.org> <87lli4q0mu.fsf@nurf.casa>
On Wed, Jun 30, 2004 at 04:58:01PM -0300, Otavio Salvador wrote:
>
> This can resolved deps, virtual-packages, have regexp filter support,
> can get files, whole directories, ... so on ;-)
Having obviously not done due-diligence to look for a similar project,
I wrote something for a similar purpose as a wrapper around debmirror
a couple weeks ago - here's a brief description.
I can post bits somewhere if anyone is interested.
#
# bucketbrigade is a rule-based system for creating a subset of a package pool.
#
# The bucket.d directory contains a set of executables, each implementing a
# rule. Each executable receives the current working list of packages on its
# standard input, does whatever processing is necessary to fulfill its rule,
# and outputs the result to its standard output.
#
# The output of each script can be either binary packages or source packages,
# or a combination of both. Rules may emit any kind of package (virtual, meta,
# etc). They may also emit expressions (exim | mail-transport-agent, for
# example). Just keep in mind that the end of the chain will emit a list
# of source packages, so you'll need rules to evaluate virtual packages and
# expressions if you generate them earlier on.
#
# As an example, lets take the following rule chain:
#
# essential | standard | vimsucks | emacsrules | depends | > pkglist
#
# The essential and standard executables would probably just calculate the
# Essential: yes and Priority: standard package lists, respectively, and
# write those lists to standard output. They would also pass their standard
# input unmodified to their standard output, because they don't care about
# packages added by earlier rules.
#
# vimsucks would dump every line on its standard input to its standard output,
# except for any line that says 'vim'.
#
# emacsrules would write its standard input to its standard output, and will
# tack emacs21 to the end of it (or beginning, order doesn't matter).
#
# depends would analyze each package on its standard input,
# calculate its dependencies, and write the resulting set of packages
# to its standard output.
#
Reply to: