* Marc Haber <[EMAIL PROTECTED]> [080411 18:29]:
> from the man page, I guess that it is only possible to search for
> "Package" and "Source" headers, and that no wildcards are supported.
>
> Empirical tests have shown that 
>
>    reprepro listfilter etch 'Package'
>
> does not what I expect, listing all binary packages in etch - it also
> lists source packages.
>
> Are wildcards supported?

The manpage currently states:

|listfilter codename condition
|  as  list,  but does not list a single package, but all
|  packages matching the given condition.
|
|  reprepro -b . -T deb listfilter test2 'Source (==blub)
|  |  (  !Source , Package (==blub) )' will e.g. find all
|  .deb Packages with Source  blub.  (Except  those  also
|  specifying a version number with its Source, as binary
|  and source version differ).
|
|  The values checked are directly  the  headers  in  the
|  repspective  index file compared alphabetically.  That
|  means that each part <Fieldname> (<cmp> <value>) of the for-
|  mula  will be true for exactly those package that have
|  in the Package or Sources file a  line  starting  with
|  <fieldname>  and a value is alphabetically <cmp> to <value>.

So 'Package' will find everything with a Package field, which
should be everything, because both Packages and Sources lines
contain 'Packages' fields. And Wildcards are not supported.

Any suggestions for a better text to describe those lines
highly welcome, I suck at writing documentation.

Hochachtungsvoll,
        Bernhard R. Link



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to