]> err.no Git - dak/log
dak
15 years agoMerge commit 'ftpmaster/master' into regexes
Mark Hymers [Sat, 24 Jan 2009 19:13:26 +0000 (19:13 +0000)]
Merge commit 'ftpmaster/master' into regexes

Conflicts:

dak/make_maintainers.py
dak/new_security_install.py
dak/process_accepted.py

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoOnly import regexes we're using
Mark Hymers [Sat, 24 Jan 2009 19:09:51 +0000 (19:09 +0000)]
Only import regexes we're using

This is so that we have an idea of where we need what.

Lots of these should be changed to be opaque functions,
not exposing that they're internally regexes at all.

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agowhoops, put sensible comment in
Mark Hymers [Sat, 24 Jan 2009 18:36:25 +0000 (18:36 +0000)]
whoops, put sensible comment in

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMove regexes into a module so we can keep track
Mark Hymers [Sat, 24 Jan 2009 18:27:22 +0000 (18:27 +0000)]
Move regexes into a module so we can keep track

Rather than scatter regexes all over the place (for things
which should probably be functions hiding the implementation
detail anyways such as "is this a valid package version"),
move them into daklib.regexes.

I'm not convinced this is an immediate win, but I think it's
one step on a long road...

Oh, and it's untested

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoqueue.py
Joerg Jaspert [Sat, 24 Jan 2009 15:51:53 +0000 (16:51 +0100)]
queue.py

"0644" != 0644. damn you, string and int.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agofdopen
Joerg Jaspert [Sat, 24 Jan 2009 15:43:44 +0000 (16:43 +0100)]
fdopen

who would have thought, os.fdopen really wants an fd, not a filename.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoVarious
Joerg Jaspert [Sat, 24 Jan 2009 15:32:25 +0000 (16:32 +0100)]
Various

remove a few trailing ;

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomake_overrides
Joerg Jaspert [Sat, 24 Jan 2009 15:27:13 +0000 (16:27 +0100)]
make_overrides

simple remove of two unneeded ;

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomirror_split.py
Joerg Jaspert [Sat, 24 Jan 2009 15:26:53 +0000 (16:26 +0100)]
mirror_split.py

Remove, not used.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodatabase.py
Joerg Jaspert [Sat, 24 Jan 2009 15:22:00 +0000 (16:22 +0100)]
database.py

add docstrings.
make two sql queries more readable

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agopychecker 2
Joerg Jaspert [Sat, 24 Jan 2009 14:53:05 +0000 (15:53 +0100)]
pychecker 2

a whole bunch more pychecker warnings. (Thanks to bicyclerepair, those are the easy ones)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoimport_ldap_fingerprints
Joerg Jaspert [Sat, 24 Jan 2009 14:20:35 +0000 (15:20 +0100)]
import_ldap_fingerprints

its existing_uid, not existing_ui

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agopychecker
Joerg Jaspert [Sat, 24 Jan 2009 13:39:21 +0000 (14:39 +0100)]
pychecker

shut up more of pychecker.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoutils.py
Joerg Jaspert [Sat, 24 Jan 2009 13:28:37 +0000 (14:28 +0100)]
utils.py

remove a few "FOO shadows builtin" warnings.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agogenerate_index_diffs
Joerg Jaspert [Sat, 24 Jan 2009 13:07:44 +0000 (14:07 +0100)]
generate_index_diffs

remove commented code. if we really need it - we do have a VCS...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agogenerate_index_diffs
Joerg Jaspert [Sat, 24 Jan 2009 13:06:53 +0000 (14:06 +0100)]
generate_index_diffs

replace os.popen2 by strftime usage (someone clearly didnt know that
and preferred to spawn date +%whatever. *sigh*).

also replace a os.popen call with subprocess.Popen.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agovarious
Joerg Jaspert [Sat, 24 Jan 2009 01:45:14 +0000 (02:45 +0100)]
various

use the new "style" for the temp_filename function, and if applicable
also use os.fdopen.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agotemp_filename
Joerg Jaspert [Fri, 23 Jan 2009 23:06:54 +0000 (00:06 +0100)]
temp_filename

stop using mktemp and use mkstemp. Also use the functions with all their
features, like setting prefix, instead of trying to do that ourself.
Yikes, one-liner now, could remove the function alltogether and instead
use mkstemp directly, but *maybe* we want to get more code into here,
so lets keep it for now.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoutils.py
Joerg Jaspert [Fri, 23 Jan 2009 23:05:00 +0000 (00:05 +0100)]
utils.py

stop using mktemp and use mkstemp instead

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoutils.py
Joerg Jaspert [Fri, 23 Jan 2009 23:04:28 +0000 (00:04 +0100)]
utils.py

eliminate pychecker warning "shadows builtin input|file|hash"

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoindex diffs
Joerg Jaspert [Fri, 23 Jan 2009 22:15:06 +0000 (23:15 +0100)]
index diffs

(cosmetical) this is not a warning, merely an information about the correct
function of this tool.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "Merge commit 'stew/popen2-must-die' into merge"
Joerg Jaspert [Thu, 22 Jan 2009 23:00:08 +0000 (00:00 +0100)]
Revert "Merge commit 'stew/popen2-must-die' into merge"

This reverts commit d72561f42b76635948b88902ecd0966cecec9aaf.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "Merge commit 'stew/popen2-must-die' into merge"
Joerg Jaspert [Thu, 22 Jan 2009 22:54:09 +0000 (23:54 +0100)]
Revert "Merge commit 'stew/popen2-must-die' into merge"

This reverts commit 1fb2a3d44f1e64fbf91e7801c8c549732c6104b4.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Thu, 22 Jan 2009 19:12:15 +0000 (20:12 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

* 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak:
  generate_releases

15 years agogenerate_releases
Archive Administrator [Thu, 22 Jan 2009 12:23:54 +0000 (12:23 +0000)]
generate_releases

depending on what kind of file we have we generate the checksums in
different ways. For the uncompressed sum we continue reading in all the
content and hand that as a variable to apt_pkg.*sum. Turns out this does
not work for the already compressed files, there we now go and just hand
the opened file_handle to apt_pkg.*sum.

15 years agop-u
Joerg Jaspert [Thu, 22 Jan 2009 00:41:33 +0000 (01:41 +0100)]
p-u

we expect 3 values

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'stew/popen2-must-die' into merge
Joerg Jaspert [Wed, 21 Jan 2009 23:01:48 +0000 (00:01 +0100)]
Merge commit 'stew/popen2-must-die' into merge

* commit 'stew/popen2-must-die':
  fix generate_index_diffs' smartopen by replacing it with a smartread

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agofix generate_index_diffs' smartopen by replacing it with a smartread
Mike O'Connor [Wed, 21 Jan 2009 22:58:13 +0000 (17:58 -0500)]
fix generate_index_diffs' smartopen by replacing it with a smartread

smartread slurps the contents of the file into a string, we need to do this
becuase apt_pkg.sha1sum won't accept a 'gzip open file' but will accept a
string

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agotemplates/rm
Joerg Jaspert [Wed, 21 Jan 2009 22:51:28 +0000 (23:51 +0100)]
templates/rm

show a url to the bug log.
Closes #510887 (yes, without url. ha! )

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'stew/popen2-must-die' into merge
Joerg Jaspert [Wed, 21 Jan 2009 22:32:49 +0000 (23:32 +0100)]
Merge commit 'stew/popen2-must-die' into merge

* commit 'stew/popen2-must-die':
  get rid of popen2 calls in generate_index_diffs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoget rid of popen2 calls in generate_index_diffs
Mike O'Connor [Wed, 21 Jan 2009 22:30:20 +0000 (17:30 -0500)]
get rid of popen2 calls in generate_index_diffs

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge commit 'stew/popen2-must-die' into merge
Joerg Jaspert [Wed, 21 Jan 2009 22:22:06 +0000 (23:22 +0100)]
Merge commit 'stew/popen2-must-die' into merge

* commit 'stew/popen2-must-die':
  oops DEcompress, dummy
  getting rid of popen2 in generate_releases

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agooops DEcompress, dummy
Mike O'Connor [Wed, 21 Jan 2009 22:13:13 +0000 (17:13 -0500)]
oops DEcompress, dummy

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agogetting rid of popen2 in generate_releases
Mike O'Connor [Wed, 21 Jan 2009 21:49:06 +0000 (16:49 -0500)]
getting rid of popen2 in generate_releases

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agomoveftp.sh
Joerg Jaspert [Tue, 20 Jan 2009 21:14:06 +0000 (22:14 +0100)]
moveftp.sh

little script to be used on ravel, whenever ravel is hosting
ftp.upload.d.o, so we don't need two queueds

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoremove versioncmp from db
Joerg Jaspert [Sun, 18 Jan 2009 16:24:40 +0000 (17:24 +0100)]
remove versioncmp from db

remove the versioncmp function from the db.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoupdate2
Joerg Jaspert [Sun, 18 Jan 2009 16:19:46 +0000 (17:19 +0100)]
update2

yay, we didnt even have plpgsql, but need it.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoupdate2
Joerg Jaspert [Sun, 18 Jan 2009 16:17:23 +0000 (17:17 +0100)]
update2

might actually be helpful to create plperl if one wants perl, not sql. brrr

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoupdate2
Joerg Jaspert [Sun, 18 Jan 2009 16:13:45 +0000 (17:13 +0100)]
update2

also create the perl language. We are database superuser, we can do so.

And then set config value to 2, this is update 2.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRemove versioncmp
Roger Leigh [Sun, 18 Jan 2009 12:33:59 +0000 (12:33 +0000)]
Remove versioncmp

15 years agocruft_report: Use debversion operators in place of versioncmp
Roger Leigh [Sun, 18 Jan 2009 12:33:58 +0000 (12:33 +0000)]
cruft_report: Use debversion operators in place of versioncmp

15 years agoupdate_db: Require database schema version 2
Roger Leigh [Sun, 18 Jan 2009 12:33:57 +0000 (12:33 +0000)]
update_db: Require database schema version 2

15 years agoAdd update2 to create debversion type
Roger Leigh [Sun, 18 Jan 2009 12:33:56 +0000 (12:33 +0000)]
Add update2 to create debversion type

15 years agoMerge commit 'stew/master' into merge
Joerg Jaspert [Thu, 15 Jan 2009 16:18:45 +0000 (17:18 +0100)]
Merge commit 'stew/master' into merge

* commit 'stew/master':
  Fix for show_new calling examine_package with correct "suite"

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix for show_new calling examine_package with correct "suite"
Mike O'Connor [Thu, 15 Jan 2009 15:35:41 +0000 (15:35 +0000)]
Fix for show_new calling examine_package with correct "suite"

Signed-off-by: Mike O'Connor <stew@ries.debian.org>
15 years agoRevert "examine_package"
Joerg Jaspert [Thu, 15 Jan 2009 08:57:59 +0000 (09:57 +0100)]
Revert "examine_package"

This reverts commit fb135219f1c99d0817e7d793bcfad3cc40a69a72.
(idiot me, wrong place)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoexamine_package
Joerg Jaspert [Thu, 15 Jan 2009 08:56:19 +0000 (09:56 +0100)]
examine_package

a missing = in sql is not what postgres likes

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoshow_new
Joerg Jaspert [Thu, 15 Jan 2009 08:52:05 +0000 (09:52 +0100)]
show_new

and the same goes for check_dsc/check_deb

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoshow_new
Joerg Jaspert [Thu, 15 Jan 2009 08:49:58 +0000 (09:49 +0100)]
show_new

display_changes from examine_packages does want two args now

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'stew/master' into merge
Joerg Jaspert [Thu, 15 Jan 2009 00:44:38 +0000 (01:44 +0100)]
Merge commit 'stew/master' into merge

* commit 'stew/master':
  make examine_package check dependencies based on suite
  Get rid of non ascii character in source file.
  update dinstall.html for 4 daily dinstall runs
  fix removals rss feed when there are fewer than 16 removals

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomake examine_package check dependencies based on suite
Mike O'Connor [Wed, 14 Jan 2009 17:23:53 +0000 (12:23 -0500)]
make examine_package check dependencies based on suite

examin_package.py would assume that a package when targetting unstable when
checking Depends and Recommends relationships.  Now it will allow the suite to
be specified when checking a .deb or .dsc and will read the suite from the
.changes file when checking .changes

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoGet rid of non ascii character in source file.
Mike O'Connor [Wed, 14 Jan 2009 16:14:17 +0000 (11:14 -0500)]
Get rid of non ascii character in source file.

There was a ÃŸ in utils.py that I think was supposed to be a 0.  Either it needs
to be changed to a 0 or the character encoding needs to be declared at the top
of the source file.  I opted to change the character to a 0.

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge branch 'master' of https://ftp-master.debian.org/git/dak
Mike O'Connor [Wed, 14 Jan 2009 07:59:58 +0000 (02:59 -0500)]
Merge branch 'master' of https://ftp-master.debian.org/git/dak

Conflicts:

web/dinstall.html

15 years agosignature checking changes
Joerg Jaspert [Fri, 9 Jan 2009 17:26:33 +0000 (18:26 +0100)]
signature checking changes

Adjust the gpgv signature check. Add one more case of broken key to detect,
EXPKEYSIG. From gnupg docs:
    EXPKEYSIG   <long keyid>  <username>
    The signature with the keyid is good, but the signature was
    made by an expired key. The username is the primary one
    encoded in UTF-8 and %XX escaped.

Also, handle KEYEXPIRED right. The first argument given back is NOT the keyid,
it is the timestamp when the key expired. From gnupg docs:
    KEYEXPIRED <expire-timestamp>
    The key has expired.  expire-timestamp is the expiration time
    in seconds after the epoch.

    Note, that TIMESTAMP may either be a number with seconds since
    epoch or an ISO 8601 string which can be detected by the
    presence of the letter 'T' inside.
So lets go and see if we find a T, if not convert the epoch to something
more easily human readable in our reject message.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodpkg upload block
Joerg Jaspert [Sat, 3 Jan 2009 12:54:43 +0000 (13:54 +0100)]
dpkg upload block

this also uses lookup_uid_from_fingerprint which now returns 3 values...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall.html
Joerg Jaspert [Sat, 3 Jan 2009 00:23:47 +0000 (01:23 +0100)]
dinstall.html

Added the pointer to the announce for the 6h dinstall runs.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoupdate dinstall.html for 4 daily dinstall runs
Mike O'Connor [Fri, 2 Jan 2009 23:58:12 +0000 (18:58 -0500)]
update dinstall.html for 4 daily dinstall runs

dinstall.html contains a javascript countdown timer used to estimate when the
next dinstall run will occur.  It was hardcoded for 2 daily dinstall runs.
This patch hard codes it to 4 daily runs.

There previously was a link to the announcement of the switch to 2 daily
dinstall runs.  I was not able to locate a similar announcement to the switch
to 4 daily runs, so I simply removed the link to the announcement.

Signed-off-by: Mike O'Connor <stew@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodm-monitor
Joerg Jaspert [Sat, 3 Jan 2009 00:13:45 +0000 (01:13 +0100)]
dm-monitor

fixup the "Packages DM may update" listing a little.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agofix removals rss feed when there are fewer than 16 removals
Mike O'Connor [Sat, 3 Jan 2009 00:03:10 +0000 (01:03 +0100)]
fix removals rss feed when there are fewer than 16 removals

To: joerg@debian.org
Date: Fri, 02 Jan 2009 23:28:02 +0100
X-Spam-Status: No, score=-3.586 tagged_above=-99 required=4.6 tests=[AWL=0.013, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
User-Agent: Mutt/1.5.18 (2008-05-17)

tools/removals.pl was making the assumption that at least 16 removals exist in
removals.txt.  If there are not, it creates and rss feed with with bogus empty
removals to pad the output to 16 entries.  This patch removes this false
assumption.

Signed-off-by: Mike O'Connor <stew@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'ncomm/dm_upload_allowed' into merge
Joerg Jaspert [Sat, 3 Jan 2009 00:00:14 +0000 (01:00 +0100)]
Merge commit 'ncomm/dm_upload_allowed' into merge

* commit 'ncomm/dm_upload_allowed':
  Fixed dm-monitor to work on new schema

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFixed dm-monitor to work on new schema
Michael Casadevall [Fri, 2 Jan 2009 23:57:15 +0000 (18:57 -0500)]
Fixed dm-monitor to work on new schema
Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoupdate dinstall.html for 4 daily dinstall runs
Mike O'Connor [Fri, 2 Jan 2009 23:53:02 +0000 (18:53 -0500)]
update dinstall.html for 4 daily dinstall runs

dinstall.html contains a javascript countdown timer used to estimate when the
next dinstall run will occur.  It was hardcoded for 2 daily dinstall runs.
This patch hard codes it to 4 daily runs.

There previously was a link to the announcement of the switch to 2 daily
dinstall runs.  I was not able to locate a similar announcement to the switch
to 4 daily runs, so I simply removed the link to the announcement.

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge branch 'master' of https://ftp-master.debian.org/git/dak
Mike O'Connor [Fri, 2 Jan 2009 23:51:25 +0000 (18:51 -0500)]
Merge branch 'master' of https://ftp-master.debian.org/git/dak

15 years agoMerge commit 'ncomm/dm_upload_allowed' into merge
Joerg Jaspert [Fri, 2 Jan 2009 23:24:28 +0000 (00:24 +0100)]
Merge commit 'ncomm/dm_upload_allowed' into merge

* commit 'ncomm/dm_upload_allowed':
  Modified to actually be, you know, not reject every DM upload ..

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoModified to actually be, you know, not reject every DM upload ..
Michael Casadevall [Fri, 2 Jan 2009 23:23:35 +0000 (18:23 -0500)]
Modified to actually be, you know, not reject every DM upload ..
Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge branch 'master' of https://ftp-master.debian.org/git/dak
Mike O'Connor [Fri, 2 Jan 2009 23:23:06 +0000 (18:23 -0500)]
Merge branch 'master' of https://ftp-master.debian.org/git/dak

15 years agoMerge commit 'ncomm/dm_upload_allowed' into merge
Joerg Jaspert [Fri, 2 Jan 2009 23:13:16 +0000 (00:13 +0100)]
Merge commit 'ncomm/dm_upload_allowed' into merge

* commit 'ncomm/dm_upload_allowed':
  Removed excess -D option from byhand-dm

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRemoved excess -D option from byhand-dm
Michael Casadevall [Fri, 2 Jan 2009 23:12:04 +0000 (18:12 -0500)]
Removed excess -D option from byhand-dm

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge commit 'ncomm/dm_upload_allowed' into merge
Joerg Jaspert [Fri, 2 Jan 2009 23:08:06 +0000 (00:08 +0100)]
Merge commit 'ncomm/dm_upload_allowed' into merge

* commit 'ncomm/dm_upload_allowed':
  Modified update_db.py to handle cases with port/host were non-standard,

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoModified update_db.py to handle cases with port/host were non-standard,
Michael Casadevall [Fri, 2 Jan 2009 23:06:39 +0000 (18:06 -0500)]
Modified update_db.py to handle cases with port/host were non-standard,
or unspecified in dak.conf (i.e., using default settings)

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge branch 'master' of https://ftp-master.debian.org/git/dak
Mike O'Connor [Fri, 2 Jan 2009 22:47:58 +0000 (17:47 -0500)]
Merge branch 'master' of https://ftp-master.debian.org/git/dak

15 years agoMerge commit 'ncomm/dm_upload_allowed' into merge
Joerg Jaspert [Fri, 2 Jan 2009 22:23:27 +0000 (23:23 +0100)]
Merge commit 'ncomm/dm_upload_allowed' into merge

* commit 'ncomm/dm_upload_allowed':
  Fixed to handle multiple DD/DM keyrings, and ldap to handle new DM status
  Modified dm status to be a keyring specific switch, modified update1
  Fixed it so the fingerprint table is properly referenced vs the uid
  fix typo
  Fixed and made changes for Joerg.
  Actually use the sleep call ...
  Updated update_db.py to use a lockfile properly and to properly wait.
  fixed update_db not to have a braindead mistake. Don't write code at 1 in the
  Added update system for the database, and the first update script
  Changed process_unchecked.py to handle DM's (slightly) more sanely.
  Modified dak to use non-braindead DM schema, and use an actual column for
  Corrected a bug with the handling of DM-Upload-Allowed and experimental suites of the archive
  Added dm-upload-allowed flag to exist, and added support for all

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agofix removals rss feed when there are fewer than 16 removals
Mike O'Connor [Fri, 2 Jan 2009 22:21:46 +0000 (17:21 -0500)]
fix removals rss feed when there are fewer than 16 removals

tools/removals.pl was making the assumption that at least 16 removals exist in
removals.txt.  If there are not, it creates and rss feed with with bogus empty
removals to pad the output to 16 entries.  This patch removes this false
assumption.

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge commit 'origin/master' into dm_upload_allowed
Michael Casadevall [Fri, 2 Jan 2009 21:58:37 +0000 (16:58 -0500)]
Merge commit 'origin/master' into dm_upload_allowed

Conflicts:

ChangeLog.old

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoFixed to handle multiple DD/DM keyrings, and ldap to handle new DM status
Michael Casadevall [Fri, 2 Jan 2009 21:56:59 +0000 (16:56 -0500)]
Fixed to handle multiple DD/DM keyrings, and ldap to handle new DM status

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoModified dm status to be a keyring specific switch, modified update1
Michael Casadevall [Thu, 1 Jan 2009 20:34:27 +0000 (15:34 -0500)]
Modified dm status to be a keyring specific switch, modified update1
to handle the dm: format change, added support for changing the keyring
switch in dak.conf

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoFixed it so the fingerprint table is properly referenced vs the uid
Michael Casadevall [Thu, 1 Jan 2009 16:42:31 +0000 (11:42 -0500)]
Fixed it so the fingerprint table is properly referenced vs the uid

Obviously my brain checked out halfway through designing on this;
feel free to insult me greatly

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge branch 'master' into dm_upload_allowed
Michael Casadevall [Thu, 1 Jan 2009 16:37:37 +0000 (11:37 -0500)]
Merge branch 'master' into dm_upload_allowed

15 years agoqueue_report
Joerg Jaspert [Wed, 31 Dec 2008 12:40:22 +0000 (13:40 +0100)]
queue_report

fix "too many values to unpack", thanks to addition of changes filename for
the 822 output.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRemove ChangeLog, add README.coding
Joerg Jaspert [Wed, 31 Dec 2008 10:45:41 +0000 (11:45 +0100)]
Remove ChangeLog, add README.coding

Removed the ChangeLog, from now on we go with the git commit messages. One source
less for merge conflicts.

Also added a README.coding, mostly a copy from dakV2. I very much love to get code
from others, so to not annoy new committers too much, lets go and write the basic
rules I try to apply down here. Better than nagging after I got a patch to merge.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agonew.822
Joerg Jaspert [Wed, 31 Dec 2008 10:17:27 +0000 (11:17 +0100)]
new.822

actually show the right changes filename

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'ncomm/master' into merge
Joerg Jaspert [Wed, 31 Dec 2008 09:59:35 +0000 (10:59 +0100)]
Merge commit 'ncomm/master' into merge

* commit 'ncomm/master':
  Added Changes file to the 822 queue report
  Fixed sql-qptvc.cpp to work on modern postgresql versions,

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge from Michael:
Joerg Jaspert [Wed, 31 Dec 2008 09:56:32 +0000 (10:56 +0100)]
Merge from Michael:

Fixed sql-qptvc.cpp to work on modern postgresql versions,
and made the makefile be less braindead

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
(cherry picked from commit 8e2d5f69dc3519cff036b34e6e7ce3956088f7e1)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdded Changes file to the 822 queue report
Michael Casadevall [Wed, 31 Dec 2008 01:17:53 +0000 (20:17 -0500)]
Added Changes file to the 822 queue report

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoFixed sql-qptvc.cpp to work on modern postgresql versions,
Michael Casadevall [Tue, 30 Dec 2008 22:57:38 +0000 (17:57 -0500)]
Fixed sql-qptvc.cpp to work on modern postgresql versions,
and made the makefile be less braindead

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agofix typo
Mark Hymers [Tue, 30 Dec 2008 21:35:00 +0000 (21:35 +0000)]
fix typo

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge branch 'master' into dm_upload_allowed
Michael Casadevall [Tue, 30 Dec 2008 21:13:05 +0000 (16:13 -0500)]
Merge branch 'master' into dm_upload_allowed

Conflicts:

ChangeLog

15 years agoGenerate 822 format for more queues
Joerg Jaspert [Tue, 30 Dec 2008 16:56:29 +0000 (17:56 +0100)]
Generate 822 format for more queues

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoIts a list of queues, not full directories
Joerg Jaspert [Tue, 30 Dec 2008 16:46:27 +0000 (17:46 +0100)]
Its a list of queues, not full directories

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'ncomm/master' into merge
Joerg Jaspert [Tue, 30 Dec 2008 16:42:10 +0000 (17:42 +0100)]
Merge commit 'ncomm/master' into merge

* commit 'ncomm/master':
  Added directories option to the queue report

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdded directories option to the queue report
Michael Casadevall [Tue, 30 Dec 2008 15:54:00 +0000 (10:54 -0500)]
Added directories option to the queue report

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoFixed and made changes for Joerg.
Michael Casadevall [Tue, 30 Dec 2008 15:06:44 +0000 (10:06 -0500)]
Fixed and made changes for Joerg.

NOTICE: import_keyring.py has not been smoke tested. In case
        of breakage, run and hide from Joerg.

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoActually use the sleep call ...
Michael Casadevall [Tue, 30 Dec 2008 14:28:25 +0000 (09:28 -0500)]
Actually use the sleep call ...

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoUpdated update_db.py to use a lockfile properly and to properly wait.
Michael Casadevall [Tue, 30 Dec 2008 12:47:06 +0000 (07:47 -0500)]
Updated update_db.py to use a lockfile properly and to properly wait.

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agofixed update_db not to have a braindead mistake. Don't write code at 1 in the
Michael Casadevall [Tue, 30 Dec 2008 11:30:25 +0000 (06:30 -0500)]
fixed update_db not to have a braindead mistake. Don't write code at 1 in the
morning and then submit it for inclusion ....

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge commit 'dak-master/master' into dm_upload_allowed
Michael Casadevall [Tue, 30 Dec 2008 05:23:09 +0000 (00:23 -0500)]
Merge commit 'dak-master/master' into dm_upload_allowed

Conflicts:

ChangeLog

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoAdded update system for the database, and the first update script
Michael Casadevall [Tue, 30 Dec 2008 02:35:04 +0000 (21:35 -0500)]
Added update system for the database, and the first update script

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge commit 'ncomm/master' into merge
Joerg Jaspert [Mon, 29 Dec 2008 22:23:45 +0000 (23:23 +0100)]
Merge commit 'ncomm/master' into merge

* commit 'ncomm/master':
  Fixed 822 queue report to actually print out the timestamp sanely

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFixed 822 queue report to actually print out the timestamp sanely
Michael Casadevall [Mon, 29 Dec 2008 22:22:17 +0000 (17:22 -0500)]
Fixed 822 queue report to actually print out the timestamp sanely

Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
15 years agoMerge commit 'ncomm/master' into merge
Joerg Jaspert [Mon, 29 Dec 2008 21:54:41 +0000 (22:54 +0100)]
Merge commit 'ncomm/master' into merge

* commit 'ncomm/master':
  Added Last-Modified field for QA team

Signed-off-by: Joerg Jaspert <joerg@debian.org>