LP Package model is incomplete

Bug #172308 reported by Celso Providelo
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Committed
High
Celso Providelo

Bug Description

LP is not storing required fields from source & binary control file field, which ends up to be required for NoMoreAF-generated indexes (PPA)

SourcePackageRelease:

 * Section (only missing from index stanza)
 * Build-Conflicts
 * Build-Conflicts-Indep

BinaryPackageReleases:

 * Pre-depends
 * Recommends
 * Enhances
 * Breaks
 * Essential (only missing from index stanza)
 * Source (only missing from index stanza)

It will affect:

 * schema
 * upload-system
 * UI
 * NoMoreAF

See bug 165230 and bug 172275.

Celso Providelo (cprov)
description: updated
Revision history for this message
Celso Providelo (cprov) wrote :

As elmo suggested we should compare results generated by a-f with the ones obtained from NMAF and check for inconsistences.

description: updated
description: updated
Changed in soyuz:
assignee: nobody → cprov
importance: Undecided → High
milestone: none → 1.1.12
status: New → Confirmed
Celso Providelo (cprov)
description: updated
Revision history for this message
Celso Providelo (cprov) wrote :

Kiko suggested a enhanced model that would allow use to support not only debian metadata but also other packaging formats:

The extention would consist of moving the metadata storage to another table and adopt a field-driven model:

 * {Source, Binary}PackageMetaData:
   * SPR/BPR -> FK
   * name -> text
   * content -> text

This way, the Content classes (SPR, BPR) could provide a cache and lookup facility allowing easy access to any metadata field, include those that we currently call 'extra-overrides'.

The old data migration seems to be trivial too.

Celso Providelo (cprov)
Changed in soyuz:
status: Confirmed → In Progress
Changed in soyuz:
milestone: 1.1.12 → 1.2.1
Revision history for this message
Celso Providelo (cprov) wrote :

RF 5451

Changed in soyuz:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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