]> git.decadent.org.uk Git - dak.git/log
dak.git
15 years agoRevert "Revert "Merge commit 'stew/content_generation' into merge""
Mike O'Connor [Fri, 13 Mar 2009 13:27:47 +0000 (09:27 -0400)]
Revert "Revert "Merge commit 'stew/content_generation' into merge""

reverting the reverting of the merge of content_generation so we can merge again

This reverts commit aa63ea6814c83460abc4417f52ffdf5232431dd6.

15 years agoMerge commit 'stew/master' into merge
Joerg Jaspert [Fri, 13 Mar 2009 13:19:17 +0000 (14:19 +0100)]
Merge commit 'stew/master' into merge

* commit 'stew/master':
  stew is a bad speller.  fixing 'retrieve'

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'master' of https://ftp-master.debian.org/git/dak
Mike O'Connor [Fri, 13 Mar 2009 06:12:28 +0000 (02:12 -0400)]
Merge branch 'master' of https://ftp-master.debian.org/git/dak

15 years agodinstall
Joerg Jaspert [Thu, 12 Mar 2009 20:59:48 +0000 (21:59 +0100)]
dinstall

merkel switches from katie to dak. finally.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agohttp://ftp-master.debian.org/rss/removals.rss - Fix quoting problem with <pre>
Michael Prokop [Sat, 7 Mar 2009 22:58:01 +0000 (23:58 +0100)]
http://ftp-master.debian.org/rss/removals.rss - Fix quoting problem with <pre>

Using qq[&lt;pre&gt;$body&lt;/pre&gt;] produces "&#x26;lt;pre&#x26;gt;"
which seems to broken inside RSS readers. If the result looks like
"&lt;pre&gt;" then it seems to work fine.

Signed-off-by: Michael Prokop <mika@grml.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Tue, 10 Mar 2009 22:07:24 +0000 (23:07 +0100)]
dinstall

use an own onerror function sending a mail about the failure of dinstall.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Tue, 10 Mar 2009 21:30:50 +0000 (22:30 +0100)]
dinstall

remove some more tabs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Tue, 10 Mar 2009 21:30:41 +0000 (22:30 +0100)]
dinstall

remove old logfile mailing

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Tue, 10 Mar 2009 21:30:13 +0000 (22:30 +0100)]
dinstall

use maillogfile
(and remove tabs)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Tue, 10 Mar 2009 21:29:45 +0000 (22:29 +0100)]
dinstall

new function maillogfile

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Tue, 10 Mar 2009 20:53:48 +0000 (21:53 +0100)]
dinstall

ignore bts errors

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Mon, 9 Mar 2009 21:36:06 +0000 (22:36 +0100)]
dinstall

add testingsourcelist, a list thats used by bpo for version checks.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agostew is a bad speller. fixing 'retrieve'
Mike O'Connor [Mon, 9 Mar 2009 17:46:41 +0000 (13:46 -0400)]
stew is a bad speller.  fixing 'retrieve'

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge commit 'stew/master' into merge
Joerg Jaspert [Mon, 9 Mar 2009 17:42:51 +0000 (18:42 +0100)]
Merge commit 'stew/master' into merge

* commit 'stew/master':
  trap error from python-btsutils

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agotrap error from python-btsutils
Mike O'Connor [Mon, 9 Mar 2009 17:41:33 +0000 (13:41 -0400)]
trap error from python-btsutils

15 years agodak-dev
Joerg Jaspert [Mon, 9 Mar 2009 17:33:59 +0000 (18:33 +0100)]
dak-dev

dont cat the current db dump

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agometapackage
Joerg Jaspert [Mon, 9 Mar 2009 14:25:19 +0000 (15:25 +0100)]
metapackage

add a start of a metapackage to give to DSA, so they can easily keep things we
need installed.

Two things:

 - this could be splitted in a "ftpmaster-common" (meaning "that is needed at least to
   get a dak running") and "ftpmaster-$release" (meaning "all we also need before we
   do any work) package
 - This is not yet checked for completness, but its a good start.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodb
Joerg Jaspert [Sat, 28 Feb 2009 22:46:43 +0000 (23:46 +0100)]
db

also export roles.
daily dump the dak-dev projectb and recreate it from the postdump.
also sync the global stuff from dak to dakdev.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'mhy/master' into merge
Joerg Jaspert [Sat, 28 Feb 2009 21:40:51 +0000 (22:40 +0100)]
Merge commit 'mhy/master' into merge

* commit 'mhy/master':
  temporarily remove p-u from version checking

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agothis sucks
Joerg Jaspert [Sat, 28 Feb 2009 21:36:59 +0000 (22:36 +0100)]
this sucks

we do need the postgres connection. THIS OLD CODE SUCKS BIG TIME.
WHO THE FUCK CREATES A DATABASE "MODUL" AND THEN STILL DOES ALL
THE DATABASE LOGIC (INCL CONNECTING) IN ALL THOSE TONS OF OTHER
FILES? PLEASE DIE.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agopdiff
Joerg Jaspert [Sat, 28 Feb 2009 21:28:26 +0000 (22:28 +0100)]
pdiff

use the architectures from the database

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'ftpmaster/master'
Mark Hymers [Sat, 28 Feb 2009 21:27:41 +0000 (21:27 +0000)]
Merge commit 'ftpmaster/master'

15 years agop-u-new/o-p-u-new
Joerg Jaspert [Sat, 28 Feb 2009 17:01:25 +0000 (18:01 +0100)]
p-u-new/o-p-u-new

dont read in all changes files for (o-)p-u-new

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agosyck -> yaml
Joerg Jaspert [Sat, 28 Feb 2009 11:21:47 +0000 (12:21 +0100)]
syck -> yaml

remove the syck module, use yaml instead

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-n
Joerg Jaspert [Fri, 27 Feb 2009 22:08:07 +0000 (23:08 +0100)]
p-n

a few docstrings.

Also use utils.get_changes_files if none are given at commandline.
Which also cd's to the right directory.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agorelease files
Joerg Jaspert [Fri, 27 Feb 2009 21:53:38 +0000 (22:53 +0100)]
release files

also list the Contents files.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodak.conf
Joerg Jaspert [Thu, 26 Feb 2009 22:19:07 +0000 (23:19 +0100)]
dak.conf

use a special envelope@ address for all mail generated from us.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'origin/master'
Mark Hymers [Thu, 26 Feb 2009 19:33:26 +0000 (19:33 +0000)]
Merge commit 'origin/master'

15 years agoRevert "Merge commit 'stew/content_generation' into merge"
Joerg Jaspert [Wed, 25 Feb 2009 23:29:44 +0000 (00:29 +0100)]
Revert "Merge commit 'stew/content_generation' into merge"

This reverts commit 2ae7b715431fed62b6a619e6d1b027d919da1070.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "for the time we test, modify the path to a non-world-visible one"
Joerg Jaspert [Wed, 25 Feb 2009 23:29:34 +0000 (00:29 +0100)]
Revert "for the time we test, modify the path to a non-world-visible one"

This reverts commit c1941b0e15102d43a286c7b634b275f32259130d.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "Merge branch 'merge'"
Joerg Jaspert [Wed, 25 Feb 2009 23:28:38 +0000 (00:28 +0100)]
Revert "Merge branch 'merge'"

This reverts commit a1e87687d8e78a910fedf1e90830d7882a22a555.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "Merge branch 'merge'"
Joerg Jaspert [Wed, 25 Feb 2009 23:28:19 +0000 (00:28 +0100)]
Revert "Merge branch 'merge'"

This reverts commit 16f020f22ddc10b88ee076f2ac86d33cbc7769e5.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Wed, 25 Feb 2009 23:01:38 +0000 (00:01 +0100)]
Merge branch 'merge'

* merge:
  get rid of finally:

15 years agoMerge commit 'stew/content_generation' into merge
Joerg Jaspert [Wed, 25 Feb 2009 23:01:27 +0000 (00:01 +0100)]
Merge commit 'stew/content_generation' into merge

* commit 'stew/content_generation':
  get rid of finally:

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoget rid of finally:
Mike O'Connor [Wed, 25 Feb 2009 22:58:41 +0000 (17:58 -0500)]
get rid of finally:

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Wed, 25 Feb 2009 22:54:53 +0000 (23:54 +0100)]
Merge branch 'merge'

* merge:
  replace Config DBConn module names with lowercase

15 years agoMerge commit 'stew/content_generation' into merge
Joerg Jaspert [Wed, 25 Feb 2009 22:54:45 +0000 (23:54 +0100)]
Merge commit 'stew/content_generation' into merge

* commit 'stew/content_generation':
  replace Config DBConn module names with lowercase

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoreplace Config DBConn module names with lowercase
Mike O'Connor [Wed, 25 Feb 2009 22:52:21 +0000 (17:52 -0500)]
replace Config DBConn module names with lowercase

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agofor the time we test, modify the path to a non-world-visible one
Joerg Jaspert [Wed, 25 Feb 2009 22:47:39 +0000 (23:47 +0100)]
for the time we test, modify the path to a non-world-visible one

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'stew/content_generation' into merge
Joerg Jaspert [Wed, 25 Feb 2009 22:46:29 +0000 (23:46 +0100)]
Merge commit 'stew/content_generation' into merge

* commit 'stew/content_generation': (35 commits)
  spalling fix, get rid of extra import in utils.py
  allow contents files to be written to an alternate location
  another fix to bootstrap, and get rid of 'fetchall'
  get bootstrap working again
  stop setting the db connection to latin1
  insert files, not dirs
  cant delete it after i set it to null, dummy
  use get_suite_architectures from dbconn.py instead of database.py
  fix misspelling cleanup() -> _cleanup()
  forgot to update config, get rid of incorrect warning
  stupid bad merge syntax error
  better cleanup of temporary files, consolidate some repeated code
  adding back our schema migration as update6
  update header - we always ship compressed contents files
  temp_content_associations -> pending_content_associations
  typo fix
  some spelling changes
  oops, forgot some changes to contents.py
  missing ; in dak.conf
  undoing incorrect changes in dak.conf
  ...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agospalling fix, get rid of extra import in utils.py
Mike O'Connor [Wed, 25 Feb 2009 22:43:25 +0000 (17:43 -0500)]
spalling fix, get rid of extra import in utils.py

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agotemporarily remove p-u from version checking
Mark Hymers [Wed, 25 Feb 2009 22:16:06 +0000 (22:16 +0000)]
temporarily remove p-u from version checking

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoallow contents files to be written to an alternate location
Mike O'Connor [Wed, 25 Feb 2009 21:21:16 +0000 (16:21 -0500)]
allow contents files to be written to an alternate location

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoanother fix to bootstrap, and get rid of 'fetchall'
Mike O'Connor [Wed, 25 Feb 2009 20:16:22 +0000 (15:16 -0500)]
another fix to bootstrap, and get rid of 'fetchall'

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoget bootstrap working again
Mike O'Connor [Wed, 25 Feb 2009 20:09:14 +0000 (15:09 -0500)]
get bootstrap working again

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge branch 'master' into content_generation
Mike O'Connor [Wed, 25 Feb 2009 19:43:24 +0000 (14:43 -0500)]
Merge branch 'master' into content_generation

15 years agoclean-suites
Joerg Jaspert [Tue, 24 Feb 2009 22:36:29 +0000 (23:36 +0100)]
clean-suites

actually run the prepared query...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoclean-suites
Joerg Jaspert [Tue, 24 Feb 2009 22:30:17 +0000 (23:30 +0100)]
clean-suites

its delete_date, not delete_data

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agogenerate-releases
Joerg Jaspert [Tue, 24 Feb 2009 18:24:00 +0000 (19:24 +0100)]
generate-releases

call database.init

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'mhy/master' into merge
Joerg Jaspert [Tue, 24 Feb 2009 18:23:44 +0000 (19:23 +0100)]
Merge commit 'mhy/master' into merge

* commit 'mhy/master':
  use database to generate suite_architectures list
  remove debug output
  allow --maximum argument to clean_suites

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agouse database to generate suite_architectures list
Mark Hymers [Tue, 24 Feb 2009 15:54:53 +0000 (15:54 +0000)]
use database to generate suite_architectures list

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge commit 'ftpmaster/master'
Mark Hymers [Tue, 24 Feb 2009 15:44:19 +0000 (15:44 +0000)]
Merge commit 'ftpmaster/master'

15 years agodinstall / reboot
Joerg Jaspert [Mon, 23 Feb 2009 22:46:41 +0000 (23:46 +0100)]
dinstall / reboot

add a first pass of a script intended to restart dinstall after a reboot,
in case it was running right before.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agostop setting the db connection to latin1
Mike O'Connor [Mon, 23 Feb 2009 21:28:38 +0000 (16:28 -0500)]
stop setting the db connection to latin1

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoinsert files, not dirs
Mike O'Connor [Mon, 23 Feb 2009 14:59:35 +0000 (09:59 -0500)]
insert files, not dirs

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoSave the 'after' log
Joerg Jaspert [Mon, 23 Feb 2009 07:37:10 +0000 (08:37 +0100)]
Save the 'after' log

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocant delete it after i set it to null, dummy
Mike O'Connor [Mon, 23 Feb 2009 05:16:49 +0000 (00:16 -0500)]
cant delete it after i set it to null, dummy

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge branch 'master' into content_generation
Mike O'Connor [Sun, 22 Feb 2009 18:22:18 +0000 (13:22 -0500)]
Merge branch 'master' into content_generation

15 years agoremove debug output
Mark Hymers [Sun, 22 Feb 2009 18:18:24 +0000 (18:18 +0000)]
remove debug output

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge commit 'ftpmaster/master'
Mark Hymers [Sun, 22 Feb 2009 18:15:28 +0000 (18:15 +0000)]
Merge commit 'ftpmaster/master'

15 years agoallow --maximum argument to clean_suites
Mark Hymers [Sun, 22 Feb 2009 18:15:03 +0000 (18:15 +0000)]
allow --maximum argument to clean_suites

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agouse get_suite_architectures from dbconn.py instead of database.py
Mike O'Connor [Sun, 22 Feb 2009 17:08:00 +0000 (12:08 -0500)]
use get_suite_architectures from dbconn.py instead of database.py

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agofix misspelling cleanup() -> _cleanup()
Mike O'Connor [Sun, 22 Feb 2009 17:03:17 +0000 (12:03 -0500)]
fix misspelling cleanup() -> _cleanup()

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoforgot to update config, get rid of incorrect warning
Mike O'Connor [Sun, 22 Feb 2009 17:02:41 +0000 (12:02 -0500)]
forgot to update config, get rid of incorrect warning

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agodinstall
Joerg Jaspert [Sun, 22 Feb 2009 16:31:33 +0000 (17:31 +0100)]
dinstall

save timestamp when we start and rename the logfile according to it
at the end of dinstall.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'djpig/djpig' into merge
Joerg Jaspert [Sun, 22 Feb 2009 16:02:53 +0000 (17:02 +0100)]
Merge commit 'djpig/djpig' into merge

* commit 'djpig/djpig':
  control-overrides: Add some safer modes of operation
  control-overrides: Simplify maintainer override handling

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocontrol-overrides: Add some safer modes of operation
Frank Lichtenheld [Sun, 22 Feb 2009 15:50:11 +0000 (15:50 +0000)]
control-overrides: Add some safer modes of operation

Add "--no-action" option to not do any changes but only tell
the user what would've been done.

Also add "--change" option which will ignore all additions
and deletions.

Signed-off-by: Frank Lichtenheld <djpig@debian.org>
15 years agocontrol-overrides: Simplify maintainer override handling
Frank Lichtenheld [Sun, 22 Feb 2009 15:48:50 +0000 (15:48 +0000)]
control-overrides: Simplify maintainer override handling

Signed-off-by: Frank Lichtenheld <djpig@debian.org>
15 years agostupid bad merge syntax error
Mike O'Connor [Sun, 22 Feb 2009 15:04:49 +0000 (10:04 -0500)]
stupid bad merge syntax error

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agobetter cleanup of temporary files, consolidate some repeated code
Mike O'Connor [Sun, 22 Feb 2009 14:55:49 +0000 (09:55 -0500)]
better cleanup of temporary files, consolidate some repeated code

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoadding back our schema migration as update6
Mike O'Connor [Sun, 22 Feb 2009 13:49:05 +0000 (08:49 -0500)]
adding back our schema migration as update6

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoupdate header - we always ship compressed contents files
Mark Hymers [Sat, 21 Feb 2009 18:49:14 +0000 (18:49 +0000)]
update header - we always ship compressed contents files

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agotemp_content_associations -> pending_content_associations
Mark Hymers [Sat, 21 Feb 2009 18:47:42 +0000 (18:47 +0000)]
temp_content_associations -> pending_content_associations

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agotypo fix
Mark Hymers [Sat, 21 Feb 2009 18:46:25 +0000 (18:46 +0000)]
typo fix

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agosome spelling changes
Mike O'Connor [Sun, 22 Feb 2009 13:34:16 +0000 (08:34 -0500)]
some spelling changes

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agomerge from master
Mike O'Connor [Sun, 22 Feb 2009 13:13:39 +0000 (08:13 -0500)]
merge from master

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agodinstall
Joerg Jaspert [Sun, 22 Feb 2009 09:20:11 +0000 (10:20 +0100)]
dinstall

use full path for REPORT everywhere

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoDont complain
Joerg Jaspert [Sun, 22 Feb 2009 00:27:07 +0000 (01:27 +0100)]
Dont complain

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 22:49:20 +0000 (23:49 +0100)]
dinstall

rename to cron.dinstall, its now default

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoset up Arguments properly
Mark Hymers [Sat, 21 Feb 2009 21:37:13 +0000 (21:37 +0000)]
set up Arguments properly

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 21:32:20 +0000 (22:32 +0100)]
dinstall

fix the find to not warn.
its LOCK_BRITNEY, not britneylock

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Sat, 21 Feb 2009 21:05:35 +0000 (22:05 +0100)]
Merge branch 'merge'

* merge:
  docstring
  move logic into a function
  more tidy ups for paths/variables
  use variables for paths
  allow p-a and p-u to take a directory to parse themselves

15 years agoMerge commit 'mhy/master' into merge
Joerg Jaspert [Sat, 21 Feb 2009 21:05:18 +0000 (22:05 +0100)]
Merge commit 'mhy/master' into merge

* commit 'mhy/master':
  docstring
  move logic into a function
  more tidy ups for paths/variables
  use variables for paths
  allow p-a and p-u to take a directory to parse themselves
  dinstall
  p-a
  dinstall
  Ignore errors to updates
  2 more fixes
  dinstall
  Add a space
  utf-8

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodocstring
Mark Hymers [Sat, 21 Feb 2009 21:03:29 +0000 (21:03 +0000)]
docstring

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomove logic into a function
Mark Hymers [Sat, 21 Feb 2009 21:00:38 +0000 (21:00 +0000)]
move logic into a function

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomore tidy ups for paths/variables
Mark Hymers [Sat, 21 Feb 2009 20:52:59 +0000 (20:52 +0000)]
more tidy ups for paths/variables

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agouse variables for paths
Mark Hymers [Sat, 21 Feb 2009 20:51:34 +0000 (20:51 +0000)]
use variables for paths

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoallow p-a and p-u to take a directory to parse themselves
Mark Hymers [Sat, 21 Feb 2009 20:48:21 +0000 (20:48 +0000)]
allow p-a and p-u to take a directory to parse themselves

This prevents any possible issues with maximum command line
lengths when using shell globbing.

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 20:43:27 +0000 (21:43 +0100)]
dinstall

if $LOCK_STOP exists - exit asap.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 20:23:15 +0000 (21:23 +0100)]
dinstall

its lock_accepted, not lockac

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-a
Joerg Jaspert [Sat, 21 Feb 2009 20:11:18 +0000 (21:11 +0100)]
p-a

add the two lines back, p-a insists on having them. it just doesnt want
to make up random ones for it.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 20:09:04 +0000 (21:09 +0100)]
dinstall

dont rotate logs in cleanup

dont ignore p-a errors

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoIgnore errors to updates
Joerg Jaspert [Sat, 21 Feb 2009 20:03:56 +0000 (21:03 +0100)]
Ignore errors to updates

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years ago2 more fixes
Joerg Jaspert [Sat, 21 Feb 2009 20:03:10 +0000 (21:03 +0100)]
2 more fixes

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 19:56:46 +0000 (20:56 +0100)]
dinstall

args, 2 functions with same name does no good

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd a space
Joerg Jaspert [Sat, 21 Feb 2009 19:55:19 +0000 (20:55 +0100)]
Add a space

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoutf-8
Joerg Jaspert [Sat, 21 Feb 2009 19:42:56 +0000 (20:42 +0100)]
utf-8

enforce properly encoded changes/dsc files. if they do not pass
unicode() they wont get in.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodinstall
Joerg Jaspert [Sat, 21 Feb 2009 14:59:41 +0000 (15:59 +0100)]
dinstall

implement various  comments and suggestions from mhy

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'master' into content_generation, make changes based on Joerg's review
Mike O'Connor [Sat, 21 Feb 2009 14:29:47 +0000 (09:29 -0500)]
Merge branch 'master' into content_generation, make changes based on Joerg's review

Conflicts:

dak/dakdb/update4.py
dak/init_db.py
dak/process_accepted.py
dak/update_db.py
daklib/database.py

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agokey expire
Joerg Jaspert [Sat, 21 Feb 2009 11:13:02 +0000 (12:13 +0100)]
key expire

catch a case where the key is expired and no not-expired-subkey is
used to sign the .changes, ie. no GOODSIG token available. The
timestamp we get back from the command is unixtime, but type string,
so we should cast it to float or time.gmtime will complain.

And if that doesnt work, for whatever reason, issue a more generic
reject message.

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