Publish debtags in Packages file

Bug #57418 reported by Jonathan Riddell
48
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

Debian now includes debtags in its Packages file. Soyuz should do the same.

Not to be confused with bug 3945, about letting people browse packages by debtags.

LEP: https://dev.launchpad.net/LEP/DebTags

Changed in soyuz:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

In Ubuntu Software Center we have categorized software about as far as we can using .desktop Category values and .deb Section values.

To produce more useful categorization, e.g. "Themes", "Web Servers", "Media Converters", debtags is the obvious candidate. To use them, we need Launchpad to publish the debtags in the first place.

tags: added: soyuz-publish
Changed in launchpad:
importance: Low → Critical
tags: added: escalated
Revision history for this message
Jonathan Lange (jml) wrote :

Bug 3945 is sort of a wish for debtags, but also a wish for them in products.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

I just looked a bit at this to satisfy my curiosity (at http://wiki.debian.org/Debtags).

The Packages file gains a Tag: field, for example 3dchess has has something like this:

Tag: game::board, game::board:chess, interface::3d, role::program, use::gameplaying, x11::application

The tags are held in a database http://debtags.alioth.debian.org/ssearch.html which raises some questions about any implementation in Launchpad:
 * Is the Debian database the only place we should be including tags from?
 * How often are the tags updated?
 * How up-to-date do the tags need to be in LP?

Once we understand more about where this data originates and its behaviour, adding the tags to Packages.gz is reasonably easy. We can probably import the tags into Launchpad's database which enables other parts of LP to benefit.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Comments about this from mvo:

 * We will need to use the Debian database as an initial import, plus we want to merge it daily
 * We want to edit tags in LP itself
 * Any conflicts with at merge time should prefer the local change

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

That puts it outside the size of item we can address properly in maintenance. I'm removing it from the escalated bugs list and we'll need to become a stakeholder feature.

tags: removed: escalated
Revision history for this message
Robert Collins (lifeless) wrote :

I think we could do it as a maintenance thing, if we reframe it.

Syncing with debian isn't an LP core facility: yes its needed, but that doesn't need to be part of LP.

What we need is:
 - support for storing debtags in LP, presumably in a distroseries-sourcepackage or perhaps distro-sourcepackage
 - support for exporting them in Packages.gz

Importing from Debian and applying deltas from debian can be done over the LP API.

The LP dev + ops could take on the gardening of the importer if needed. It would just be a regular script though - no need for it to be part of the LP tree.

I think this makes the LP specific scope much narrower.

Revision history for this message
Robert Collins (lifeless) wrote :

(Oh, plus a UI page to edit the tags against whichever context we decided they applied - distro sourcepackage or distroseries sourcepackage).

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

The UI bits makes it outside the scope of maintenance to me.

description: updated
summary: - Support debtags in Packages.gz
+ Publish debtags in Packages file
description: updated
Revision history for this message
Robert Collins (lifeless) wrote :

This is no longer escalated so no longer critical.

Changed in launchpad:
importance: Critical → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.