diff options
author | Sean Finney <seanius@debian.org> | 2009-07-26 19:35:16 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2009-07-26 19:35:16 +0200 |
commit | 9d9c75b7666123273aeccd96248f1413c287b207 (patch) | |
tree | 3d575af86c751f43c389950626d9406446756b99 /pagehandler.py | |
parent | 214268f80d89d279be7fb046f7fa3bde048af793 (diff) | |
download | patch-tracker-9d9c75b7666123273aeccd96248f1413c287b207.tar.gz |
initial support for PTS index file generation
a new option (-i) to ./gen-patch-info.py allows for generating a global
"index" file with any and all information that the PTS might want from
this system. The format is:
{
"index-version": N
"packages":
{
"<pkg1>":
{
"url": url-for-all-versions
"versions":
{
"<vers1>":
{
<various attributes>
}
}
}
}
}
index-version is a monotonically increasing version number. when the
"schema" changes, this version is incremented. if we care enough, we
can do a major-minor versioning scheme where BC breaks are differentiated
from "new attribute" type changes by incrementing the major or minor
versions, respectively.
Diffstat (limited to 'pagehandler.py')
0 files changed, 0 insertions, 0 deletions