]>
err.no Git - dak/log
Ansgar Burchardt [Sun, 1 Jul 2012 12:06:21 +0000 (14:06 +0200)]
Add module to handle archive manipulation.
Ansgar Burchardt [Sun, 1 Jul 2012 12:06:32 +0000 (14:06 +0200)]
Add module to handle uploads not yet installed to the archive.
Ansgar Burchardt [Fri, 6 Jul 2012 15:58:14 +0000 (09:58 -0600)]
process-unchecked.new: drop __SUMMARY__ for now
The multi-archive changes don't have a useful value for __SUMMARY__
so far. So drop it at least temporarily from the templates.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Fri, 6 Jul 2012 15:52:06 +0000 (09:52 -0600)]
remove two template variables
Drop __SHORT_SUMMARY__ and __STABLE_WARNING__. The former provides no
interesting information (just a list of installed files); the latter
seems no longer used and nobody missed it so far.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Thu, 5 Jul 2012 16:23:28 +0000 (10:23 -0600)]
utils.py: add call_editor function
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Thu, 5 Jul 2012 20:18:50 +0000 (14:18 -0600)]
utils (send_message): add option to write mail to files
Add an option to write outgoing mails to a file in the directory given
by Dir::Mail. This is intended for use on development installations
where no real mail should be sent.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Sun, 1 Jul 2012 23:09:20 +0000 (01:09 +0200)]
utils.py (mail_addresses_for_upload): only try to use address from key if there is one
Ansgar Burchardt [Thu, 14 Jun 2012 17:38:31 +0000 (19:38 +0200)]
config.py: Add __contains__ method
Ansgar Burchardt [Fri, 15 Jun 2012 13:42:10 +0000 (15:42 +0200)]
fstransactions.py: allow mode to be a string
Ansgar Burchardt [Fri, 15 Jun 2012 13:41:47 +0000 (15:41 +0200)]
fstransactions.py: also use mode for directories
Ansgar Burchardt [Sat, 16 Jun 2012 07:44:00 +0000 (09:44 +0200)]
tests: add a few packages for testing dak
Ansgar Burchardt [Thu, 28 Jun 2012 10:10:03 +0000 (12:10 +0200)]
utils.py: add mail_addresses_for_upload function
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Thu, 28 Jun 2012 10:07:42 +0000 (12:07 +0200)]
gpg_get_key_addresses: return a list instead of a set
gpg tries to return the primary uid (or newest uid if there is no explicit
primary) first. dak should prefer this address, but we need a list to know the
order of addresses gpg returned.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Sun, 17 Jun 2012 07:33:25 +0000 (09:33 +0200)]
textutils.py: don't try to convert unicode strings again
Ansgar Burchardt [Fri, 8 Jun 2012 15:24:51 +0000 (17:24 +0200)]
Add regexp to match .changes files.
Also use raw strings for the other regular expressions.
Ansgar Burchardt [Mon, 4 Jun 2012 15:48:24 +0000 (17:48 +0200)]
Correctly match version part of source tarballs
The version part must not be greedy in order to not include the .orig.tar.*
part. Also add .debian.tar.* which I forgot earlier.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Sun, 10 Jun 2012 14:20:57 +0000 (16:20 +0200)]
dominate: convert to str
apt_pkg.Configuration does only allow str values; trying to assign a
unicode object raises a TypeError.
Ansgar Burchardt [Sun, 10 Jun 2012 15:08:27 +0000 (17:08 +0200)]
Remove no longer used templates.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Fri, 8 Jun 2012 15:06:43 +0000 (17:06 +0200)]
Remove unused functions.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Thu, 24 May 2012 13:45:22 +0000 (15:45 +0200)]
add module for filesystem transactions
daklib.fstransactions allows to copy, remove, and move files around in
transactions, that is all operations will succeed or be reverted.
Ansgar Burchardt [Thu, 31 May 2012 18:50:33 +0000 (20:50 +0200)]
Add nicer and stricter regular expressions.
Ansgar Burchardt [Tue, 15 May 2012 12:03:24 +0000 (14:03 +0200)]
override, override-disparity: rename suite variable to suite_name
Ansgar Burchardt [Tue, 29 May 2012 17:30:53 +0000 (19:30 +0200)]
daklib/dbconn.py: Don't list install_date twice in not-null constraint.
Ansgar Burchardt [Wed, 23 May 2012 15:20:48 +0000 (17:20 +0200)]
fix typo in daklib/gpg.py: seqeuence -> sequence
Ansgar Burchardt [Wed, 30 May 2012 17:45:18 +0000 (19:45 +0200)]
Allow to set fingerprint in __init__ for DBBinary and DBSource.
Ansgar Burchardt [Mon, 21 May 2012 22:12:11 +0000 (00:12 +0200)]
Remove split-done.
Since
0ce7303ebc8d854fa8061669d39aba933665af6c we store changes files directly
into date-based directories.
Ansgar Burchardt [Mon, 21 May 2012 21:16:53 +0000 (23:16 +0200)]
Remove import-known-changes and import-new-files.
Ansgar Burchardt [Mon, 14 May 2012 11:24:28 +0000 (13:24 +0200)]
process-upload: document -d, --directory option
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Mark Hymers [Mon, 14 May 2012 20:46:34 +0000 (21:46 +0100)]
We now allow non-gzip data in udebs
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Fri, 11 May 2012 21:41:13 +0000 (23:41 +0200)]
Merge remote-tracking branch 'ansgar/pu/wheezy' into merge
* ansgar/pu/wheezy:
Go back to temporary tables.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Fri, 11 May 2012 21:32:28 +0000 (23:32 +0200)]
Go back to temporary tables.
Using with statements as done in
c9f2c29661e8d95215966aa52228febe0fec50cf
requires more resources, so revert back to using temporary tables.
We keep the statements to create and fill the temporary table separate from the
SELECT query itself which should fix the original problem in a different way.
Joerg Jaspert [Fri, 11 May 2012 19:46:56 +0000 (21:46 +0200)]
Merge remote-tracking branch 'ansgar/pu/wheezy' into merge
* ansgar/pu/wheezy:
Change how compression methods are selected in FileWriter
Use with statement instead of temporary table
Move "import utils" into function
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Fri, 11 May 2012 16:26:53 +0000 (18:26 +0200)]
Change how compression methods are selected in FileWriter
Ansgar Burchardt [Fri, 11 May 2012 13:09:52 +0000 (15:09 +0200)]
Use with statement instead of temporary table
SQLAlchemy might use server-side cursors and prepend a
DECLARE "..." CURSOR WITHOUT HOLD FOR
to the statement. This does not work if the statement starts with creating a
temporary table.
Ansgar Burchardt [Fri, 11 May 2012 10:54:12 +0000 (12:54 +0200)]
Move "import utils" into function
This breaks a dependency cycle (as utils.py imports dbconn.py again) and allows
the tests to pass again.
Joerg Jaspert [Fri, 11 May 2012 10:17:59 +0000 (12:17 +0200)]
Merge remote-tracking branch 'ansgar/pu/wheezy' into merge
* ansgar/pu/wheezy:
Remove dead code.
Remove redundant indices from database.
Add path to removal logs to minimal configuration.
Make dominate -s <suite> work without Obsolete::Options::Suite set.
setup/README: update for postgresql-9.1
setup/README: remove no longer needed postgresql packages
stop using deprecated python-apt functions
merge check for Description field with other checks
add our own deb_extract_control function
Stop passing order_by as a string.
Allow use with SQLAlchemy 0.7
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Thu, 10 May 2012 12:11:23 +0000 (14:11 +0200)]
Remove dead code.
In
ca9e3716b22771d88dcd7ca2e2f180f9e1707a10 the code to create system users was
removed from add_user.py, but related functions and a command line argument
were still kept. This commit removes that code.
Ansgar Burchardt [Thu, 10 May 2012 11:06:03 +0000 (13:06 +0200)]
Remove redundant indices from database.
Ansgar Burchardt [Thu, 10 May 2012 08:31:34 +0000 (10:31 +0200)]
Add path to removal logs to minimal configuration.
dak rm will not work otherwise.
Ansgar Burchardt [Thu, 10 May 2012 08:22:40 +0000 (10:22 +0200)]
Make dominate -s <suite> work without Obsolete::Options::Suite set.
Ansgar Burchardt [Wed, 9 May 2012 14:47:40 +0000 (16:47 +0200)]
setup/README: update for postgresql-9.1
Refer to the current postgresql-9.1 packages. Also use the extension versions
of debversion and plpgsql and drop them from the schema definition.
Ansgar Burchardt [Wed, 9 May 2012 13:22:28 +0000 (15:22 +0200)]
setup/README: remove no longer needed postgresql packages
dak no longer uses plperl or plpython.
Ansgar Burchardt [Sun, 6 May 2012 15:16:52 +0000 (17:16 +0200)]
stop using deprecated python-apt functions
Renamed functions and methods:
Find -> find
FindB -> find_b
newConfiguration -> Configuration
ParseCommandLine -> parse_commandline
ParseSrcDepends -> parse_src_depends
ReadConfigFileISC -> read_config_file_isc
SubTree -> subtree
ValueList -> value_list
VersionCompare -> version_compare
Removed functions:
debExtractControl: replaced with utils.deb_extract_control
Other changes:
x.has_key(y) -> y in x
x.Find(y) -> x[y]
The last change was only done in places where `y' is sure to exists (`x.Find'
would return None otherwise, `x[y]' would raise an exception).
Joerg Jaspert [Wed, 9 May 2012 18:20:53 +0000 (20:20 +0200)]
ask before installing security updates
helps avoiding accidental *changes commandline arguments
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Wed, 9 May 2012 10:46:20 +0000 (12:46 +0200)]
merge check for Description field with other checks
Ansgar Burchardt [Wed, 9 May 2012 10:44:08 +0000 (12:44 +0200)]
add our own deb_extract_control function
debExtractControl from apt_inst was deprecated and removed.
Ansgar Burchardt [Sun, 6 May 2012 15:47:15 +0000 (17:47 +0200)]
Stop passing order_by as a string.
This no longer worked with SQLAlchemy 0.7.
Ansgar Burchardt [Sun, 6 May 2012 15:36:32 +0000 (17:36 +0200)]
Allow use with SQLAlchemy 0.7
Joerg Jaspert [Fri, 20 Apr 2012 16:37:22 +0000 (18:37 +0200)]
* scripts/debian/link_morgue.sh: New script, converting morgue/ into a
set of symlinks, then transferring them to the morgue host
* config/debian/cron.daily: Add link_morgue
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 29 Mar 2012 05:25:25 +0000 (07:25 +0200)]
Merge remote-tracking branch 'youam/master' into merge
* youam/master:
define used variable, as we're now using strict
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Uli Martens [Thu, 29 Mar 2012 05:24:33 +0000 (07:24 +0200)]
Merge branch 'master' of http://ftp-master.debian.org/git/dak
Uli Martens [Thu, 29 Mar 2012 05:23:56 +0000 (07:23 +0200)]
define used variable, as we're now using strict
Joerg Jaspert [Wed, 28 Mar 2012 19:32:47 +0000 (21:32 +0200)]
Merge remote-tracking branch 'youam/master' into merge
* youam/master:
warn on read errors in update-ftpstats, don't die
handle compressed files transparently
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Uli Martens [Wed, 28 Mar 2012 14:26:36 +0000 (16:26 +0200)]
warn on read errors in update-ftpstats, don't die
Uli Martens [Wed, 28 Mar 2012 09:22:12 +0000 (11:22 +0200)]
handle compressed files transparently
Mark Hymers [Mon, 26 Mar 2012 11:25:06 +0000 (11:25 +0000)]
Fix win32loader byhand not to update all hardlinks
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Mon, 26 Mar 2012 06:05:34 +0000 (08:05 +0200)]
Add stable back to the suite block, thanks Adam
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 25 Mar 2012 22:01:47 +0000 (00:01 +0200)]
woops, more oldstable going away
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 25 Mar 2012 09:16:04 +0000 (11:16 +0200)]
remove lenny
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 24 Mar 2012 17:04:14 +0000 (18:04 +0100)]
buildd add keys
ignore the gpg error message, redirecting to dev/null. can appear if we have a new arch/buildd, then its a key-not-found complaint, which we dont care about. and we also care nothing about any other error it might give us here, so off it goes
also log if we have too many keys
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 22 Mar 2012 22:05:50 +0000 (23:05 +0100)]
minimal change to correctly publish auto-accepted security stuff even without an extra dsa OR a simultaneous event in the unchecked queue
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Mon, 19 Mar 2012 20:21:30 +0000 (21:21 +0100)]
fix reading $HOME/etc/dak/dak.conf
Previously the default_config would get loaded twice if $HOME/etc/dak/dak.conf
was found.
Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Torsten Werner [Mon, 19 Mar 2012 20:11:38 +0000 (21:11 +0100)]
Ignore 'Operation not permitted' error.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Sat, 17 Mar 2012 15:59:16 +0000 (16:59 +0100)]
Merge remote-tracking branch 'drkranz/lintian' into merge
* drkranz/lintian:
Re-enable source-contains-waf-binary now that #661561 is fixed.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 17 Mar 2012 15:56:19 +0000 (16:56 +0100)]
Allow squeeze-backports for dm
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sat, 17 Mar 2012 11:58:34 +0000 (11:58 +0000)]
Re-enable source-contains-waf-binary now that #661561 is fixed.
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Fri, 16 Mar 2012 06:54:46 +0000 (07:54 +0100)]
might help to teach dqueued about the dm keyring too
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 11 Mar 2012 15:06:45 +0000 (16:06 +0100)]
that should also shutup the html validation foo
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 11 Mar 2012 14:58:52 +0000 (15:58 +0100)]
move a closing </span>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 11 Mar 2012 11:56:41 +0000 (12:56 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge
* ansgar/description-md5:
generate_translations: do not include some descriptions more than once
Also make generate_translations work with PostgreSQL 9.1.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sun, 11 Mar 2012 11:25:05 +0000 (11:25 +0000)]
generate_translations: do not include some descriptions more than once
By no longer using s.source in the GROUP BY clause, identical
descriptions for binary packages built by more than one source
no longer appear multiple times in Translation-en.
Bug: http://bugs.debian.org/660543
Ansgar Burchardt [Sun, 11 Mar 2012 11:14:18 +0000 (11:14 +0000)]
Also make generate_translations work with PostgreSQL 9.1.
Joerg Jaspert [Sat, 10 Mar 2012 12:53:10 +0000 (13:53 +0100)]
Merge remote-tracking branch 'ansgar/pu/postgresql-9.1' into merge
* ansgar/pu/postgresql-9.1:
Make generate-packages-sources2 work correctly with PostgreSQL 9.1.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sat, 10 Mar 2012 12:35:26 +0000 (12:35 +0000)]
Make generate-packages-sources2 work correctly with PostgreSQL 9.1.
Joerg Jaspert [Sat, 10 Mar 2012 12:34:24 +0000 (13:34 +0100)]
Merge remote-tracking branch 'drkranz/q-r' into merge
* drkranz/q-r:
Add link to relevant PTS page for binary-NEW packages
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sat, 10 Mar 2012 12:32:33 +0000 (12:32 +0000)]
Add link to relevant PTS page for binary-NEW packages
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sat, 10 Mar 2012 11:53:23 +0000 (12:53 +0100)]
Merge branch 'master' into merge
* master:
log suitename only
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 10 Mar 2012 10:23:06 +0000 (11:23 +0100)]
log suitename only
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 22:14:27 +0000 (23:14 +0100)]
Merge remote-tracking branch 'drkranz/misc' into merge
* drkranz/misc:
Fix variable name in parse_checksum function (Closes: #658525)
Display changes in ACCEPTED mails (Closes: #261096)
When rejecting packages, make .changes files world readable (Closes: #156876)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 22:14:27 +0000 (23:14 +0100)]
Merge remote-tracking branch 'drkranz/misc' into merge
* drkranz/misc:
Fix variable name in parse_checksum function (Closes: #658525)
Display changes in ACCEPTED mails (Closes: #261096)
When rejecting packages, make .changes files world readable (Closes: #156876)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 4 Mar 2012 19:58:23 +0000 (19:58 +0000)]
Fix variable name in parse_checksum function (Closes: #658525)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 4 Mar 2012 19:37:19 +0000 (19:37 +0000)]
Display changes in ACCEPTED mails (Closes: #261096)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 4 Mar 2012 19:31:53 +0000 (19:31 +0000)]
When rejecting packages, make .changes files world readable (Closes: #156876)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 10:37:33 +0000 (11:37 +0100)]
do the i18n export in a way that we dont need to change it with every release, let it fetch from db
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 10:35:47 +0000 (11:35 +0100)]
removed unused lines
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 10:22:58 +0000 (11:22 +0100)]
Merge remote-tracking branch 'drkranz/queuereport' into merge
* drkranz/queuereport:
Fix sponsor email handling in new.822 (Closes: #662024)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 4 Mar 2012 10:19:41 +0000 (10:19 +0000)]
Fix sponsor email handling in new.822 (Closes: #662024)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 09:41:09 +0000 (10:41 +0100)]
Merge remote-tracking branch 'drkranz/queued' into merge
* drkranz/queued:
Use GPG format in queued README (Closes: #624437)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 4 Mar 2012 09:38:52 +0000 (09:38 +0000)]
Use GPG format in queued README (Closes: #624437)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 09:16:23 +0000 (10:16 +0100)]
Merge remote-tracking branch 'drkranz/lintian' into merge
* drkranz/lintian:
Disable source-contains-waf-binary tag until #661561 is fixed
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 4 Mar 2012 09:12:07 +0000 (09:12 +0000)]
Disable source-contains-waf-binary tag until #661561 is fixed
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 4 Mar 2012 09:08:50 +0000 (10:08 +0100)]
exclude the pdiff files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Mar 2012 21:30:43 +0000 (22:30 +0100)]
make args a part of stagefile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Mar 2012 18:40:09 +0000 (19:40 +0100)]
add some more logging to c-s
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Mar 2012 17:34:18 +0000 (18:34 +0100)]
And also catch double-sign-edit-failure-sign-whatever files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Mar 2012 17:24:52 +0000 (18:24 +0100)]
forget a comment, break the scripts. no more
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Mar 2012 16:49:27 +0000 (17:49 +0100)]
remove some todo
Signed-off-by: Joerg Jaspert <joerg@debian.org>
gregor herrmann [Fri, 11 Nov 2011 00:11:19 +0000 (01:11 +0100)]
Add package names to title for items.
Joerg Jaspert [Sat, 3 Mar 2012 14:56:03 +0000 (15:56 +0100)]
only use .bz2 files in Index
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Mar 2012 14:51:23 +0000 (15:51 +0100)]
shutup
Signed-off-by: Joerg Jaspert <joerg@debian.org>