Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ba3ca4d092 
							
						 
					 
					
						
						
							
							britney.conf: Bump autopkgtest regression deadline by 2 days  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-10-14 06:23:22 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9564b1b6d6 
							
						 
					 
					
						
						
							
							britney.conf: Bump autopkgtest regression deadline by 2 days  
						
						
						
						
					 
					
						2018-10-08 05:22:22 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							edfe40d69c 
							
						 
					 
					
						
						
							
							Fix and re-add a test  
						
						... 
						
						
						
						Thanks: Paul Gevers <elbrus@debian.org>
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-10-03 05:35:48 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							712b618ee8 
							
						 
					 
					
						
						
							
							tests: Comment out test requiring "do_test" function  
						
						... 
						
						
						
						It does not exist in the Debian version (yet?).
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-10-01 19:48:07 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							99a35a2986 
							
						 
					 
					
						
						
							
							autopkgtest.py: Update previous commit to match recent changes  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-10-01 19:46:43 +00:00 
						 
				 
			
				
					
						
							
							
								Iain Lane 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c09a229dc9 
							
						 
					 
					
						
						
							
							autopkgtest: Run gcc-n's testuite, if it has one  
						
						
						
						
					 
					
						2018-10-01 19:22:29 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7fd15eab4f 
							
						 
					 
					
						
						
							
							britney: Use chain rather then duplicate statement  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 16:31:21 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e279eabf0a 
							
						 
					 
					
						
						
							
							britney.py: Remove duplicated variable  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 16:03:02 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f561de89d0 
							
						 
					 
					
						
						
							
							britney.py: Remove an unnecessary level of indentation  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:57:07 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							880a614b2b 
							
						 
					 
					
						
						
							
							britney: Extract a find_smooth_updateable_binaries function  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:57:06 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7d7a42153d 
							
						 
					 
					
						
						
							
							britney.py: Simply a loop in should_upgrade_src  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:39 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4931fb1b2 
							
						 
					 
					
						
						
							
							solver: Move a common variable out of an if  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:38 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1e46965924 
							
						 
					 
					
						
						
							
							inst/builder.py: Split function in three to reduce indentation levels  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:37 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd5211d55a 
							
						 
					 
					
						
						
							
							inst-tester: Add missing element to a set  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:36 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							55dd190fa6 
							
						 
					 
					
						
						
							
							inst-tester: Make "check" a list  
						
						... 
						
						
						
						Should be slightly cheaper (O(1)) than using a set.
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:35 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd1f384012 
							
						 
					 
					
						
						
							
							inst-tester: Remove obsolete "safe-set" optimization  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:34 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							95b945d2b3 
							
						 
					 
					
						
						
							
							inst-tester: Remove obsolete optimization  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:34 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0690a85fe0 
							
						 
					 
					
						
						
							
							excuse: Avoid some unnecessary throw-away tuples  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:33 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd1a0ea000 
							
						 
					 
					
						
						
							
							excuse: Fix some minor style/pep8 issues  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:32 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							41f4b43f2c 
							
						 
					 
					
						
						
							
							excuse.p: Refactor some duplicated code  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:31 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eb64347eee 
							
						 
					 
					
						
						
							
							.codeclimate.yml: Update thresholds for maintainability  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 12:19:30 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7c7177a9fd 
							
						 
					 
					
						
						
							
							britney.conf: Bump autopkgtest regression deadline by 2 days  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-09-30 07:10:21 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Gevers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18633e275c 
							
						 
					 
					
						
						
							
							autopkgtest: figure out which packages from unstable are needed  
						
						... 
						
						
						
						Currently autopkgtest tries to install our trigger from unstable and the rest
from testing. If that fails, than autopkgtest has a fall-back to allow all
packages from unstable to be installed. This has two severe issues:
1) the version of the test and the package it came from may be out-of-sync
2) too much from unstable may be installed, even stuff that should not/is not
allowed to migrate as it breaks stuff.
Make sure that test depends also get added to triggers if they are broken.
E.g. imagine the following scenario: trigger X changes (breaks) the output
generated by Y. Package Z has Y in the test dependencies and compares the
output in the autopkgtest. We want to have the opportunity that a new version
is automatically fixing the situation.
Two use cases are currently unsupported: needs-build (autopkgtest restriction)
and test dependencies generated by autodep8. 
						
						
					 
					
						2018-09-05 21:37:23 +02:00 
						 
				 
			
				
					
						
							
							
								Paul Gevers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							713b98ad6b 
							
						 
					 
					
						
						
							
							inst_tester: add is_pkg_in_testing  
						
						
						
						
					 
					
						2018-09-05 21:27:41 +02:00 
						 
				 
			
				
					
						
							
							
								Paul Gevers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20a64cadef 
							
						 
					 
					
						
						
							
							Process space separated triggers individually  
						
						
						
						
					 
					
						2018-08-30 16:11:24 +02:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							b6888c2716 
							
						 
					 
					
						
						
							
							test-builder: Avoid allocating empty throw-away lists on empty relations  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 14:38:36 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							373f7f51f3 
							
						 
					 
					
						
						
							
							inst-builder: Avoid some hash-look ups by doing them early  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 14:02:29 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							35add7cb26 
							
						 
					 
					
						
						
							
							Move loop-invariant out of loop  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 13:50:22 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							02001d4d4f 
							
						 
					 
					
						
						
							
							inst-builder: Loop over values instead of keys + hash-lookup  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 13:18:43 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							0446ead9e8 
							
						 
					 
					
						
						
							
							inst-builder: Replace RelationBuilder with a set_relations method  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 13:06:48 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							ab6b2ef953 
							
						 
					 
					
						
						
							
							inst-builder: Refactor to bulk adding dependency clauses  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 12:47:11 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							bc1d3afa38 
							
						 
					 
					
						
						
							
							inst-builder: Make add_breaks a bulk call  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 12:33:09 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							6f97e36477 
							
						 
					 
					
						
						
							
							inst-builder: Split relation loop and optimize conflicts  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 12:25:20 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							6a3d100b92 
							
						 
					 
					
						
						
							
							Fix error format string error in AssertionError  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 12:23:35 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							fc834624fc 
							
						 
					 
					
						
						
							
							Avoid some unnecessary hash look ups  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-12 08:37:07 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							74c728bf91 
							
						 
					 
					
						
						
							
							Make the tab-completer suite agnostic  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-09 22:59:19 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							208c3c2e90 
							
						 
					 
					
						
						
							
							britney: Use direct and indirect affected packages for nuninst checks  
						
						... 
						
						
						
						Previously, we split affected into a "reverse relations with a
dependency on the migrated/change package" set and a set of "the
rest".  With this commit we change the sets into a set of packages
with a direct relation on the migrated/changed package and the full
set of all affected.
The change has no effect on Britney's results as the first set is only
used as an optimization to reject some items faster.
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-09 17:46:31 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							0d5c4a24c4 
							
						 
					 
					
						
						
							
							Handle Build-Depends-Indep in excuses  
						
						... 
						
						
						
						Admittedly, no policy adds them yet so this is currently no-op code.
However, future commits can start to rely on this infrastructure code.
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-08 16:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							1623828a48 
							
						 
					 
					
						
						
							
							SourcePackage: Add field for Build-Depends-Indep  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-08 16:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							8753649e54 
							
						 
					 
					
						
						
							
							Replace a for-loop with any()  
						
						
						
						
					 
					
						2018-08-08 16:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							70947f4c21 
							
						 
					 
					
						
						
							
							Use excuses_suffix instead of name for items  
						
						... 
						
						
						
						At the moment, the two are identical, but they are not intended to
remain identical (i.e. the name should eventually become the full
suite name).
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-07 20:43:48 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							1d45b2a3b2 
							
						 
					 
					
						
						
							
							Move autopkgtest specific field to Autopkgtest policy  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-07 19:28:25 +00:00 
						 
				 
			
				
					
						
							
							
								Mathieu Trudel-Lapierre 
							
						 
					 
					
						
						
						
						
							
						
						
							8d2cabd914 
							
						 
					 
					
						
						
							
							Add 'unsatisifiable dependencies' to YAML excuses  
						
						... 
						
						
						
						Cherry-Pick: 80bf9060de6b7a7fe21f10da90f0dcc15b96ac1c
Cherry-Pick: f32907aceab7bdf37856ceef3122149c046f0ee1
Cherry-Pick: 9ef496177f86b18d9f910da1360dd773b82f1fb7
Cherry-Pick: b16530a37df93851fda35db016775056a6b0c218
Signed-off-by: Niels Thykier <niels@thykier.net>
Flatten the defaultdict(set) for unsat_deps into a standard dict for output 
						
						
					 
					
						2018-08-07 18:55:57 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							3e1da36331 
							
						 
					 
					
						
						
							
							excuses: Correct source field in YAML excuses  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-07 18:29:39 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Gevers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0868962ee3 
							
						 
					 
					
						
						
							
							autopkgtest: Ignore triggers without a forward slash  
						
						... 
						
						
						
						They are manual triggers in the name of britney, most likely by mistake (but
those happen).
Closes : #905600  
						
						
					 
					
						2018-08-07 08:47:25 +02:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							f67fc00292 
							
						 
					 
					
						
						
							
							AgePolicy: Move self.options usage to constructor/initialization  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-05 07:22:04 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							8e9e099a67 
							
						 
					 
					
						
						
							
							BasePolicy: Make an easy accessor for state_dir  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-05 07:03:44 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							b0e193d955 
							
						 
					 
					
						
						
							
							Add missing @property - otherwise "verdict.is_blocked" is always True  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-05 06:56:53 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							36608194f8 
							
						 
					 
					
						
						
							
							test_policy: Add additional tests of AgePolicy  
						
						... 
						
						
						
						Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-04 20:09:03 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Thykier 
							
						 
					 
					
						
						
						
						
							
						
						
							e88f4d2e5e 
							
						 
					 
					
						
						
							
							AgePolicy: Explicitly ignore comment lines in data files  
						
						... 
						
						
						
						Currently not useful, but it enables us to write comment lines in the
test data files.
Signed-off-by: Niels Thykier <niels@thykier.net> 
						
						
					 
					
						2018-08-04 20:09:03 +00:00