[PROPOSAL] Re: What tags first?

Enrico Zini enrico at enricozini.org
Fri Mar 24 16:05:36 UTC 2006


On Fri, Mar 17, 2006 at 09:08:50AM +0100, Benjamin Mesing wrote:

> > Still to be done.  It can be a good opportunity for revamping the
> > autotagger.  Which in turn is an easy package to maintain if someone is
> > interested.
> Does this include upstream maintenance?

Yes.  I'd even say only upstream maintainance, since autodebtag isn't
packaged in Debian.

I've finally worked on a redesign of it that supersimplifies its code.

Check up svn://svn.debian.org/debtags/autodebtag/trunk: the new one is
called autodebtag2 and it mainly does run-parts of the ad-plugins
directory.

The plugins are just really small scripts that spit a piece of tag patch
into a file.  autodebtag2 will then put all the pieces together.

Missing is the ability of plugging in 'correction' patches in case
autodebtag produce wrong results for some packages.

The plugins as of now are a beginning.  So much more can be done, and
they can become more smart.  For example, greek culture can be inferred
without confusion with Emacs Lisp packages with something like:

  debtags dumpavail '!(suite::emacs || *::lang:lisp)' | \
  	grep-dctrl -F Description -i -ns Package greek | \
	grep -- '-el$'

This plugin-style architecture is also quite convenient because it
allows to easily try out a new patch-generating snippet (just call it
with /dev/stdout as an argument).


On Thu, Mar 23, 2006 at 02:22:14PM -0500, Daniel Dickinson wrote:

> If you don't already have someone to do this, I'm interested, if you
> don't mind being a sponsor.  I'd be doing it in my limited non-work time
> for at least the next month and a half, but after that I will have some
> time off which could be devoted to the autotagger, and I am hoping to
> develop a work situation that would allow me to contribute to debian
> during the day as well.
> 
> In any event I will definitely be working on the tagging of packages
> this weekend (at the latest).  It took me a few days to clue in that
> the changes so far are non-code changes (AIUI), but rather changes to
> the tags database.

Please do join.  Another cool thing about the new design is that many
people can maintain many code snippets.

Do pay attention that with automatic tagging it's easy to make mistakes.
The -el (emacs lisp) packages confusing with -el (greek) packages are
just an example, but there are more.

I suggest you check out the autodebtag repo[1], try out a few script and
post patches and new snippets to the list.  Then you keep an eye on the
list, and if you see a workable automatic inference opportunity, or
people saying "it'd be nice if all packages with this tag would have
that tag as well", put it down in code.

I wonder if I spotted correctly that Benjamin would be interested in
working on this as well.  It might also be possible to do things
together.


Ciao,

Enrico

[1]
svn co svn://svn.debian.org/debtags/autodebtag/trunk autodebtag
-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debtags-devel/attachments/20060324/266c8dbc/attachment.pgp


More information about the Debtags-devel mailing list