]> git.decadent.org.uk Git - dak.git/log
dak.git
15 years agoreject.html
Joerg Jaspert [Mon, 7 Sep 2009 21:52:42 +0000 (23:52 +0200)]
reject.html

remove non-US foo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoqueued
Joerg Jaspert [Mon, 7 Sep 2009 07:32:57 +0000 (09:32 +0200)]
queued

use a C locale.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodebianqueued
Joerg Jaspert [Mon, 7 Sep 2009 07:15:20 +0000 (09:15 +0200)]
debianqueued

tell on which hostname it runs on

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agogenerate_releases
Joerg Jaspert [Mon, 7 Sep 2009 06:18:31 +0000 (08:18 +0200)]
generate_releases

now also include the Contents-$arch.diff/Index files into the release
file, so tools who use them to mirror Debian (brrrr)  can also mirror those.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoGenerate an index for i18n files and list that index in Release
Frans Pop [Sun, 6 Sep 2009 22:29:25 +0000 (00:29 +0200)]
Generate an index for i18n files and list that index in Release

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agohello mhy
Joerg Jaspert [Mon, 31 Aug 2009 18:37:36 +0000 (20:37 +0200)]
hello mhy

turn off sending the mail log when we successfully end.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Mon, 31 Aug 2009 18:31:07 +0000 (20:31 +0200)]
dinstall

what was i smoking? We want the default to be different to false.
tsak.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix import-keyring call
Joerg Jaspert [Sun, 30 Aug 2009 15:46:55 +0000 (17:46 +0200)]
Fix import-keyring call

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoqueued config
Joerg Jaspert [Sun, 30 Aug 2009 09:12:42 +0000 (11:12 +0200)]
queued config

use the dm keyring

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agobyhand-dm
Joerg Jaspert [Sun, 30 Aug 2009 09:11:53 +0000 (11:11 +0200)]
byhand-dm

get rid of one autobyhand, yay

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocron.dinstall
Joerg Jaspert [Sun, 30 Aug 2009 09:10:42 +0000 (11:10 +0200)]
cron.dinstall

also import changes to the debian-maintainers keyring in
fingerprints(), as it is now properly maintained.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodak.conf
Joerg Jaspert [Sun, 30 Aug 2009 09:09:34 +0000 (11:09 +0200)]
dak.conf

drop the d-m autobyhand foo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodak.conf
Joerg Jaspert [Sun, 30 Aug 2009 09:09:07 +0000 (11:09 +0200)]
dak.conf

Use the new path for the dm keyring

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agooverride
Julien Cristau [Mon, 24 Aug 2009 21:02:23 +0000 (23:02 +0200)]
override

send a copy of the bug closing message to the package maintainer

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agowebsite
Joerg Jaspert [Mon, 17 Aug 2009 07:28:18 +0000 (09:28 +0200)]
website

add the dc9 talk

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoadd information about roles from https://penta.debconf.org/dc9_schedule/attachments...
Bernhard R. Link [Sat, 15 Aug 2009 16:12:57 +0000 (18:12 +0200)]
add information about roles from https://penta.debconf.org/dc9_schedule/attachments/127_ftpmaster.pdf to the website.

15 years agoAdjust team
Joerg Jaspert [Sat, 15 Aug 2009 15:50:06 +0000 (17:50 +0200)]
Adjust team

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoprocess-new
Joerg Jaspert [Sat, 15 Aug 2009 15:07:30 +0000 (17:07 +0200)]
process-new

add some more logging

Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agousername foo
Joerg Jaspert [Sat, 15 Aug 2009 14:57:58 +0000 (16:57 +0200)]
username foo

add a little function in daklib/utils.py to return the unix username, make nsi and transitions use this

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoftpstats.r
Joerg Jaspert [Fri, 14 Aug 2009 20:35:20 +0000 (22:35 +0200)]
ftpstats.r

add the file to git so others can play with it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Sun, 9 Aug 2009 12:12:00 +0000 (14:12 +0200)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Add some simple regression tests for regexes.re_single_line_field
  Add a basic test runner.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd some simple regression tests for regexes.re_single_line_field
Chris Lamb [Sun, 9 Aug 2009 12:09:26 +0000 (13:09 +0100)]
Add some simple regression tests for regexes.re_single_line_field

In particular, check fields that being with a colon (see d7eb2f0).

15 years agoAdd a basic test runner.
Chris Lamb [Sun, 9 Aug 2009 12:07:50 +0000 (13:07 +0100)]
Add a basic test runner.

15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Sun, 9 Aug 2009 09:03:33 +0000 (11:03 +0200)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Correct regex for 822 value fields that begin with a colon character

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoCorrect regex for 822 value fields that begin with a colon character
Chris Lamb [Sun, 9 Aug 2009 03:22:04 +0000 (04:22 +0100)]
Correct regex for 822 value fields that begin with a colon character

Previously, we parsed "colon: :" => ("colon:", "") and "lol: :lol" =>
("lol:", "lol"). This commit changes these parses to ("colon", "") and
("lol", ":lol") respectfully.

Fields starting with colons can happen with values containing CVS
locations. eg:

  Vcs-Cvs: :ext:_anoncvs@anoncvs.mirbsd.org:/cvs contrib/hosted/tg/deb/makefs

(from /srv/ftp.debian.org/queue/new/makefs_20090808-1.dsc)

This is causing a traceback when examining this package as the regex to
strip the keys in read_changes_or_dsc(..) works differently to this one.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoUps
Joerg Jaspert [Sat, 8 Aug 2009 18:24:31 +0000 (20:24 +0200)]
Ups

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agobyhand-foo
Joerg Jaspert [Sat, 8 Aug 2009 18:21:44 +0000 (20:21 +0200)]
byhand-foo

and use the new script location

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomk_extra_overrides
Joerg Jaspert [Sat, 8 Aug 2009 18:18:07 +0000 (20:18 +0200)]
mk_extra_overrides

and use an improved version provided from Frans Pop.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomk-extra-overrides
Joerg Jaspert [Sat, 8 Aug 2009 18:16:33 +0000 (20:16 +0200)]
mk-extra-overrides

properly add this script to $VCS

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Sat, 8 Aug 2009 17:55:33 +0000 (19:55 +0200)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Clear package_relations in all cases so that subsequent calls are not polluted

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoClear package_relations in all cases so that subsequent calls are not polluted
Chris Lamb [Sat, 8 Aug 2009 16:13:49 +0000 (17:13 +0100)]
Clear package_relations in all cases so that subsequent calls are not polluted

15 years agodak.conf
Joerg Jaspert [Wed, 5 Aug 2009 23:15:22 +0000 (01:15 +0200)]
dak.conf

While sick this makes sure we can still find stuff and not break.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agotemplates
Joerg Jaspert [Wed, 5 Aug 2009 21:45:23 +0000 (23:45 +0200)]
templates

adjust the override disparity template

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoqueue
Joerg Jaspert [Wed, 5 Aug 2009 20:37:18 +0000 (22:37 +0200)]
queue

security wants us to check their origs also in their upload/embargo queies. so lets do that

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAnd add the bsds to d-i
Joerg Jaspert [Sun, 2 Aug 2009 10:03:18 +0000 (12:03 +0200)]
And add the bsds to d-i

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoremove kfreebsd from d-i for now
Mark Hymers [Tue, 28 Jul 2009 22:32:45 +0000 (22:32 +0000)]
remove kfreebsd from d-i for now

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agogenerate Packages for testing/t-p-u for kfreebsd-*
Mark Hymers [Mon, 27 Jul 2009 19:39:46 +0000 (19:39 +0000)]
generate Packages for testing/t-p-u for kfreebsd-*

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agodqeued
Joerg Jaspert [Sun, 19 Jul 2009 15:57:52 +0000 (17:57 +0200)]
dqeued

it is really helpful if we upload to ftp-master.d.o instead of ftp.upload.debian.org.
Especially in the case ftp.u.d.o points back to us, as then we think its already there
and go "HEY, FINE, DELETE". Which isnt what the DDs expect, for some reason.
Thanks to sgran/weasel for this fix.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocvs moved to alioth
Joerg Jaspert [Sun, 12 Jul 2009 10:32:53 +0000 (12:32 +0200)]
cvs moved to alioth

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoWrite some more stuff down
Joerg Jaspert [Sun, 12 Jul 2009 10:28:06 +0000 (12:28 +0200)]
Write some more stuff down

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoremove sh, currently unused
Joerg Jaspert [Sun, 5 Jul 2009 14:18:15 +0000 (16:18 +0200)]
remove sh, currently unused

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoalso 822 the oldproposedupdates
Joerg Jaspert [Sun, 5 Jul 2009 14:12:18 +0000 (16:12 +0200)]
also 822 the oldproposedupdates

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodak.conf
Joerg Jaspert [Sun, 5 Jul 2009 13:54:36 +0000 (15:54 +0200)]
dak.conf

allow codename uploads using maps.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoprocess-new
Joerg Jaspert [Sun, 5 Jul 2009 13:49:35 +0000 (15:49 +0200)]
process-new

allow to delete all notes at once, including notes for old versions.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agouse error instead of ERR
Joerg Jaspert [Mon, 22 Jun 2009 20:26:57 +0000 (22:26 +0200)]
use error instead of ERR

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sun, 21 Jun 2009 09:54:13 +0000 (11:54 +0200)]
dinstall

mention in subject of error mails if dinstall was broken due to this, or
if the error was ignored.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agokfreebsd
Joerg Jaspert [Sat, 20 Jun 2009 15:07:07 +0000 (17:07 +0200)]
kfreebsd

add kfreebsd d-i stuff

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoadd stupid hack to work around apt-pkg's config handling
Mark Hymers [Tue, 16 Jun 2009 22:29:16 +0000 (22:29 +0000)]
add stupid hack to work around apt-pkg's config handling

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agosigning key
Joerg Jaspert [Tue, 16 Jun 2009 22:16:12 +0000 (00:16 +0200)]
signing key

lets drop the old and only use the new one.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoprocess-new
Joerg Jaspert [Sat, 13 Jun 2009 22:00:18 +0000 (00:00 +0200)]
process-new

(Hopefully) ignore trainee comments for the sorting within NEW.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoprocess-new
Joerg Jaspert [Mon, 8 Jun 2009 22:20:52 +0000 (00:20 +0200)]
process-new

and use _accept() instead of move_to_holding()

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoprocess-new
Joerg Jaspert [Mon, 8 Jun 2009 22:16:16 +0000 (00:16 +0200)]
process-new

move stable/oldstable updates to newstage and not to holding area
when the source is in newstage.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoSign with the new key
Joerg Jaspert [Fri, 5 Jun 2009 06:39:56 +0000 (08:39 +0200)]
Sign with the new key

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoUse the right timestamp name
Joerg Jaspert [Fri, 5 Jun 2009 06:39:43 +0000 (08:39 +0200)]
Use the right timestamp name

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Thu, 4 Jun 2009 19:08:49 +0000 (21:08 +0200)]
dinstall

no longer number the timestamps

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Wed, 3 Jun 2009 23:11:20 +0000 (01:11 +0200)]
dinstall

background two function calls.
once for the initial ssh to merkel and the other the dak-dev cluster
projectb reload on ries.
The first does not need to be foreground, we do not care if we are already
continuing in dinstall, its only informative for the qa user on merkel.
The second also doesnt need to run alone. The next thing after it is the 1hour
apt-fuckthearchive call. So the dak-dev reload will well be done, with its 15 minutes
runtime, before the next function is also done. And there is no harm done
in having the two run at the same time.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agotab/space, i hate you
Joerg Jaspert [Wed, 3 Jun 2009 23:09:34 +0000 (01:09 +0200)]
tab/space, i hate you

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Wed, 3 Jun 2009 23:09:19 +0000 (01:09 +0200)]
dinstall

spelling, little more explanation.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Wed, 3 Jun 2009 23:09:01 +0000 (01:09 +0200)]
dinstall

put all log created by the varios functions into files named after
their stage lockfile. At the end of the function, redirect log
back to the global LOGFILE, after their stage logfile got appended to
it.

Use the stage logfile in the ERRtrap, so whenever an error happen the
stuff that gets mailed is the short part that happens to be around the
error, not the whole long stuff the complete dinstall log happens to be.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Wed, 3 Jun 2009 23:05:52 +0000 (01:05 +0200)]
dinstall

The most important part of everything. A proper (Simpsons) quote.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoforce hardlink break
Joerg Jaspert [Sun, 31 May 2009 11:32:17 +0000 (13:32 +0200)]
force hardlink break

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agovarious shell scripts
Joerg Jaspert [Sat, 30 May 2009 12:31:04 +0000 (14:31 +0200)]
various shell scripts

make them set -E so they honor the errtrap even in functions

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agounchecked
Joerg Jaspert [Sat, 30 May 2009 09:13:31 +0000 (11:13 +0200)]
unchecked
do not retry the lockfile forever and ever

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoadd check for newstage source
Mark Hymers [Mon, 25 May 2009 10:40:05 +0000 (11:40 +0100)]
add check for newstage source

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoAdjust the keys stuff to new situation
Joerg Jaspert [Sat, 23 May 2009 18:17:43 +0000 (20:17 +0200)]
Adjust the keys stuff to new situation

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 23 May 2009 17:54:48 +0000 (19:54 +0200)]
dinstall

also ignore Archive_Maintenance_In_Progress file in mirror hardlink location

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomail address
Joerg Jaspert [Sat, 23 May 2009 17:35:22 +0000 (19:35 +0200)]
mail address

somehow some people got confused with a From: "Debian Installer <installer@ftp-master.d.o>".
While I dont see how one can mistaken that to be from a tool you
install your system with, change it to archive administrator instead.

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 [Sat, 23 May 2009 17:32:35 +0000 (19:32 +0200)]
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:
  Send the "transitions completed" mail to debian-devel instead of the RT.

15 years agoMerge commit 'dato/master' into merge
Mark Hymers [Sat, 23 May 2009 15:55:17 +0000 (16:55 +0100)]
Merge commit 'dato/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoSend the "transitions completed" mail to debian-devel instead of the RT.
Adeodato Simó [Sat, 23 May 2009 15:32:19 +0000 (17:32 +0200)]
Send the "transitions completed" mail to debian-devel instead of the RT.

As per http://lists.debian.org/debian-devel/2009/05/msg00673.html, notice
of transition blocks being lifted is going to be sent to debian-devel and
not to the release team.

This commit also reworks the wording of the body of the message (the
important bit being that the block is lifted, rather than the transitions
were removed from the transitions.yaml file), and it includes the names
of the finished transitions in the Subject of the mail.

Signed-off-by: Adeodato Simó <dato@net.com.org.es>
15 years agoAdditionally sign with the new ftpmaster key
Joerg Jaspert [Thu, 21 May 2009 17:54:24 +0000 (19:54 +0200)]
Additionally sign with the new ftpmaster key

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoSet name
Joerg Jaspert [Sat, 16 May 2009 16:00:53 +0000 (18:00 +0200)]
Set name

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-n
Joerg Jaspert [Thu, 14 May 2009 22:38:58 +0000 (00:38 +0200)]
p-n

look process-new with an own lockfile.
This wont make a difference for dinstall, same lock time there.
But it will make a big difference whenever cron.unchecked runs (which is far
more often), as it now will lock for a few seconds and not for the
sometimes unbearable long times process-unchecked and the w-b trigger
needs.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "p-n"
Joerg Jaspert [Thu, 14 May 2009 21:58:40 +0000 (23:58 +0200)]
Revert "p-n"

This reverts commit cc095d57450c4828e855608c398cc7695283a277.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-n
Joerg Jaspert [Thu, 14 May 2009 21:53:02 +0000 (23:53 +0200)]
p-n

ignore an EPIPE at a pretty annoying place.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'stew/master' into merge
Joerg Jaspert [Thu, 14 May 2009 19:46:17 +0000 (21:46 +0200)]
Merge commit 'stew/master' into merge

* commit 'stew/master':
  must import pg...
  escape strings for comments on packages and comment authors

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomust import pg...
Mike O'Connor [Thu, 14 May 2009 06:34:33 +0000 (02:34 -0400)]
must import pg...

15 years agoescape strings for comments on packages and comment authors
Mike O'Connor [Thu, 14 May 2009 06:28:30 +0000 (02:28 -0400)]
escape strings for comments on packages and comment authors

dak hates the name "Mike O'Connor".  This uses pg.escape_string to make it love
my name instead.

15 years agoprocess-new
Joerg Jaspert [Sat, 9 May 2009 16:52:58 +0000 (18:52 +0200)]
process-new

no longer check the daily lock when we start looking at a package, but
when we try to do modifying actions.
No reason to not allow people to do Check/Reject/Note, those are actions
we can do whenever. Its just modifying overrides which *have* to be
avoided at certain times.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'allan/bugfixes' into merge
Joerg Jaspert [Mon, 4 May 2009 19:19:37 +0000 (21:19 +0200)]
Merge commit 'allan/bugfixes' into merge

* commit 'allan/bugfixes':
  Check for the existance of the function before trying to drop it.
  Added mention of groups required by update11.py
  Fixed missing DBUpdateError imports.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoStuff must be newer than in oldstable too, otherwise we get "nice" bugs like with...
Joerg Jaspert [Mon, 4 May 2009 08:15:29 +0000 (10:15 +0200)]
Stuff must be newer than in oldstable too, otherwise we get "nice" bugs like with treecc

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoexamine_package
Joerg Jaspert [Sun, 3 May 2009 10:00:38 +0000 (12:00 +0200)]
examine_package

a set of newlines

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agowhat a difference a small little innocent + can make
Joerg Jaspert [Sat, 2 May 2009 20:47:39 +0000 (22:47 +0200)]
what a difference a small little innocent + can make

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-n
Joerg Jaspert [Sat, 2 May 2009 15:53:51 +0000 (17:53 +0200)]
p-n

allow process-new to also look in newstage/ for the source. files
might not yet be in one of the other queues if it just got accepted
through one of the NEW queues.
No other process-* should need this, but p-n does.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodo not exit on non-existant files, only log it
Joerg Jaspert [Sat, 2 May 2009 15:25:56 +0000 (17:25 +0200)]
do not exit on non-existant files, only log it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomailwhitelist
Joerg Jaspert [Fri, 1 May 2009 22:04:12 +0000 (00:04 +0200)]
mailwhitelist

ignore whitespace/comment lines.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoCheck for the existance of the function before trying to drop it.
Allan Lyons [Fri, 1 May 2009 18:28:47 +0000 (12:28 -0600)]
Check for the existance of the function before trying to drop it.

At least on my machine, ignoring the error if the function doesn't exist
doesn't work since psycopg2 bombs.  So, we attempt to at least check if
there are any functions with a similar name before trying to drop it.
This way it should work better on an empty database where the function
has never existed.

Signed-off-by: Allan Lyons <Allan_Lyons@wycliffe.ca>
15 years agoAdded mention of groups required by update11.py
Allan Lyons [Fri, 1 May 2009 17:49:04 +0000 (11:49 -0600)]
Added mention of groups required by update11.py

Update11.py requires some database groups to already exist.  So, move the mention of those groups ahead of the line that updates the database schema.

Signed-off-by: Allan Lyons <Allan_Lyons@wycliffe.ca>
15 years agoFixed missing DBUpdateError imports.
Allan Lyons [Fri, 1 May 2009 16:58:54 +0000 (10:58 -0600)]
Fixed missing DBUpdateError imports.

Signed-off-by: Allan Lyons <Allan_Lyons@wycliffe.ca>
15 years agodocstring
Joerg Jaspert [Thu, 30 Apr 2009 20:38:01 +0000 (22:38 +0200)]
docstring

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Thu, 30 Apr 2009 20:36:55 +0000 (22:36 +0200)]
dinstall

call unchecked with the -p option, it has to run within the locked area.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agobetter handling of that report file
Joerg Jaspert [Wed, 29 Apr 2009 22:47:47 +0000 (00:47 +0200)]
better handling of that report file

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-u
Joerg Jaspert [Wed, 29 Apr 2009 22:41:11 +0000 (00:41 +0200)]
p-u

in case we did get called with a directory, do not complain about non-existing
.changes files. silently exit instead. helpful for calls from within cron, if you
dont want to have an additional otherwise useless if around it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agounchecked/dinstall
Joerg Jaspert [Wed, 29 Apr 2009 22:39:08 +0000 (00:39 +0200)]
unchecked/dinstall

unchecked stuff now also in functions.
call a few functions from within dinstall, right before we run accepted.
Otherwise, with the new way of NEW, stuff from (o-)p-u-new would take
two dinstall runs before it is from there into the archive proper...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agouse unchecked.lock, not daily.lock
Joerg Jaspert [Wed, 29 Apr 2009 20:40:59 +0000 (22:40 +0200)]
use unchecked.lock, not daily.lock

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoexamine_package
Joerg Jaspert [Tue, 28 Apr 2009 21:39:50 +0000 (23:39 +0200)]
examine_package

also extract and show README.source, so it exists.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agosuite_id
Joerg Jaspert [Tue, 28 Apr 2009 20:02:05 +0000 (22:02 +0200)]
suite_id

if suite doesnt exist dont try to convert a None to int, python doesnt
like this.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoNEW
Joerg Jaspert [Sun, 26 Apr 2009 11:15:37 +0000 (13:15 +0200)]
NEW

modified process-new and all related stuff so NEW can now also be processed
during (most of) dinstall. The lock where NEW is forbidden is then down to
some 15 til 20 minutes, instead of 2 hours.

For that process-new moves files into a "staging" directory, from which
cron.unchecked will move them into the accepted queue. As c.u only runs when
it is safe to do so this is fine.

The small part where we still are forbidden to do NEW is between the point where
we run process-accepted and right before we start generating Packages files. As
that is exactly the area daily.lock exists for, process-new now locks on that and
simply refuses to do work then.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocron.unchecked
Joerg Jaspert [Sun, 26 Apr 2009 08:59:04 +0000 (10:59 +0200)]
cron.unchecked

whitespace foo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'buxy/bugfixes' into merge
Joerg Jaspert [Sat, 25 Apr 2009 22:39:22 +0000 (00:39 +0200)]
Merge commit 'buxy/bugfixes' into merge

* commit 'buxy/bugfixes':
  dak update-db: fixes to make it work on a fresh install
  dak init-db: properly initialize suite_architectures

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