Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							aa556af89d 
							
						 
					 
					
						
						
							
							Use f-strings  
						
						... 
						
						
						
						pylint complains about C0209: Formatting a regular string which could be
a f-string (consider-using-f-string)
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com> 
						
						
					 
					
						2023-01-31 19:32:58 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							909d945af4 
							
						 
					 
					
						
						
							
							Replace deprecated optparse with argparse  
						
						... 
						
						
						
						Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com> 
						
						
					 
					
						2023-01-31 13:33:18 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							f6fde2e217 
							
						 
					 
					
						
						
							
							fix: Use lazy % formatting in logging functions  
						
						... 
						
						
						
						pylint complains about W1201: Use lazy % formatting in logging functions
(logging-not-lazy) and W1203: Use lazy % formatting in logging functions
(logging-fstring-interpolation).
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com> 
						
						
					 
					
						2023-01-31 11:13:07 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							b1bc7e1cdc 
							
						 
					 
					
						
						
							
							Address pylint complaints  
						
						... 
						
						
						
						Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com> 
						
						
					 
					
						2023-01-30 23:10:31 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							4e27045f49 
							
						 
					 
					
						
						
							
							style: Sort Python imports with isort  
						
						... 
						
						
						
						```
isort -l 99 --profile=black .
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com> 
						
						
					 
					
						2023-01-30 21:28:47 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							3354b526b5 
							
						 
					 
					
						
						
							
							style: Format Python code with black  
						
						... 
						
						
						
						```
PYTHON_SCRIPTS=$(grep -l -r '^#! */usr/bin/python3$' .)
black -C -l 99 . $PYTHON_SCRIPTS
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com> 
						
						
					 
					
						2023-01-30 19:45:36 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Streetman 
							
						 
					 
					
						
						
						
						
							
						
						
							0eeb93ee0c 
							
						 
					 
					
						
						
							
							logging: update ubuntutools.getLogger() to output to stdout/stderr correctly  
						
						... 
						
						
						
						Python logging by default sends all output to stderr, but that's not what
normal programs usually do and is not expected for these scripts.
Change the ubuntutools.getLogger() method to return a logger with handlers
correctly set up to send INFO level (or lower) logs to stdout and WARNING
level (or higher; technically INFO+1 level or higher) logs to stderr.
This results in normally logged output going to stdout and warnings/errors
going to stderr, as expected. 
						
						
					 
					
						2021-02-02 06:25:12 -05:00 
						 
				 
			
				
					
						
							
							
								Dan Streetman 
							
						 
					 
					
						
						
						
						
							
						
						
							90e8fe81e1 
							
						 
					 
					
						
						
							
							replace ubuntutools.logger with standard python logging  
						
						
						
						
					 
					
						2019-11-25 10:10:06 -05:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							76609fde49 
							
						 
					 
					
						
						
							
							Port sponsor-patch to Python 3  
						
						
						
						
					 
					
						2019-09-04 19:24:44 -03:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							cc7170eccb 
							
						 
					 
					
						
						
							
							Fix all flake8 issues  
						
						
						
						
					 
					
						2017-05-01 00:20:03 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							c2aa97dba2 
							
						 
					 
					
						
						
							
							Move devscripts.logger to ubuntutools.logger.  
						
						
						
						
					 
					
						2013-03-19 00:18:02 +01:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							30da459114 
							
						 
					 
					
						
						
							
							Check for dependencies that the package doesn't Depend on. Recommend  
						
						... 
						
						
						
						dput, lintian, patch, quilt. (LP: #846385 ) 
						
						
					 
					
						2012-02-15 16:10:43 +02:00 
						 
				 
			
				
					
						
							
							
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							cb225bd8f2 
							
						 
					 
					
						
						
							
							sponsor-patch, requestsync, syncpackage: Add a config variable for -k arguments  
						
						
						
						
					 
					
						2012-02-11 11:59:46 -08:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							1e126f74d1 
							
						 
					 
					
						
						
							
							sponsor-patch: More refactoring.  
						
						
						
						
					 
					
						2011-09-10 21:28:28 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							d52393da1b 
							
						 
					 
					
						
						
							
							sponsor-patch: Refactor code.  
						
						
						
						
					 
					
						2011-09-10 19:59:35 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							e8b3a18c45 
							
						 
					 
					
						
						
							
							Move suspicious-source and wrap-and-sort from ubuntu-dev-tools into devscripts.  
						
						
						
						
					 
					
						2011-05-23 23:41:00 +02:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							097fc7f7b6 
							
						 
					 
					
						
						
							
							sponsor-patch, doc/sponsorpatch.1: Clarify that --upload or --workdir is  
						
						... 
						
						
						
						required. (LP: #712721 ) 
						
						
					 
					
						2011-04-18 14:18:42 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							0c8520ee8c 
							
						 
					 
					
						
						
							
							Make pylint a little bit happier.  
						
						
						
						
					 
					
						2010-12-27 15:20:49 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							2a2cd83b74 
							
						 
					 
					
						
						
							
							sponsor-patch: Make pylint a little bit happier.  
						
						
						
						
					 
					
						2010-12-22 23:31:35 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							8e30fddfae 
							
						 
					 
					
						
						
							
							sponsor-patch: Catch KeyboardInterrupt.  
						
						
						
						
					 
					
						2010-12-22 14:32:24 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							41cc2fa194 
							
						 
					 
					
						
						
							
							sponsor-patch: Add new --lpinstance and --no-conf options and support  
						
						... 
						
						
						
						configuration files. 
						
						
					 
					
						2010-12-21 21:42:32 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							9e6a13f5a9 
							
						 
					 
					
						
						
							
							Split main function out of sponsor-patch script.  
						
						
						
						
					 
					
						2010-12-17 17:47:23 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							fbe27a7ce4 
							
						 
					 
					
						
						
							
							Split objects out of sponsor-patch script.  
						
						
						
						
					 
					
						2010-12-17 17:32:38 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							ec60ffc00e 
							
						 
					 
					
						
						
							
							sponsor-patch: Fix builder update logic.  
						
						
						
						
					 
					
						2010-12-17 11:49:22 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							409762e55c 
							
						 
					 
					
						
						
							
							Make command line flag description more consistent.  
						
						
						
						
					 
					
						2010-12-17 11:46:33 +01:00 
						 
				 
			
				
					
						
							
							
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							552b0a1f91 
							
						 
					 
					
						
						
							
							Undo some accidental changes  
						
						
						
						
					 
					
						2010-12-17 01:48:45 -08:00 
						 
				 
			
				
					
						
							
							
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							ac1260b163 
							
						 
					 
					
						
						
							
							sponsor-patch: Replace accidentally removed comment  
						
						
						
						
					 
					
						2010-12-13 10:09:21 -08:00 
						 
				 
			
				
					
						
							
							
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							9f6067b68f 
							
						 
					 
					
						
						
							
							sponsor-patch: Add --update option to make sure build environment is  
						
						... 
						
						
						
						up to date (LP: #689605 ) 
						
						
					 
					
						2010-12-13 04:00:14 -08:00 
						 
				 
			
				
					
						
							
							
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							b56b02683b 
							
						 
					 
					
						
						
							
							sponsor-patch: Separate multi-builder support into a Python module.  
						
						... 
						
						
						
						Rename SPONSOR_PATCH_BUILDER environment variable to
UBUNTUTOOLS_BUILDER (but still support SPONSOR_PATCH_BUILDER) 
						
						
					 
					
						2010-12-12 19:45:52 -08:00 
						 
				 
			
				
					
						
							
							
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							fc7faa9780 
							
						 
					 
					
						
						
							
							sponsor-patch, backportpackage:  
						
						... 
						
						
						
						Factor out logging code from sponsor-patch and share it with backportpackage 
						
						
					 
					
						2010-12-12 19:27:08 -08:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							15e5ef9a82 
							
						 
					 
					
						
						
							
							sponsor-patch: Support building with sbuild (LP:  #681242 ).  
						
						
						
						
					 
					
						2010-11-26 19:34:31 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							7e8423a470 
							
						 
					 
					
						
						
							
							sponsor-patch: Move workdir logic before option parser.  
						
						
						
						
					 
					
						2010-11-26 14:38:31 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							bf8f15471f 
							
						 
					 
					
						
						
							
							sponsor-patch: Call dpkg-source with --no-preparation to not apply patches  
						
						... 
						
						
						
						if the packages uses the 3.0 (quilt) format. 
						
						
					 
					
						2010-11-20 22:07:37 +01:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							ffc3968c57 
							
						 
					 
					
						
						
							
							sponsor-patch: Fix typo.  
						
						
						
						
					 
					
						2010-10-30 20:58:26 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							bf9b7ae3b8 
							
						 
					 
					
						
						
							
							sponsor-patch: Improve variable names.  
						
						
						
						
					 
					
						2010-09-22 15:44:47 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							7921cac14a 
							
						 
					 
					
						
						
							
							sponsor-patch: Add --workdir parameter to set the working directory.  
						
						
						
						
					 
					
						2010-09-21 23:53:56 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							05cbdd858f 
							
						 
					 
					
						
						
							
							sponsor-patch: Fix NameError: global name 'debdiff_filename' is not defined.  
						
						
						
						
					 
					
						2010-09-20 15:48:55 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							015d317cdf 
							
						 
					 
					
						
						
							
							sponsor-patch: Fix bug introduces in revision 728.  
						
						
						
						
					 
					
						2010-09-19 21:19:02 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							01265da7eb 
							
						 
					 
					
						
						
							
							sponsor-patch: Add fullstops.  
						
						
						
						
					 
					
						2010-09-19 20:49:05 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							7e26340170 
							
						 
					 
					
						
						
							
							sponsor-patch: Convert style to PEP 8.  
						
						
						
						
					 
					
						2010-09-19 20:45:24 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							5e0d815405 
							
						 
					 
					
						
						
							
							Move update-maintainer code into library for sponsor-patch.  
						
						
						
						
					 
					
						2010-09-19 20:24:27 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							9064f9eac8 
							
						 
					 
					
						
						
							
							sponsor-patch: Add TODO item.  
						
						
						
						
					 
					
						2010-09-05 01:25:48 +02:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							1c84ef2f93 
							
						 
					 
					
						
						
							
							sponsor-patch: Commit and push bzr merges  
						
						
						
						
					 
					
						2010-08-23 13:14:56 +02:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							073e8b1d64 
							
						 
					 
					
						
						
							
							sponsor-patch: Use bzr-builddeb to build branches  
						
						
						
						
					 
					
						2010-08-23 12:23:34 +02:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							7601649315 
							
						 
					 
					
						
						
							
							sponsor-patch: Set DEB_VENDOR when upload == ubuntu  
						
						
						
						
					 
					
						2010-08-23 12:23:03 +02:00 
						 
				 
			
				
					
						
							
							
								Stefano Rivera 
							
						 
					 
					
						
						
						
						
							
						
						
							5d04f355a1 
							
						 
					 
					
						
						
							
							sponsor-patch: Add vim tag turning off expand tab as this script uses tabs (against PEP-8 recommendation)  
						
						
						
						
					 
					
						2010-08-23 12:22:36 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							b0b4faca50 
							
						 
					 
					
						
						
							
							sponsor-patch: Add support for UDD.  
						
						
						
						
					 
					
						2010-08-22 00:19:17 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							4bd431e1bc 
							
						 
					 
					
						
						
							
							sponsor-patch: Fix 'NoneType' object has no attribute 'startwith'.  
						
						
						
						
					 
					
						2010-08-20 02:11:18 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							44fe4e6205 
							
						 
					 
					
						
						
							
							sponsor-patch: discover devel and supported series  
						
						
						
						
					 
					
						2010-08-20 02:09:17 +02:00 
						 
				 
			
				
					
						
							
							
								Benjamin Drung 
							
						 
					 
					
						
						
						
						
							
						
						
							f2efc000b6 
							
						 
					 
					
						
						
							
							sponsor-patch: Update TODO list.  
						
						
						
						
					 
					
						2010-08-20 02:03:23 +02:00