365 Commits

Author SHA1 Message Date
Colin Watson
9b75fcf037 Fix unsatisfied-deps handling of packages without dependencies. 2014-03-05 16:14:48 +00:00
Colin Watson
5974b25d99 Fix inverted logic in should_upgrade_srcarch. 2014-03-05 15:12:45 +00:00
Colin Watson
62bf1130f7 Take a different approach to excluding packages with unsatisfiable dependencies (see https://code.launchpad.net/~pitti/britney/britney2-autopkgtest-fixes/+merge/208657). 2014-03-05 15:03:45 +00:00
Martin Pitt
3d95702a59 Block packages with unsatisfiable depends and don't run tests for them
In excuse_unsat_deps(), mark unsatisfiable dependencies not just in the HTML,
but also in the invalid_deps list. If we have any of those in
should_upgrade_src(), block the package and don't run the autopkgtest. This
avoid running tests for known-uninstallable packages, which just leads to
guaranteed failures, manual intervention of re-running tests after it becomes
installable, and spamming maintainers with a FAIL/PASS notification.
2014-02-27 18:40:50 +01:00
Colin Watson
37072e9c5e merge lp:~mathieu-tl/britney/whitespace 2013-11-26 10:48:17 +00:00
Iain Lane
960086e2ac Use name rather than IP for private jenkins URLs 2013-11-14 15:37:50 +00:00
Colin Watson
d50199e768 fix off-by-one error 2013-10-31 11:34:24 -07:00
Colin Watson
e997720d3b Fix undefined variable in read_blocks. 2013-10-31 11:31:21 -07:00
Colin Watson
d2b20a8d03 Allow blocking uploads by way of bugs with the block-proposed tag set. 2013-10-31 10:33:04 -07:00
Mathieu Trudel-Lapierre
759edbe163 Update whitespace; make the output easier to read
FAILED/SUCCESS lines would be separated by a whitespace from the list
of architectures, but not itself followed by whitespace. This is slightly
confusing, as one could interpret it as being a heading for the following
block of tested packages, rather that the final result of the previous
block.
2013-10-30 17:29:11 -07:00
Jean-Baptiste Lallement
7615eb8d3f * Remove packages from the request file that are not valid for testing i.e excuse.run_autopkgtest = False. 2013-10-29 18:09:21 +01:00
Colin Watson
2f1c0d5b1d Render Launchpad links for binary-only entries correctly. 2013-10-05 00:51:26 +01:00
Colin Watson
052feb339e Ignore previously Architecture: all binaries not (yet?) in unstable when unstable is a partial suite. 2013-10-01 14:53:47 +01:00
Colin Watson
eebdf0fffd Revert some changes against Debian that are no longer needed now that we have upload dates. 2013-09-25 15:00:17 +01:00
Colin Watson
b723fec4de Show out-of-date excuses even for very recent uploads (if we have upload dates). 2013-09-25 14:12:27 +01:00
Colin Watson
1549b6bb6c Change date format to seconds-since-epoch. 2013-09-25 14:09:34 +01:00
Colin Watson
3b0a0e665a merge trunk 2013-09-25 12:54:05 +01:00
Colin Watson
1c14659b6b import MULTIARCH from consts 2013-09-24 15:31:14 +01:00
Colin Watson
3f0fc5a940 merge trunk up to 2013-07-10 2013-09-24 14:53:54 +01:00
Colin Watson
9e2da658b0 merge trunk up to 2013-07-05 2013-09-24 14:35:35 +01:00
Colin Watson
c8bfb275ee merge trunk up to 2013-03-16 2013-09-24 14:02:26 +01:00
Colin Watson
7e26d39354 merge trunk up to 2013-01-18 2013-09-24 13:58:05 +01:00
Adam D. Barratt
e643daad28 Apply various typo and clarity fixes
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-18 20:40:00 +00:00
Adam D. Barratt
a881298103 Remove the C library placeholder for "pre-depends"
We stopped populating the element with real data some time ago, it's
time to drop it entirely.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-18 10:00:04 +00:00
Colin Watson
4576882338 Support :any architecture qualifiers for multiarch
Multiarch adds a Depends: foo:any syntax, permitted only if the
target of the dependency is "Multi-Arch: allowed".  This has
been supported by dpkg and apt for some time and is now safe to
use in unstable.

[Adam D. Barratt: adjusted to use consts.py]

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-17 20:07:38 +00:00
Colin Watson
3f6eabe34f Add support for :any architecture qualifiers, for multiarch. 2013-09-16 15:02:45 +01:00
Colin Watson
161b1613e0 Rename fucked_arches to outofsync_arches, to avoid getting in trouble when bringing up new commercially-supported architectures. 2013-09-09 12:37:52 +01:00
Adam D. Barratt
54b641945d Update copyright
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-07 18:21:00 +00:00
Adam D. Barratt
f1291b7463 Rename make_hintitem() to make_migrationitem()
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-07 18:19:17 +00:00
Adam D. Barratt
e75c4a4815 Make MigrationItems versionned by default
As HintItem is now redundant, also replace it with a new class -
UnversionnedMigrationItem - and migrate users of the classes to use
the new versions.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-07 17:01:58 +00:00
Adam D. Barratt
89bc7c8d61 Replace uses of MigrationItem with HintItem
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-07 16:59:06 +00:00
Niels Thykier
09e9e16431 Reduce the number of "used-once" lists
Where possible, avoid creating a list only to discard immediately
afterwards.  Example:

"""
  for x in sorted([x for x in ...]):
      ...
"""

Creates a list, passes it to sorted, which generates a new list and
sorts that copy.  Since sorted accepts an iterable, we can avoid the
"inner" list and just pass it a generator expression instead.

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-08-11 15:23:45 +02:00
Colin Watson
597db6af41 Apparently "+" is encoded as "-" in Jenkins autopkgtest URLs. 2013-08-02 10:09:24 +01:00
Colin Watson
abcb009703 Link to wiki documentation. 2013-07-26 15:19:14 +01:00
Niels Thykier
c554bffee4 Move newlyuninst to britney_util
Also, renamed it for consistency with the other X_uninst functions.

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
8c911748c8 Move eval_uninst to britney_util
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
a2d63aed07 Move write_heidi to britney_util
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
82771fb4ee Move {read,write}_nuninst to britney_util
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
d959541722 Move get_reverse_tree into britney_util
Rename get_reverse_tree and move it to britney_util with slightly
different arguments.

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
d3401d4829 Move the package loop into register_reverses
By moving the package loop inside register_reverses, it will be
invoked a lot less (reducing the overhead of invoking functions).

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
9dc6d1415e Move register_reverses to britney_util
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
88e8ff6005 Add container filters and use it to refactor get_reverse_tree
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:04 +02:00
Niels Thykier
11fab49365 Merge get_reverse_tree and get_full_tree
Beside some "minor differences" they were computing the same "tree"
(read: "graph"), so merge them into one (get_reverse_tree) and
properly document return value and special cases.

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:03 +02:00
Niels Thykier
5026e9ee6e Move old_libraries_format to britney_util
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:03 +02:00
Niels Thykier
568d5f809c Move "undo_changes" to britney_util
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:03 +02:00
Niels Thykier
df47518dae Move "constants" to a new consts module
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:03 +02:00
Niels Thykier
9e14cb520c Move same_source to separate module
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:03 +02:00
Niels Thykier
b505a5a357 Remove unused write_bugs
The method was last invoked in 2008 (commit 3dc3be1c7).

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-10 20:01:03 +02:00
Niels Thykier
1942e00ee1 britney: Do not consider "smooth-updates-only" interesting
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-09 18:11:22 +02:00
Niels Thykier
2477033786 britney: Refactor arguments of method
Rewrite the arguments of find_upgraded_binaries to not use an instance
of MigrationItem.  We want to call it at a time where we have not
created MigrationItems yet.

Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-09 18:11:22 +02:00