Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
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.
|
|
the diffsonly.py script called via reprepro needs to know where
the patch tracker root is so that it can include configuration
options from the same central location.
|
|
This reverts commit 26a4f31bc27b021dbb332c536e7d14c65fdf54c0.
This reverts commit 5578d0fad24d68ecbd12a735c444910754db50ca.
|
|
|
|
|
|
|
|
otherwise its gets pruned every page visit, whoops.
|
|
|
|
...instead of a source package, which should remove an
extra query and also allow changing the behaviour for
findSourcePackage later on as well
|
|
...so we can alias it directly, which should allow
for the cleanest subdir vs. vhost support
|
|
i know it's bad form to lump this all together. oh well :p
gen-patch-info now does very little besides processing packages
and updating the relevant database entries. pretty much everything
else is dynamically generated from pagehandler.py now.
|
|
|
|
so this breaks things a bit, but it seems a design
decision is being made that everything doesn't have
to be static after all, given the huge disk space
requirements it would create...
|
|
|
|
|
|
also added a gitignore file to ignore the python noise
created by cheetah
|
|
|
|
|
|
|