]> git.decadent.org.uk Git - dak.git/log
dak.git
9 years agoSplit out logic to parse Built-Using field.
Ansgar Burchardt [Thu, 13 Aug 2015 11:30:09 +0000 (13:30 +0200)]
Split out logic to parse Built-Using field.

9 years agoUse changes table to include historic data.
Ansgar Burchardt [Fri, 14 Aug 2015 09:10:47 +0000 (11:10 +0200)]
Use changes table to include historic data.

Requested-by: Enrico Zini <enrico@enricozini.org>
9 years agoAdd install_source_to_archive method
Ansgar Burchardt [Thu, 13 Aug 2015 09:43:55 +0000 (11:43 +0200)]
Add install_source_to_archive method

This method install the source into an archive without adding it to
any suite. It is intended to be used to import extra source packages
(i.e. those referenced only by Built-Using).

9 years agoHashedFile: Allow to use a different filename for input
Ansgar Burchardt [Wed, 12 Aug 2015 13:30:03 +0000 (15:30 +0200)]
HashedFile: Allow to use a different filename for input

This allows retrieving files using a temporary name, but to install
them into the archive using their proper name.

9 years agoDo not require all attributes to match
Ansgar Burchardt [Thu, 13 Aug 2015 09:33:53 +0000 (11:33 +0200)]
Do not require all attributes to match

If the same source or binary package is uploaded again, the
fingerprint and changed_by might be different if some other person
signed the new .changes (or if there is no .changes). We still want to
be able to import such packages without error, retaining the
attributes already present.

9 years agoAdd helper functions to decompress files.
Ansgar Burchardt [Tue, 11 Aug 2015 19:38:48 +0000 (21:38 +0200)]
Add helper functions to decompress files.

9 years agoGeneralize parse_file_list to allow handling Release files
Ansgar Burchardt [Tue, 11 Aug 2015 19:36:43 +0000 (21:36 +0200)]
Generalize parse_file_list to allow handling Release files

Release files use different field names for checksum fields and the
set of allowed filenames is larger (slashes are allowed). This patch
allows switching the regexp used to validate filenames and the fields
for checksums to allow using parse_file_list not only for .dsc files,
but also for Release files.

9 years agoAllow checking files given an open file handle.
Ansgar Burchardt [Tue, 11 Aug 2015 19:36:19 +0000 (21:36 +0200)]
Allow checking files given an open file handle.

9 years agoFix typo in error message.
Ansgar Burchardt [Tue, 11 Aug 2015 19:35:44 +0000 (21:35 +0200)]
Fix typo in error message.

9 years agoAdd regexp for safe filenames, including slashes.
Ansgar Burchardt [Tue, 11 Aug 2015 19:35:19 +0000 (21:35 +0200)]
Add regexp for safe filenames, including slashes.

9 years agoAdd missing step for NEW processing on sec-master.
Ansgar Burchardt [Wed, 12 Aug 2015 07:58:45 +0000 (09:58 +0200)]
Add missing step for NEW processing on sec-master.

9 years agoFix handling of mapped components in process-new
Ansgar Burchardt [Wed, 12 Aug 2015 07:58:02 +0000 (09:58 +0200)]
Fix handling of mapped components in process-new

I really would like to get rid of mapped components on security-master...

9 years agoArchiveTransaction: add flush() method.
Ansgar Burchardt [Tue, 11 Aug 2015 09:49:02 +0000 (11:49 +0200)]
ArchiveTransaction: add flush() method.

9 years agosetup/README: do not create system users or groups
Ansgar Burchardt [Tue, 11 Aug 2015 09:32:54 +0000 (11:32 +0200)]
setup/README: do not create system users or groups

9 years agosetup/README: Update PostgreSQL version number.
Ansgar Burchardt [Tue, 11 Aug 2015 09:30:49 +0000 (11:30 +0200)]
setup/README: Update PostgreSQL version number.

9 years agoqueued: remove buildd-alpha-keyring.gpg
Ansgar Burchardt [Tue, 11 Aug 2015 09:29:26 +0000 (11:29 +0200)]
queued: remove buildd-alpha-keyring.gpg

9 years agoqueued: add buildd-all-keyring.gpg
Ansgar Burchardt [Tue, 11 Aug 2015 09:27:29 +0000 (11:27 +0200)]
queued: add buildd-all-keyring.gpg

9 years agoUse "find ... -delete" instead of "find ... | xargs rm"
Ansgar Burchardt [Mon, 27 Jul 2015 08:03:41 +0000 (10:03 +0200)]
Use "find ... -delete" instead of "find ... | xargs rm"

9 years agoUse ${file%.gz} instead of calling basename.
Ansgar Burchardt [Mon, 27 Jul 2015 08:01:40 +0000 (10:01 +0200)]
Use ${file%.gz} instead of calling basename.

9 years agoSet 'nullglob' to ignore nonmatching patterns
Ansgar Burchardt [Mon, 27 Jul 2015 07:58:46 +0000 (09:58 +0200)]
Set 'nullglob' to ignore nonmatching patterns

For example override.stretch.extra.* does not exist. Not ignoring this
pattern results in an output file containing an asterisk.

9 years agoMerge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Wed, 1 Jul 2015 08:08:32 +0000 (10:08 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'

9 years agoMention machine readable list of DELAYED packages (Closes: #748181)
Luca Falavigna [Wed, 1 Jul 2015 08:04:24 +0000 (08:04 +0000)]
Mention machine readable list of DELAYED packages (Closes: #748181)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
9 years agoShorten header for Contents indices
Ansgar Burchardt [Fri, 26 Jun 2015 07:02:45 +0000 (09:02 +0200)]
Shorten header for Contents indices

Do not mention details like how often Contents indices are updates as
these depend on the suite and have changed.

Also remove the description on how to use grep to search these files.

9 years agoMerge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Thu, 25 Jun 2015 08:42:53 +0000 (10:42 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'

9 years agoRestore exporting of NEWS.Debian file
Luca Falavigna [Thu, 25 Jun 2015 08:39:54 +0000 (08:39 +0000)]
Restore exporting of NEWS.Debian file

9 years agoMerge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Wed, 24 Jun 2015 18:23:57 +0000 (20:23 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'

9 years agoAllow to export NEWS file (Closes: #709444)
Luca Falavigna [Wed, 24 Jun 2015 17:32:04 +0000 (17:32 +0000)]
Allow to export NEWS file (Closes: #709444)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
9 years agoAdd an options line for the web/ dir
Joerg Jaspert [Tue, 23 Jun 2015 05:57:45 +0000 (07:57 +0200)]
Add an options line for the web/ dir

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Sun, 21 Jun 2015 20:30:34 +0000 (22:30 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  dak/rm: Pass a list of bugs to remove() as the correct parameter

9 years agodak/rm: Pass a list of bugs to remove() as the correct parameter
Niels Thykier [Sun, 21 Jun 2015 20:27:53 +0000 (22:27 +0200)]
dak/rm: Pass a list of bugs to remove() as the correct parameter

Thanks to Adam D. Barratt for spotting the mistake.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Ansgar Burchardt [Sun, 21 Jun 2015 19:20:57 +0000 (21:20 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

9 years agodak/rm: Pass a list of bugs to remove() rather than a string
Niels Thykier [Sun, 21 Jun 2015 17:52:28 +0000 (19:52 +0200)]
dak/rm: Pass a list of bugs to remove() rather than a string

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Thu, 18 Jun 2015 20:16:43 +0000 (22:16 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  daklib/rm: Fix boolean inversion on partial removals

9 years agodaklib/rm: Fix boolean inversion on partial removals
Niels Thykier [Thu, 18 Jun 2015 15:13:40 +0000 (17:13 +0200)]
daklib/rm: Fix boolean inversion on partial removals

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoImplicitly release lock when closing file
Ansgar Burchardt [Wed, 17 Jun 2015 07:57:01 +0000 (09:57 +0200)]
Implicitly release lock when closing file

Letting Python close the file will also release the lock after having
flushed all buffers.

Reported-by: Niels Thykier <niels@thykier.net>
9 years agolintian.tags: add empty-binary-package
Jakub Wilk [Wed, 17 Jun 2015 14:12:43 +0000 (16:12 +0200)]
lintian.tags: add empty-binary-package

Signed-off-by: Jakub Wilk <jwilk@debian.org>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Wed, 17 Jun 2015 21:07:18 +0000 (23:07 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  daklib/rm: Components can be None even when partial is True

9 years agodaklib/rm: Components can be None even when partial is True
Niels Thykier [Wed, 17 Jun 2015 21:05:24 +0000 (23:05 +0200)]
daklib/rm: Components can be None even when partial is True

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Wed, 17 Jun 2015 21:03:41 +0000 (23:03 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  auto-decruft: Remember to commit database changes

9 years agoauto-decruft: Remember to commit database changes
Niels Thykier [Wed, 17 Jun 2015 21:00:57 +0000 (23:00 +0200)]
auto-decruft: Remember to commit database changes

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Wed, 17 Jun 2015 20:54:52 +0000 (22:54 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  auto-decruft: Use an id rather than an ORM object in SQL

9 years agoauto-decruft: Use an id rather than an ORM object in SQL
Niels Thykier [Wed, 17 Jun 2015 20:19:46 +0000 (22:19 +0200)]
auto-decruft: Use an id rather than an ORM object in SQL

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoLet auto-decruft (hopefully not) destroy the archive
Joerg Jaspert [Mon, 15 Jun 2015 20:20:18 +0000 (22:20 +0200)]
Let auto-decruft (hopefully not) destroy the archive

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoChange indices for {src,bin}_contents
Ansgar Burchardt [Tue, 16 Jun 2015 22:19:14 +0000 (00:19 +0200)]
Change indices for {src,bin}_contents

9 years agodaklib/ls.py: manage our own database session
Ansgar Burchardt [Mon, 15 Jun 2015 18:53:02 +0000 (20:53 +0200)]
daklib/ls.py: manage our own database session

session_wrapper gets confused by generators: let "f" be a generator
making use of a database session:

    def wrapped_f():
      session = DBConn().session()
      try:
        return f(session)
      finally:
        session.close()

    for item in wrapped_f():
      do_something(item)

will leak database sessions as the implementation of "f" will only be
invoked from the for-loop. However at this time the "finally" block
closing the session has already run. SQLAlchemy will helpfully reopen
the session, but it will not be closed in the end.

9 years agodaklib/daklog.py: acquire an advisory lock when writing to file
Ansgar Burchardt [Sun, 14 Jun 2015 10:25:56 +0000 (12:25 +0200)]
daklib/daklog.py: acquire an advisory lock when writing to file

9 years agodaklib/rm.py: acquire an advisory lock when writing to file
Ansgar Burchardt [Sun, 14 Jun 2015 10:22:31 +0000 (12:22 +0200)]
daklib/rm.py: acquire an advisory lock when writing to file

9 years agols: Also search for codename.
Ansgar Burchardt [Sun, 14 Jun 2015 07:29:44 +0000 (09:29 +0200)]
ls: Also search for codename.

Bug: https://bugs.debian.org/788669

9 years agoAdd codename to package_list view
Ansgar Burchardt [Sun, 14 Jun 2015 07:29:14 +0000 (09:29 +0200)]
Add codename to package_list view

9 years agoautocruft: Report NVIU removals.
Ansgar Burchardt [Sat, 13 Jun 2015 13:00:17 +0000 (15:00 +0200)]
autocruft: Report NVIU removals.

9 years agoautodecruft: Make function look a bit nicer.
Ansgar Burchardt [Sat, 13 Jun 2015 12:56:04 +0000 (14:56 +0200)]
autodecruft: Make function look a bit nicer.

9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Ansgar Burchardt [Sat, 13 Jun 2015 12:53:28 +0000 (14:53 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

9 years agoauto-decruft: Disable short options for NVI
Niels Thykier [Sat, 13 Jun 2015 12:32:01 +0000 (14:32 +0200)]
auto-decruft: Disable short options for NVI

The short options were originally not intended to be used, but until
now I did not know how to disable the short options.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Fix and reduce two SQL statements
Niels Thykier [Sat, 13 Jun 2015 11:27:39 +0000 (13:27 +0200)]
auto-decruft: Fix and reduce two SQL statements

Thanks to Ansgar Burchardt for spotting these issues.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Merge groups with same name
Niels Thykier [Fri, 12 Jun 2015 14:46:10 +0000 (16:46 +0200)]
auto-decruft: Merge groups with same name

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Expand NVI in cmd line argument names
Niels Thykier [Fri, 12 Jun 2015 06:18:43 +0000 (08:18 +0200)]
auto-decruft: Expand NVI in cmd line argument names

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoRemove more unused code.
Ansgar Burchardt [Thu, 11 Jun 2015 22:56:36 +0000 (00:56 +0200)]
Remove more unused code.

9 years agoRemove unneeded import.
Ansgar Burchardt [Thu, 11 Jun 2015 22:50:04 +0000 (00:50 +0200)]
Remove unneeded import.

9 years agotypo: providors -> providers
Ansgar Burchardt [Thu, 11 Jun 2015 22:32:45 +0000 (00:32 +0200)]
typo: providors -> providers

9 years agoprocess_upload: Remove unused variables
Niels Thykier [Wed, 10 Jun 2015 06:11:27 +0000 (08:11 +0200)]
process_upload: Remove unused variables

Signed-off-by: Niels Thykier <niels@thykier.net>
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
9 years agoDon't pass "session" to process_it()
Ansgar Burchardt [Thu, 11 Jun 2015 22:29:20 +0000 (00:29 +0200)]
Don't pass "session" to process_it()

Reported-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Fix typo of "denoted"
Niels Thykier [Thu, 11 Jun 2015 21:28:52 +0000 (23:28 +0200)]
auto-decruft: Fix typo of "denoted"

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decrufter: Support NVIX removals
Niels Thykier [Thu, 11 Jun 2015 21:28:10 +0000 (23:28 +0200)]
auto-decrufter: Support NVIX removals

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Create a more helpful help/usage message
Niels Thykier [Thu, 11 Jun 2015 21:20:45 +0000 (23:20 +0200)]
auto-decruft: Create a more helpful help/usage message

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoRevert "ls: also accept codenames"
Ansgar Burchardt [Thu, 11 Jun 2015 19:27:07 +0000 (21:27 +0200)]
Revert "ls: also accept codenames"

This would need addition of the codename to the "package_list" view.

This reverts commit 87087596eaef30f9e2bfaa5908ffceadf7813a25.

9 years agols: also accept codenames
Ansgar Burchardt [Thu, 11 Jun 2015 19:17:43 +0000 (21:17 +0200)]
ls: also accept codenames

9 years agoRemove dak/generate_filelist.py
Ansgar Burchardt [Thu, 11 Jun 2015 19:16:09 +0000 (21:16 +0200)]
Remove dak/generate_filelist.py

Help! A zombie appeared!

9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Thu, 11 Jun 2015 12:49:41 +0000 (14:49 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  rm: Ensure con_components are not None

9 years agorm: Ensure con_components are not None
Niels Thykier [Thu, 11 Jun 2015 12:48:05 +0000 (14:48 +0200)]
rm: Ensure con_components are not None

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Thu, 11 Jun 2015 12:47:55 +0000 (14:47 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  rm: Only add component restriction if there is a component

9 years agorm: Only add component restriction if there is a component
Niels Thykier [Thu, 11 Jun 2015 12:46:05 +0000 (14:46 +0200)]
rm: Only add component restriction if there is a component

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft'
Joerg Jaspert [Thu, 11 Jun 2015 12:45:08 +0000 (14:45 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  daklib/rm: Use strings and not RowProxy as key

9 years agodaklib/rm: Use strings and not RowProxy as key
Niels Thykier [Thu, 11 Jun 2015 12:43:30 +0000 (14:43 +0200)]
daklib/rm: Use strings and not RowProxy as key

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft' into merge
Joerg Jaspert [Thu, 11 Jun 2015 12:20:19 +0000 (14:20 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft' into merge

* nthykier/auto-decruft:
  dak/rm: Fix typo in key name

9 years agodak/rm: Fix typo in key name
Niels Thykier [Thu, 11 Jun 2015 12:18:22 +0000 (14:18 +0200)]
dak/rm: Fix typo in key name

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoAdd autocruft function, calling (guess) auto_decruft
Joerg Jaspert [Thu, 11 Jun 2015 12:09:48 +0000 (14:09 +0200)]
Add autocruft function, calling (guess) auto_decruft

For now only with -n and then mail out what it thinks it would do.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoMerge remote-tracking branch 'nthykier/auto-decruft' into merge
Joerg Jaspert [Thu, 11 Jun 2015 12:03:32 +0000 (14:03 +0200)]
Merge remote-tracking branch 'nthykier/auto-decruft' into merge

* nthykier/auto-decruft:
  Rewrite auto-decruft to group removals
  daklib/rm: Add a fitting dak-quote
  auto-decruft: Batch check source-less cruft
  auto-decruft: Fix wording of removal message
  auto-decruft: Use bind variables
  auto_decruft: Fix typo
  utils: Use a set rather than list
  utils: Drop unused fields from database query
  utils: Avoid some throw away collections
  generate_filelist.py: Fix typo
  utils: Add a quiet=False parameter to check_reverse_depends
  Add dak auto-decruft command based on cruft-report
  Move two queries from cruft_report to daklib/cruft
  Extract a "remove" method from "dak rm"

9 years agoMerge branch 'master' into auto-decruft-passive
Niels Thykier [Thu, 11 Jun 2015 11:36:04 +0000 (13:36 +0200)]
Merge branch 'master' into auto-decruft-passive

Conflicts:
dak/generate_filelist.py

9 years agoRemove old implementation of generate-packages-sources
Ansgar Burchardt [Tue, 9 Jun 2015 19:18:56 +0000 (21:18 +0200)]
Remove old implementation of generate-packages-sources

This patch removes the old implementation of generate-packages-sources
that used apt-ftparchive instead of the metadata in the Postgres
database.

9 years agodaklib/queue.py: Remove unneeded imports.
Ansgar Burchardt [Mon, 8 Jun 2015 22:50:19 +0000 (00:50 +0200)]
daklib/queue.py: Remove unneeded imports.

9 years agoRemove obsolete daklib/holding.py.
Ansgar Burchardt [Mon, 8 Jun 2015 22:46:50 +0000 (00:46 +0200)]
Remove obsolete daklib/holding.py.

9 years agoRemove old database schema update scripts
Ansgar Burchardt [Mon, 8 Jun 2015 22:31:07 +0000 (00:31 +0200)]
Remove old database schema update scripts

Some very old schema update scripts make use of obsolete code and
would need to be updated to keep working. Just remove them instead.

9 years agoRewrite auto-decruft to group removals
Niels Thykier [Mon, 8 Jun 2015 06:24:13 +0000 (08:24 +0200)]
Rewrite auto-decruft to group removals

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agodaklib/rm: Add a fitting dak-quote
Niels Thykier [Sun, 7 Jun 2015 09:38:42 +0000 (11:38 +0200)]
daklib/rm: Add a fitting dak-quote

Which doubles as a fitting disclaimer too.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Batch check source-less cruft
Niels Thykier [Sun, 7 Jun 2015 10:46:09 +0000 (12:46 +0200)]
auto-decruft: Batch check source-less cruft

Add a ReverseDependencyChecker class for bulk testing breakage in
reverse dependencies and use it in the auto-decrufter.

At this point, disable the NBS removal - it will be re-added in the
next commit.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Fix wording of removal message
Niels Thykier [Sun, 7 Jun 2015 09:37:48 +0000 (11:37 +0200)]
auto-decruft: Fix wording of removal message

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto-decruft: Use bind variables
Niels Thykier [Sun, 7 Jun 2015 09:30:21 +0000 (11:30 +0200)]
auto-decruft: Use bind variables

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoauto_decruft: Fix typo
Niels Thykier [Sun, 7 Jun 2015 09:27:44 +0000 (11:27 +0200)]
auto_decruft: Fix typo

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoutils: Use a set rather than list
Niels Thykier [Sun, 7 Jun 2015 08:10:48 +0000 (10:10 +0200)]
utils: Use a set rather than list

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoutils: Drop unused fields from database query
Niels Thykier [Sun, 7 Jun 2015 07:38:10 +0000 (09:38 +0200)]
utils: Drop unused fields from database query

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoutils: Avoid some throw away collections
Niels Thykier [Sun, 7 Jun 2015 06:41:14 +0000 (08:41 +0200)]
utils: Avoid some throw away collections

Avoid creating collections that are thrown away after a single (or
even zero) uses.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agogenerate_filelist.py: Fix typo
Niels Thykier [Sun, 7 Jun 2015 10:09:02 +0000 (12:09 +0200)]
generate_filelist.py: Fix typo

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoUpdate, jessie 8.1
Joerg Jaspert [Sat, 6 Jun 2015 11:32:28 +0000 (13:32 +0200)]
Update, jessie 8.1

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoutils: Add a quiet=False parameter to check_reverse_depends
Niels Thykier [Sat, 6 Jun 2015 10:25:22 +0000 (12:25 +0200)]
utils: Add a quiet=False parameter to check_reverse_depends

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoAdd dak auto-decruft command based on cruft-report
Niels Thykier [Sat, 6 Jun 2015 09:41:35 +0000 (11:41 +0200)]
Add dak auto-decruft command based on cruft-report

The new auto-decruft command automatically removes:

 * sourceless binaries
 * NBS

When the removals can be done without breaking any reverse
dependencies.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoMove two queries from cruft_report to daklib/cruft
Niels Thykier [Sat, 6 Jun 2015 08:22:25 +0000 (10:22 +0200)]
Move two queries from cruft_report to daklib/cruft

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoExtract a "remove" method from "dak rm"
Niels Thykier [Sat, 6 Jun 2015 07:57:33 +0000 (09:57 +0200)]
Extract a "remove" method from "dak rm"

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agoRemove more obsolete code.
Ansgar Burchardt [Thu, 28 May 2015 21:48:17 +0000 (23:48 +0200)]
Remove more obsolete code.

9 years agoRemove obsolete code.
Ansgar Burchardt [Thu, 28 May 2015 21:15:12 +0000 (23:15 +0200)]
Remove obsolete code.

9 years agodakweb: add -a option for madison
Julien Cristau [Mon, 25 May 2015 14:41:36 +0000 (16:41 +0200)]
dakweb: add -a option for madison

Signed-off-by: Julien Cristau <jcristau@debian.org>