Comment 2 for bug 172308

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.