ARA autotagger queries

Justin B Rye jbr at edlug.org.uk
Fri Aug 3 11:28:20 UTC 2007


Enrico Zini wrote:
> I'm looking into ara as an engine for the autotagger.

Interesting.  Especially because it works almost as well from Etch!

> Here's what I have quite tested so far:
> 
> ara -list "section=libs & package=~/^lib.+[0-9]$/ & ! package=~/-ruby/"
>  -> +role::shared-lib, -special::not-yet-tagged, -special::not-yet-tagged::FOO

What role:: are lib*ruby* packages, then?  I'd have (tentatively)
called them ::shared-lib, on the grounds that they all appear to
function as run-time rather than build-time library dependencies.
 
Beware of role::dummy library packages (like libpils0)... maybe they
could be distinguished by their Size.  Hmm, libgtk2-ruby1.8 even
claims in its description to be a "dummy package", but contains lots
of .rb files.  What's going on there? 

>[...]
> ara -list "package=~/^libmono[0-9-].+-cil$/"
>  -> +devel::library, role::devel-lib, +devel::ecma-cli

Again, why ::devel-lib?  If you're using that tag to signal "this
library package might be useful for developers", what function does
that leave for devel::library?

It should be easy to do things like:

 ara -list "Package=~/^lib.*-java$/ & Section=lib"
	-> +implemented-in::java

The things I've been thinking about suggesting automation for
include:

Packages that keep being reincarnated sans debtags:

 ara -list "Package=~/^linux-doc-2.6./ & Section=doc"
	-> +admin::kernel +made-of::data:html +role::documentation
 ara -list "Package=~/^linux-headers-2.6./ & Section=devel"
	-> +admin::kernel +devel::lang:c +implemented-in::c
	   +role::devel-lib
 ara -list "Package=~/^linux-image-2.6./ & Section=admin"
	-> +admin::kernel +implemented-in::c +role::???
 ara -list "Package=~/^linux-kbuild-2.6./ & Section=devel"
	-> +admin::kernel +implemented-in::c +implemented-in::perl
	   +implemented-in::shell role::???
 ara -list "Package=~/^linux-manual-2.6./ & Section=doc"
	-> +admin::kernel +made-of::data:man +role::documentation
 ara -list "Package=~/^linux-patch-/ & Section=admin"
	-> +admin::kernel +role::source
 ara -list "Package=~/^linux-source-2.6./ & Section=devel"
	-> +admin::kernel +implemented-in::c +role::source
 ara -list "Package=~/^linux-support-2.6./ & Section=devel"
	-> +admin::kernel +devel::lang:c +implemented-in::c
	   +role::devel-lib
 ara -list "Package=~/^linux-tree-2.6./ & Section=devel"
	-> +admin::kernel +role::dummy +special::meta

(linux-image-2.6.* is an arguable role::TODO, but linux-kbuild-2.6.*
I just can't classify)

Other casual ideas:

ara -list "Package=~/-fr$/"
 -> +culture::french

ara -list "Package=~/^gnome-/"
 -> +suite::gnome

ara -list "Package=~/-data$/"
 -> +role::app-data			(No, never plain role::data)

ara -list "Package=~/^\(ttf\|xfonts\)-/"
 -> +made-of::data:font +role::app-data +x11::font
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)



More information about the Debtags-devel mailing list