]> err.no Git - dak/log
dak
15 years agodak.py
Joerg Jaspert [Tue, 3 Feb 2009 21:16:21 +0000 (22:16 +0100)]
dak.py

add the new command

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

added package/file mapping generation to dinstall

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomake_pkg_file_mapping
Joerg Jaspert [Tue, 3 Feb 2009 19:55:26 +0000 (20:55 +0100)]
make_pkg_file_mapping

add the funny quote weasel missed
use row as variable name, not the too clearly named i
do use the new docstring foo.

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

* commit 'weasel/master':
  Add make_pkg_file_mapping.py

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd make_pkg_file_mapping.py
Peter Palfrader [Tue, 3 Feb 2009 13:02:32 +0000 (06:02 -0700)]
Add make_pkg_file_mapping.py

make_pkg_file_mapping prints, for every file in the pool, which source package
and version it belongs to and for binary packages additionally which arch,
binary package and binary package version it has in a standard rfc2822-like
format.

15 years agoMore docstrings
Joerg Jaspert [Sun, 1 Feb 2009 14:53:38 +0000 (15:53 +0100)]
More docstrings

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocontrol-suite
Joerg Jaspert [Sun, 1 Feb 2009 14:52:59 +0000 (15:52 +0100)]
control-suite

allow to set lenny-r0

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomore docstrings
Joerg Jaspert [Wed, 28 Jan 2009 22:48:39 +0000 (23:48 +0100)]
more docstrings

a few more in dak/

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'mhy/web' into merge
Joerg Jaspert [Tue, 27 Jan 2009 22:18:13 +0000 (23:18 +0100)]
Merge commit 'mhy/web' into merge

* commit 'mhy/web':
  add stable keys, thanks to Luk

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoadd stable keys, thanks to Luk
Mark Hymers [Tue, 27 Jan 2009 22:17:14 +0000 (22:17 +0000)]
add stable keys, thanks to Luk

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge commit 'mhy/master' into merge
Joerg Jaspert [Tue, 27 Jan 2009 21:55:25 +0000 (22:55 +0100)]
Merge commit 'mhy/master' into merge

* commit 'mhy/master':
  don't die on silly input such as: Changed-By: P=Q6P9 P<P5Q)P5Q Q/P:P>P2 <eugen@debian.org>

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agodon't die on silly input such as: Changed-By: P=Q6P9 P<P5Q)P5Q Q/P:P>P2 <eugen@debian...
Mark Hymers [Tue, 27 Jan 2009 21:54:27 +0000 (21:54 +0000)]
don't die on silly input such as: Changed-By: P=Q6P9 P<P5Q)P5Q Q/P:P>P2 <eugen@debian.org>

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agogit
Joerg Jaspert [Tue, 27 Jan 2009 21:47:42 +0000 (22:47 +0100)]
git

one more ../ for the new setup

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'mhy/web' into merge
Joerg Jaspert [Tue, 27 Jan 2009 21:37:17 +0000 (22:37 +0100)]
Merge commit 'mhy/web' into merge

* commit 'mhy/web':
  grumble, whitespace, grumble
  tidy up keys

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agogrumble, whitespace, grumble
Mark Hymers [Tue, 27 Jan 2009 21:36:48 +0000 (21:36 +0000)]
grumble, whitespace, grumble

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge commit 'ftpmaster/master' into web
Mark Hymers [Tue, 27 Jan 2009 21:32:28 +0000 (21:32 +0000)]
Merge commit 'ftpmaster/master' into web

15 years agotidy up keys
Mark Hymers [Tue, 27 Jan 2009 21:32:22 +0000 (21:32 +0000)]
tidy up keys

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoAnd another used dir
Joerg Jaspert [Tue, 27 Jan 2009 21:30:45 +0000 (22:30 +0100)]
And another used dir

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd empty dirs, but ones that are used automagically by our tools
Joerg Jaspert [Tue, 27 Jan 2009 21:29:19 +0000 (21:29 +0000)]
Add empty dirs, but ones that are used automagically by our tools

15 years agoi18n
Joerg Jaspert [Tue, 27 Jan 2009 21:25:50 +0000 (22:25 +0100)]
i18n

this symlink is autogenerated, remove

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoweb/
Joerg Jaspert [Tue, 27 Jan 2009 21:23:26 +0000 (21:23 +0000)]
web/

lets add that part of our webdir to git thats not generated
automagically.

15 years agop-u
Joerg Jaspert [Mon, 26 Jan 2009 22:15:04 +0000 (23:15 +0100)]
p-u

re_default_answer was missing.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agovarious
Joerg Jaspert [Mon, 26 Jan 2009 21:56:31 +0000 (22:56 +0100)]
various

a few more docstrings

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

initial markup

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years ago[various]
Joerg Jaspert [Sun, 25 Jan 2009 22:52:33 +0000 (23:52 +0100)]
[various]

more docstrings, even if some are empty/not written yet. Any help would be nice :)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agos/FTPMaster/FTP Master/
Joerg Jaspert [Sun, 25 Jan 2009 16:56:58 +0000 (17:56 +0100)]
s/FTPMaster/FTP Master/

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agobts-categorize
Joerg Jaspert [Sun, 25 Jan 2009 16:52:28 +0000 (17:52 +0100)]
bts-categorize

add a few more docstrings to the top

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'stew/categorize-bts' into merge
Joerg Jaspert [Sun, 25 Jan 2009 16:51:40 +0000 (17:51 +0100)]
Merge commit 'stew/categorize-bts' into merge

* commit 'stew/categorize-bts':
  git rid of useless email realeted imports.  added docstring for module
  Use dak's facility for sending email.  Add bts-categorize to cron.dinstall
  dont send email unless there is something to categorize
  move bts_categorize into dak, send email
  drop logging level
  a script that categorizes bugs against ftp.debian.org

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agogit rid of useless email realeted imports. added docstring for module
Mike O'Connor [Sun, 25 Jan 2009 16:49:04 +0000 (11:49 -0500)]
git rid of useless email realeted imports.  added docstring for module
Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoUse dak's facility for sending email. Add bts-categorize to cron.dinstall
Mike O'Connor [Sun, 25 Jan 2009 16:16:28 +0000 (11:16 -0500)]
Use dak's facility for sending email.  Add bts-categorize to cron.dinstall

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agodaklib/database
Joerg Jaspert [Sun, 25 Jan 2009 14:38:28 +0000 (15:38 +0100)]
daklib/database

the first fully documented (well, docstrings, but many) file.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoHm, i seem to miss a small detail here, lets back out this one hunk and look later...
Joerg Jaspert [Sun, 25 Jan 2009 10:58:36 +0000 (11:58 +0100)]
Hm, i seem to miss a small detail here, lets back out this one hunk and look later. I DO HATE PDIFFS. I DO

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoIts subprocess.PIPE, not PIPE
Joerg Jaspert [Sun, 25 Jan 2009 00:50:08 +0000 (01:50 +0100)]
Its subprocess.PIPE, not PIPE

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agomake-suite-file-list
Joerg Jaspert [Sun, 25 Jan 2009 00:47:27 +0000 (01:47 +0100)]
make-suite-file-list

forgot to rename one usage of the two variable names

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agolotsa files
Joerg Jaspert [Sun, 25 Jan 2009 00:27:16 +0000 (01:27 +0100)]
lotsa files

doc strings, dont we love em?

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agop-u
Joerg Jaspert [Sun, 25 Jan 2009 00:12:17 +0000 (01:12 +0100)]
p-u

its re_no_epoch and re_no_revision

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'mhy/regexes' into merge
Joerg Jaspert [Sat, 24 Jan 2009 19:27:47 +0000 (20:27 +0100)]
Merge commit 'mhy/regexes' into merge

* commit 'mhy/regexes':
  remove unused regexes
  docstring update
  Only import regexes we're using
  whoops, put sensible comment in
  Move regexes into a module so we can keep track

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoremove unused regexes
Mark Hymers [Sat, 24 Jan 2009 19:22:34 +0000 (19:22 +0000)]
remove unused regexes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agodocstring update
Mark Hymers [Sat, 24 Jan 2009 19:16:09 +0000 (19:16 +0000)]
docstring update

Signed-off-by: Mark Hymers <mhy@debian.org>
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 agodont send email unless there is something to categorize
Mike O'Connor [Sat, 24 Jan 2009 17:38:22 +0000 (12:38 -0500)]
dont send email unless there is something to categorize

Signed-off-by: Mike O'Connor <stew@vireo.org>
15 years agoMerge branch 'master' into categorize-bts
Mike O'Connor [Sat, 24 Jan 2009 17:34:26 +0000 (12:34 -0500)]
Merge branch 'master' into categorize-bts

15 years agomove bts_categorize into dak, send email
Mike O'Connor [Sat, 24 Jan 2009 17:19:07 +0000 (12:19 -0500)]
move bts_categorize into dak, send email

bts_categorize can now be called as "dak bts-categorize"
added command line options (try 'dak bts-categorize -h')
it now optionally sends email to control@bugs.debian.org

Signed-off-by: Mike O'Connor <stew@vireo.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 agodrop logging level
Mike O'Connor [Thu, 15 Jan 2009 17:13:43 +0000 (12:13 -0500)]
drop logging level

Signed-off-by: Mike O'Connor <stew@vireo.org>
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 agoa script that categorizes bugs against ftp.debian.org
Mike O'Connor [Wed, 14 Jan 2009 07:27:08 +0000 (02:27 -0500)]
a script that categorizes bugs against ftp.debian.org

This script uses python-btsutils to look for bugs filed against ftp.debian.org which have not yet been classified with usertags.  Any unclassified bugs are matched against regular expression and possibly being classified.  Currently the script only classifies bugs with RM: as their subject and moves them into the "Removal Requested" class.  Currently the script just outputs a list of commands suitable for emailing to control@debian.org

Signed-off-by: Mike O'Connor <stew@debian.org>
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>