users/seanius/patch-tracker.git
3 years agoadd missing Update line for wheezy
Sean Finney [Sun, 20 Feb 2011 20:53:12 +0000 (21:53 +0100)]
add missing Update line for wheezy

3 years agoetch is out, wheezy is in
Sean Finney [Sun, 20 Feb 2011 19:57:02 +0000 (20:57 +0100)]
etch is out, wheezy is in

3 years agofix static path to maintenance cat
Sean Finney [Mon, 8 Nov 2010 23:19:54 +0000 (00:19 +0100)]
fix static path to maintenance cat

3 years agoExplicitly close a popen3(patch) fd to avoid lockups
Sean Finney [Sun, 7 Nov 2010 09:54:05 +0000 (10:54 +0100)]
Explicitly close a popen3(patch) fd to avoid lockups

Thanks to Bernhard R. Link for the suggestion.

3 years agoremove Update stanza for etch, since it is no longer updated.
Sean Finney [Sat, 6 Nov 2010 17:26:32 +0000 (18:26 +0100)]
remove Update stanza for etch, since it is no longer updated.

4 years agoAllow blank lines and comments in quilt series files
Sean Finney [Fri, 5 Mar 2010 06:55:03 +0000 (07:55 +0100)]
Allow blank lines and comments in quilt series files

Thanks to Colin Watson for the suggestion.

4 years agoallow a "3.0 (quilt)" format packages without patches.
Bernhard R. Link [Sun, 28 Feb 2010 12:28:34 +0000 (13:28 +0100)]
allow a "3.0 (quilt)" format packages without patches.

4 years agochange some absolute urls to be relative in 500 error handler page
Sean Finney [Thu, 3 Dec 2009 08:35:55 +0000 (09:35 +0100)]
change some absolute urls to be relative in 500 error handler page

4 years agouse a more generic title for the diff/tarball section header
Sean Finney [Wed, 2 Dec 2009 20:23:18 +0000 (21:23 +0100)]
use a more generic title for the diff/tarball section header

4 years agonow include a 500 error page
Sean Finney [Wed, 2 Dec 2009 20:15:58 +0000 (21:15 +0100)]
now include a 500 error page

4 years agoallow for compression formats other than gz in the debian.tar files 0.20091202_quilt-3.0
Sean Finney [Wed, 2 Dec 2009 19:52:07 +0000 (20:52 +0100)]
allow for compression formats other than gz in the debian.tar files

4 years agouse "Debian-diff" as "type" for both 1.0 and 3.0 (quilt) formats
Sean Finney [Wed, 2 Dec 2009 19:43:28 +0000 (20:43 +0100)]
use "Debian-diff" as "type" for both 1.0 and 3.0 (quilt) formats

there doesn't really seem to be a reason to have it apart from
identifying packages that are native and non-native.

4 years agostore the patches in Quilt30Series without the dir name
Sean Finney [Wed, 2 Dec 2009 19:42:01 +0000 (20:42 +0100)]
store the patches in Quilt30Series without the dir name

4 years agoinitial support for source package format 3.0 (quilt)
Sean Finney [Wed, 2 Dec 2009 19:24:48 +0000 (20:24 +0100)]
initial support for source package format 3.0 (quilt)

the changes aren't as pretty as i'd like them to be, but i don't want
to hold things up on mere aesthetic grounds and it seems to work anyway :)

4 years agoadd explicit ./ to reprepro confdir
Sean Finney [Sun, 29 Nov 2009 16:18:54 +0000 (17:18 +0100)]
add explicit ./ to reprepro confdir

4 years agoinject some zero-whitespace break characters in long version strings
Sean Finney [Sun, 29 Nov 2009 15:12:56 +0000 (16:12 +0100)]
inject some zero-whitespace break characters in long version strings

4 years agoremove another unused option: static_dir
Sean Finney [Sun, 29 Nov 2009 14:02:12 +0000 (15:02 +0100)]
remove another unused option: static_dir

4 years agoremove unused/obsolete config output_dir
Sean Finney [Sun, 29 Nov 2009 13:52:01 +0000 (14:52 +0100)]
remove unused/obsolete config output_dir

4 years agotemporarily disable the body border attribute 0.20091112_pre-quilt
Sean Finney [Thu, 12 Nov 2009 16:01:06 +0000 (17:01 +0100)]
temporarily disable the body border attribute

the large table is overflowing past the body element, and it looks like
crap (at least in iceweasel).  until the proper css/html foo is put in
place the border is disabled.

4 years agoadd squeeze to the list of tracked releases
Sean Finney [Thu, 12 Nov 2009 14:30:22 +0000 (15:30 +0100)]
add squeeze to the list of tracked releases

4 years agoshuffle the logic in PackageCmd to allow exact matches for < 3 letters
Sean Finney [Mon, 26 Oct 2009 22:35:01 +0000 (23:35 +0100)]
shuffle the logic in PackageCmd to allow exact matches for < 3 letters

4 years agoRevert "oops, the length should be two not one"
Sean Finney [Tue, 29 Sep 2009 22:15:21 +0000 (00:15 +0200)]
Revert "oops, the length should be two not one"

This reverts commit 7bacd4e7b2f521be3d2bf6494547c60ddf2426b3.

actually, it should be one.

4 years agooops, the length should be two not one
Sean Finney [Tue, 29 Sep 2009 22:12:22 +0000 (00:12 +0200)]
oops, the length should be two not one

4 years agowhen no version is specified, do not cache PackageCmd
Sean Finney [Tue, 29 Sep 2009 22:01:05 +0000 (00:01 +0200)]
when no version is specified, do not cache PackageCmd

4 years agosome small notes in TODO
Sean Finney [Tue, 29 Sep 2009 21:59:12 +0000 (23:59 +0200)]
some small notes in TODO

4 years agooookay, really fix the latin-1/utf-8 problem
Sean Finney [Sun, 6 Sep 2009 20:26:03 +0000 (22:26 +0200)]
oookay, really fix the latin-1/utf-8 problem

the proper changes were reverted, the wrongly reverted
had the revert reverted, and all is back to normal.

move along, nothing to see here...

4 years agoRevert "try both utf8 and latin-1 for contents in Patch constructor"
Sean Finney [Sun, 6 Sep 2009 20:24:55 +0000 (22:24 +0200)]
Revert "try both utf8 and latin-1 for contents in Patch constructor"

This reverts commit ee7e7301434b1cf8b3baa4d839fdbf2f05617e91.

4 years agoRevert "Revert "remove some extra print statements that only cause problems""
Sean Finney [Sun, 6 Sep 2009 20:24:23 +0000 (22:24 +0200)]
Revert "Revert "remove some extra print statements that only cause problems""

This reverts commit a9ffd60188742f144d1a8d49f93b05f8e34c39d7.

d'oh, i reverted the wrong commit.  this re-adds the wrongly reverted commit.

4 years agoproper fix for encoding/decoding errors in patch_view contents
Sean Finney [Sun, 6 Sep 2009 19:59:45 +0000 (21:59 +0200)]
proper fix for encoding/decoding errors in patch_view contents

this is the proper fix for the previous commit/revert.

4 years agoRevert "remove some extra print statements that only cause problems"
Sean Finney [Sun, 6 Sep 2009 19:56:33 +0000 (21:56 +0200)]
Revert "remove some extra print statements that only cause problems"

This reverts commit c2ef848129e03d5486ff3d084d903a7ef7ea658b.

4 years agotry both utf8 and latin-1 for contents in Patch constructor
Sean Finney [Sun, 6 Sep 2009 19:30:09 +0000 (21:30 +0200)]
try both utf8 and latin-1 for contents in Patch constructor

thanks to Raphael Geissert for catching this

4 years agoremove some extra print statements that only cause problems
Sean Finney [Sat, 5 Sep 2009 17:12:56 +0000 (19:12 +0200)]
remove some extra print statements that only cause problems

while some of them are printed only in the case of error, mod_wsgi
doesn't allow sys.stdout access and therefore they're useless anyway.

4 years agoswitch <code> and <pre> order in patch view template
Sean Finney [Fri, 4 Sep 2009 22:17:03 +0000 (00:17 +0200)]
switch <code> and <pre> order in patch view template

4 years agoadd mention of diffstat in required packages
Sean Finney [Fri, 4 Sep 2009 18:32:58 +0000 (20:32 +0200)]
add mention of diffstat in required packages

4 years agoadd extra indicator config variable for compressed lists file.
Sean Finney [Thu, 3 Sep 2009 08:42:29 +0000 (10:42 +0200)]
add extra indicator config variable for compressed lists file.

4 years agoalso mention python-pysqlite2
Sean Finney [Thu, 3 Sep 2009 08:39:35 +0000 (10:39 +0200)]
also mention python-pysqlite2

4 years agoadd mention of python-profiler in README
Sean Finney [Tue, 1 Sep 2009 22:21:27 +0000 (00:21 +0200)]
add mention of python-profiler in README

4 years agomove the profile/pstats import into run_profile
Sean Finney [Tue, 1 Sep 2009 22:14:54 +0000 (00:14 +0200)]
move the profile/pstats import into run_profile

this way if the app is being run on a machine that does not have
python-profiler installed it will still function unless specifically
told to profile.

4 years agoupdate apache config to include WSGIDaemonProcess and friends
Sean Finney [Tue, 1 Sep 2009 21:53:04 +0000 (23:53 +0200)]
update apache config to include WSGIDaemonProcess and friends

sample apache2 config now includes the various WSGI options needed
to run as a dedicated user.

4 years agoremove superflous import of DiffGzHandler from SourceArchive
Sean Finney [Tue, 1 Sep 2009 16:01:23 +0000 (18:01 +0200)]
remove superflous import of DiffGzHandler from SourceArchive

4 years agotrack the size of the diff.gz file in DiffGzHandler
Sean Finney [Tue, 1 Sep 2009 15:53:34 +0000 (17:53 +0200)]
track the size of the diff.gz file in DiffGzHandler

this can be used later to do things like pre-emptive
caching of large files, etc.

4 years agoconsolidate profiling in pagehandler, removing duplicate code
Sean Finney [Tue, 1 Sep 2009 06:53:36 +0000 (08:53 +0200)]
consolidate profiling in pagehandler, removing duplicate code

4 years agoinitial implementation of selective output caching
Sean Finney [Mon, 31 Aug 2009 21:10:43 +0000 (23:10 +0200)]
initial implementation of selective output caching

the PackageCmd and PatchCmd classes are now cached on their
first request.

note that this is incomplete, as the PackageCmd is also currently
used to print non-static information as well (when a package name
doesn't find an exact match and it does a query).

4 years agosmall fixups to the pts index feature
Sean Finney [Mon, 31 Aug 2009 20:45:04 +0000 (22:45 +0200)]
small fixups to the pts index feature

4 years agoadd new .gitignore masks for cache, profile and index files
Sean Finney [Mon, 31 Aug 2009 20:41:46 +0000 (22:41 +0200)]
add new .gitignore masks for cache, profile and index files

4 years agoeven better profiling, new -o output cmdline option
Sean Finney [Mon, 31 Aug 2009 20:33:06 +0000 (22:33 +0200)]
even better profiling, new -o output cmdline option

use cProfile instead of profile, it's much faster and better as
long as it doesn't need to be extended.

the -o option redirects the output to the specified file, instead
of printing it to stdout (or not printing it, both of which aren't
very good for general testing/profiling purposes).

4 years agoallow for pagehandler args to be passed on cmdline
Sean Finney [Tue, 18 Aug 2009 06:44:52 +0000 (08:44 +0200)]
allow for pagehandler args to be passed on cmdline

4 years agoinitial support for profiling
Sean Finney [Tue, 18 Aug 2009 06:33:47 +0000 (08:33 +0200)]
initial support for profiling

4 years agoadd simple getopt support to pagehandler.py
Sean Finney [Mon, 17 Aug 2009 16:48:31 +0000 (18:48 +0200)]
add simple getopt support to pagehandler.py

while this isn't intended for mod_wsgi deployments, it opens up some new
oppurtunities for cmdline testing (specifying a URL to avoid invoking
the wsgiref server, enabling profiling, etc).

5 years agoinitial support for PTS index file generation
Sean Finney [Sun, 26 Jul 2009 17:35:16 +0000 (19:35 +0200)]
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.

5 years agochanges to work with >> lenny versions of reprepro and python-debian
Sean Finney [Sun, 26 Jul 2009 11:28:10 +0000 (13:28 +0200)]
changes to work with >> lenny versions of reprepro and python-debian

reprepro now seems to default to passching the lists files uncompressed
to the hook, so we deal with that gracefully either way.

python-debian seems to have slightly changed how it handles some multiline
fields due to starting to use the built-in apt_pkg module, see the comments
in Conf.py which should point to the bug.

5 years agopass the patch tracker root via PYTHONPATH to reprepro
Sean Finney [Sun, 26 Jul 2009 11:24:58 +0000 (13:24 +0200)]
pass the patch tracker root via PYTHONPATH to reprepro

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.

5 years agominor changes to required software in README
Sean Finney [Sun, 26 Jul 2009 11:24:24 +0000 (13:24 +0200)]
minor changes to required software in README

5 years agoget README up to date with reality
Sean Finney [Tue, 21 Jul 2009 11:49:42 +0000 (13:49 +0200)]
get README up to date with reality

5 years agofail more gracefully if a diff.gz is missing
sean finey [Thu, 12 Feb 2009 22:08:19 +0000 (23:08 +0100)]
fail more gracefully if a diff.gz is missing

this should never happen in production as the database contains
only a cache of what's on disk, but during testing on a system with
the database and no archive, or in unexpected circumstances, it
might be helpful to give a more informative error page.

5 years agoadd a base href to skeleton template
sean finey [Thu, 12 Feb 2009 21:44:47 +0000 (22:44 +0100)]
add a base href to skeleton template

5 years agoupdated apache conf for wsgi wsgi
sean finey [Thu, 12 Feb 2009 18:16:42 +0000 (19:16 +0100)]
updated apache conf for wsgi

5 years agomore gracefully find what should be the installation root
sean finey [Thu, 12 Feb 2009 18:16:15 +0000 (19:16 +0100)]
more gracefully find what should be the installation root

5 years agomod_python -> wsgi
sean finey [Wed, 11 Feb 2009 22:14:07 +0000 (23:14 +0100)]
mod_python -> wsgi

i hear it's the new black.  code change requirements weren't
very big at all, and apparently this will work better/stabler
on lenny systems, so...

5 years agod'oh. html validation fix for anchor name tags
Sean Finney [Thu, 8 Jan 2009 07:12:27 +0000 (08:12 +0100)]
d'oh.  html validation fix for anchor name tags

5 years agoadd background-color attribute for body{}
Sean Finney [Thu, 8 Jan 2009 07:10:41 +0000 (08:10 +0100)]
add background-color attribute for body{}

5 years agoinclude anchor name tags in package page
Sean Finney [Thu, 8 Jan 2009 07:08:39 +0000 (08:08 +0100)]
include anchor name tags in package page

5 years agouse min-height instead of height, it's prettier
Sean Finney [Thu, 8 Jan 2009 07:04:32 +0000 (08:04 +0100)]
use min-height instead of height, it's prettier

5 years agoadd documentation about "email search"
Sean Finney [Mon, 29 Dec 2008 23:55:49 +0000 (00:55 +0100)]
add documentation about "email search"

5 years agoadd a sample apache configuration
Sean Finney [Mon, 29 Dec 2008 17:52:40 +0000 (18:52 +0100)]
add a sample apache configuration

5 years agomissed one module rename from the initial ptcgi -> ReqHandler
Sean Finney [Mon, 29 Dec 2008 17:50:23 +0000 (18:50 +0100)]
missed one module rename from the initial ptcgi -> ReqHandler

5 years agomigrate from cgi to mod_python
Sean Finney [Mon, 29 Dec 2008 17:43:23 +0000 (18:43 +0100)]
migrate from cgi to mod_python

previously this system was a cgi-based execution.  however, this prevented
us from doing a number of useful things, like throwing a 404/5xx error
when an invalid page was requested.  so, no we use mod_python instead...

5 years agofix absolute link in quick jump form
Sean Finney [Mon, 29 Dec 2008 08:29:41 +0000 (09:29 +0100)]
fix absolute link in quick jump form

5 years agoadd a local configuration file ignored by git
Sean Finney [Fri, 12 Sep 2008 08:53:59 +0000 (10:53 +0200)]
add a local configuration file ignored by git

5 years agomore TODO cut/paste from email
Sean Finney [Thu, 11 Sep 2008 16:28:19 +0000 (18:28 +0200)]
more TODO cut/paste from email

5 years agoincorporate some suggestions/updates into TODO
Sean Finney [Thu, 11 Sep 2008 06:21:12 +0000 (08:21 +0200)]
incorporate some suggestions/updates into TODO

5 years agotwo maintainer email fixes
Sean Finney [Mon, 8 Sep 2008 21:09:13 +0000 (23:09 +0200)]
two maintainer email fixes

5 years agoRevert previous database representation changes
Sean Finney [Mon, 8 Sep 2008 19:32:44 +0000 (21:32 +0200)]
Revert previous database representation changes

This reverts commit 26a4f31bc27b021dbb332c536e7d14c65fdf54c0.
This reverts commit 5578d0fad24d68ecbd12a735c444910754db50ca.

5 years agoremove unneeded where condition
Sean Finney [Thu, 4 Sep 2008 22:01:33 +0000 (00:01 +0200)]
remove unneeded where condition

5 years agounicode fixes
Sean Finney [Thu, 4 Sep 2008 22:01:01 +0000 (00:01 +0200)]
unicode fixes

5 years agobetter output for searches, email query fix
Sean Finney [Thu, 4 Sep 2008 21:33:00 +0000 (23:33 +0200)]
better output for searches, email query fix

5 years agodon't allow package searches < 3 chars
Sean Finney [Thu, 4 Sep 2008 21:16:12 +0000 (23:16 +0200)]
don't allow package searches < 3 chars

5 years agoadd utf-8 encoding comment
Sean Finney [Thu, 4 Sep 2008 21:11:03 +0000 (23:11 +0200)]
add utf-8 encoding comment

5 years agobetter database maintainer representation
Sean Finney [Thu, 4 Sep 2008 21:09:57 +0000 (23:09 +0200)]
better database maintainer representation

5 years agochange root_url to '' by default
Sean Finney [Thu, 4 Sep 2008 19:33:28 +0000 (21:33 +0200)]
change root_url to '' by default

5 years agoconsolidate the FK triggers
Sean Finney [Wed, 3 Sep 2008 16:56:20 +0000 (18:56 +0200)]
consolidate the FK triggers

5 years agomaintainer support in frontend
Sean Finney [Wed, 3 Sep 2008 16:09:50 +0000 (18:09 +0200)]
maintainer support in frontend

5 years agoinitial, slightly stupid, maintainer support in database
Sean Finney [Tue, 2 Sep 2008 23:25:28 +0000 (01:25 +0200)]
initial, slightly stupid, maintainer support in database

5 years agoadd slash to solo root_url to prevent empty href
Sean Finney [Tue, 2 Sep 2008 17:37:31 +0000 (19:37 +0200)]
add slash to solo root_url to prevent empty href

5 years agonew ReleaseList class to order project releases
Sean Finney [Tue, 2 Sep 2008 17:30:36 +0000 (19:30 +0200)]
new ReleaseList class to order project releases

5 years agoadd experimental to reprepro config
Sean Finney [Tue, 2 Sep 2008 16:14:29 +0000 (18:14 +0200)]
add experimental to reprepro config

6 years agoadd automatic archive updating support
Sean Finney [Sun, 6 Jul 2008 12:43:29 +0000 (14:43 +0200)]
add automatic archive updating support

6 years agoadd contrib/non-free components to reprepro cfg
Sean Finney [Sun, 6 Jul 2008 12:26:24 +0000 (14:26 +0200)]
add contrib/non-free components to reprepro cfg

6 years agobugfix: don't automatically prune in destructor
Sean Finney [Sun, 6 Jul 2008 12:19:19 +0000 (14:19 +0200)]
bugfix: don't automatically prune in destructor

otherwise its gets pruned every page visit, whoops.

6 years agoremove superfluous print from Archive class
Sean Finney [Sat, 5 Jul 2008 19:55:29 +0000 (21:55 +0200)]
remove superfluous print from Archive class

6 years agoremove update trigger for package_rel_maps
Sean Finney [Sat, 5 Jul 2008 19:23:47 +0000 (21:23 +0200)]
remove update trigger for package_rel_maps

since now we "mark" new package relationss (which is necessary for removing
old relations), remove the update trigger, which would otherwise end up
deleting everything in the database...

6 years agouse a "marked" field to catch stale/removed pkgs
Sean Finney [Sat, 5 Jul 2008 11:24:18 +0000 (13:24 +0200)]
use a "marked" field to catch stale/removed pkgs

6 years agono such thing as varchar in sqlite
Sean Finney [Sat, 5 Jul 2008 10:48:46 +0000 (12:48 +0200)]
no such thing as varchar in sqlite

6 years agoslightly better breadcrumbs in header
Sean Finney [Tue, 1 Jul 2008 21:10:01 +0000 (23:10 +0200)]
slightly better breadcrumbs in header

6 years agoleft-align diffstat info
Sean Finney [Tue, 1 Jul 2008 12:59:06 +0000 (14:59 +0200)]
left-align diffstat info

6 years agoshrink the diffstat info a bit
Sean Finney [Sat, 28 Jun 2008 20:34:29 +0000 (22:34 +0200)]
shrink the diffstat info a bit

6 years agoforce -p1 for diffstat generation
Sean Finney [Sat, 28 Jun 2008 20:14:27 +0000 (22:14 +0200)]
force -p1 for diffstat generation

6 years agoremove superfluous diffgz in summary
Sean Finney [Sat, 28 Jun 2008 20:07:56 +0000 (22:07 +0200)]
remove superfluous diffgz in summary

it shows up in the next table below if it exists, anyway.

6 years agofix a long overdue XXX wrt diffgz's in pagehandler
Sean Finney [Sat, 28 Jun 2008 20:04:47 +0000 (22:04 +0200)]
fix a long overdue XXX wrt diffgz's in pagehandler

6 years agominor template touchups / fixes
Sean Finney [Sat, 28 Jun 2008 19:14:19 +0000 (21:14 +0200)]
minor template touchups / fixes