A cute presentation of Debtags The last, ultimate step towards Total - - PowerPoint PPT Presentation

a cute presentation of debtags
SMART_READER_LITE
LIVE PREVIEW

A cute presentation of Debtags The last, ultimate step towards Total - - PowerPoint PPT Presentation

A cute presentation of Debtags The last, ultimate step towards Total World Domination! Enrico Zini enrico@debian.org Jul 10, 2005 18 slides Enrico Zini (enrico@debian.org) 1/18 A cute presentation of Debtags Debconf 5, Helsinki, July 10,


slide-1
SLIDE 1

A cute presentation of Debtags

1/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.56 Enrico Zini enrico@debian.org

Jul 10, 2005 18 slides Enrico Zini (enrico@debian.org)

A cute presentation of Debtags

The last, ultimate step towards Total World Domination!

slide-2
SLIDE 2

A cute presentation of Debtags

2/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.56 Enrico Zini enrico@debian.org

Jul 10, 2005 18 slides Enrico Zini (enrico@debian.org)

A cute presentation of Debtags

The best way of knowing what's in Debian without being ftp-master

slide-3
SLIDE 3

A cute presentation of Debtags

3/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.56 Enrico Zini enrico@debian.org

What I'll be talking about

1)Current problems that need to be solved 2)Theoretical background of Debtags 3)Demo of existing tools

slide-4
SLIDE 4

A cute presentation of Debtags

4/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.57 Enrico Zini enrico@debian.org

Browsing Debian today

17068 binary packages. Brain goes banana when seeing more than 7±2. 33 different sections do not help. What is the section of OpenOffice?

slide-5
SLIDE 5

A cute presentation of Debtags

5/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.57 Enrico Zini enrico@debian.org

Full-text searches

apt-cache search web browser

197 results

apt-cache search text editor

170 results

apt-cache search gnome text editor

9 results: 3 are not editors, 6 are emacs packages

apt-cache search image editor

22 results, but Gimp is not among them

slide-6
SLIDE 6

A cute presentation of Debtags

6/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.57 Enrico Zini enrico@debian.org

Word of mouth

These are my favourite Debian packages:

  • cappuccino
  • polygen
  • cowsay
  • filters
  • gromit
  • xdiskusage
  • mmv
  • kfilelight
  • buffy
  • guessnet
  • dict

Which ones are yours? Shall we trade?

slide-7
SLIDE 7

A cute presentation of Debtags

7/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.57 Enrico Zini enrico@debian.org

Black magic

grep-dctrl -sPackage,Version . / var/lib/apt/lists/*_sid_*Sources | perl -ne 'next if / ^$/;chomp;s/^(Package|Version):\s*//o;$1 eq "Version" && do {print " $_\n"; next}; print' | sort | uniq

(big thanks to djpig)

slide-8
SLIDE 8

A cute presentation of Debtags

8/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.57 Enrico Zini enrico@debian.org

What do we need

Something to narrow the package list down to about 7±2 packages (since more don't fit in our brain) Something that can describe packages from different points of view (since we have different kinds of users) Something that can cope with the great variety and diversity of Debian packages Something that works with a body of software continuously changing over time (plus, of course, we need sex, love, friends, hugs, cuddles, peace, nice food, comfy sleep, wine or beer, a fast computer, bandwidth, ice creams, smiles...)

slide-9
SLIDE 9

A cute presentation of Debtags

9/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.57 Enrico Zini enrico@debian.org

Debtags theoretical foundations

Please meet Shiyali Ramamrita Ranganathan, the first Debtags developer.

slide-10
SLIDE 10

A cute presentation of Debtags

10/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.58 Enrico Zini enrico@debian.org

Laws of (Software) Library Science

I I Software is for use. Software is for use. II II Every user his or her software. Every user his or her software. III III Every software its user. Every software its user. IV IV Save the time of the user. Save the time of the user. V V Debian is a growing organism. Debian is a growing organism. (Ranganathan wrote them in 1931. This makes Debtags the oldest project in Debian)

slide-11
SLIDE 11

A cute presentation of Debtags

11/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.58 Enrico Zini enrico@debian.org

Faceted classification

A faceted classification [is a way of classification that] uses clearly defined, mutually exclusive, and collectively exhaustive aspects, properties,

  • r characteristics of a class or specific subject.

*Wynar, Bohdan S. ''Introduction to cataloging and classification''. 8th edition. p. 320*

  • We have more than one set of categories, one for each

aspect ("facet") of packages

  • We categorise under different points of view
slide-12
SLIDE 12

A cute presentation of Debtags

12/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Debtags

slide-13
SLIDE 13

A cute presentation of Debtags

13/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Debtags components: facets

Facets are the groups of tags.

Facet: implemented-in Description: Language that the package is implemented in Facet: interface Description: Kind of user interface Facet: role Description: Role of the package in the system Facet: use Description: Purpose of the package Facet: works-with Description: What the package can work with These tags describe what is the kind of data (or even processes, or people) that the package can work with. [...]

slide-14
SLIDE 14

A cute presentation of Debtags

14/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Debtags components: tags

Tags are the categories used to describe a facet of packages.

role::aux-data - (Auxiliary) Application-specific data role::aux-dummy - (Auxiliary) Dummy package used for upgrades role::aux-metapackage - (Auxiliary) Dependency metapackage role::aux-shlib - (Auxiliary) Shared library role::content-dictionary - (Content) Dictionaries role::content-doc - (Content) Documentation role::content-font - (Content) Fonts role::content-icons - (Content) Icons role::content-text - (Content) Books and text documents role::content-userdoc - (Content) User Documentation role::sw-applet - (Software) Applets and Dockapps role::sw-application - (Software) Applications role::sw-client - (Software) Client applications role::sw-devel-lib - (Software) Development libraries role::sw-driver - (Software) Hardware drivers role::sw-server - (Software) Servers role::sw-theme - (Software) Themes role::sw-utility - (Software) Utilities

slide-15
SLIDE 15

A cute presentation of Debtags

15/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Debtags components: Vocabulary

The vocabulary lists the available facets and tags. There can be more than one vocabulary, and many different vocabularies can be automatically merged together. The main Debian Tag Vocabulary is maintained in svn

  • n the Debtags project on Alioth.

(keep an eye on this 'merging' feature!)

slide-16
SLIDE 16

A cute presentation of Debtags

16/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Debtags components: Tag Database

The tag database lists the tags attached to packages. There can be more than one tag database, and many different databases can be automatically merged together. The main Debian Tag Database is maintained inside Erich's packagebrowser at:

http://debian.vitavonni.de/packagebrowser

slide-17
SLIDE 17

A cute presentation of Debtags

17/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Debtags in action

slide-18
SLIDE 18

A cute presentation of Debtags

18/18

Debconf 5, Helsinki, July 10, 2005 - 13.34.59 Enrico Zini enrico@debian.org

Conclusion

As a Debian Developer, tag your packages: for some facets, you are the one who knows best. Adopt a facet or a tag. Help maintaining the Debtags website or the Debtags packages. Maintain a language binding. Play with the code! Resources:

  • debtags-devel@lists.alioth.debian.org
  • http://debtags.alioth.debian.org