Differences between revisions 3 and 4
Revision 3 as of 2007-10-22 11:26:36
Size: 1333
Editor: HolgerLevsen
Revision 4 as of 2009-03-16 03:29:49
Size: 1335
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
 * see [http://debtags.alioth.debian.org]  * see [[http://debtags.alioth.debian.org]]

<enrico> h01ger: you can publish a tag database and have debtags use it right now by editing /etc/debtags/sources.list
<enrico> h01ger: plus since debian-edu's quite an official debian thing, I can automatically pull from your location into the packages file

To be continued. This page is a stub, please help expand it ;-)

Creating a debtags database from the debian-edu metapackages

  1. Create a set of tags from the metapackages you have.
  2. Write down the set of tags following the style of http://debtags.alioth.debian.org/tags/vocabulary.gz

  3. For every metapackage you have:
    1. Take the name of the metapackage
    2. Replace it with the tag you made for it
    3. Take the dependencies of the metapackage
    4. For every dependency, spit out a line like pkgname: tag

  4. Run the output through tagcoll copy to make it more compact

  5. Try out the result as you can find in the "Can I create my own set of tags and add them to all the packages I want?" section of http://debtags.alioth.debian.org/faq.html

  6. Put the two files (vocabulary.gz and package-tags.gz online somewhere, then people will be able to access them by adding the tag source to their /etc/debtags/sources.list