[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761859: prototype ready



On Tue, 24 Feb 2015, Holger Levsen wrote:
> On Dienstag, 24. Februar 2015, Richard Hartmann wrote:
> > Depending on your layout, you don't really need two different JSON
> > files, though.
> 
> how would you distinguish between "squeeze", which includes lts and security, 
> and "squeeze", which doesnt? Same for "wheezy" (and security and not).

You could decide to different keys for the aggregated data and for the
non-aggregated data. It's actually a good idea. It could look like this:

<pkg>:
  <CVE>:
    ...
    repositories:
      squeeze:
      squeeze-lts:
      ...
      jessie:
      jessie-security:
      ...
    releases:
      squeeze:
      ...
      jessie:

Release is a general concept that includes multiple respositories.
And in repositories you have finer-graind data by real repositories.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: