45 Commits

Author SHA1 Message Date
Dimitri John Ledkov
5a428b462d
config.py: add UBUNTU_INTERNAL_MIRROR option, for launchpad internal mirror. 2021-01-19 10:43:47 +00:00
Dan Streetman
90e8fe81e1 replace ubuntutools.logger with standard python logging 2019-11-25 10:10:06 -05:00
Dan Streetman
3dabf05370 pull-pkg: add debian and ubuntu ddebs mirror urls 2019-11-25 09:57:54 -05:00
Benjamin Drung
cc7170eccb Fix all flake8 issues 2017-05-01 00:20:03 +02:00
Unit 193
f67601cb0c mk-sbuild, pull-debian-{debdiff,source}: Switch from httpredir.debian.org to deb.debian.org as the default mirror for Debian
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-30 18:44:04 +02:00
Mike Miller
8ac2c33059 mk-sbuild, pull-debian-{debdiff,source}: Use httpredir.debian.org as the
default mirror for Debian.
2015-08-22 11:51:04 -04:00
Dimitri John Ledkov
1bab644191 Conf fixes 2014-12-18 21:53:00 +00:00
Marc Deslauriers
79abf8a50f * ubuntutools/config.py: properly handle name being None. 2013-08-13 17:01:32 -04:00
Loïc Minier
a41422a7f4 Default to UTF-8 encoding when locale doesn't specify one (as Python defaults
to ascii); thanks Stefano Rivera.
2013-05-15 02:10:04 +02:00
Loïc Minier
0aaa0f1f4a Decode name from environment or from gecos with the locale's encoding and add
corresponding regression test; fixes handling of non-ascii developer name like
mine with e.g. syncpackage using it with dpkg-genchanges -e.
2013-05-13 13:58:15 +02:00
Benjamin Drung
c2aa97dba2 Move devscripts.logger to ubuntutools.logger. 2013-03-19 00:18:02 +01:00
Evan Broder
2e9d81bdda Add KEYID config var to be specified package-globally
The KEYID variable is currently supported by 3 scripts: requestsync,
sponsor-patch, and syncpackage
2012-03-03 15:54:35 -08:00
Stefano Rivera
cdec3f5868 pbuilder-dist: Support using non-master mirrors. Thanks Mathieu Parent.
(LP: #824285)
2011-11-13 02:32:25 +02:00
Benjamin Drung
ce2f96bc0d Make pylint happier and code more PEP-8 compliant. 2011-08-20 11:31:02 +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
2c27cf68a6 Move common downloading code into new ubuntutools.mirrors. Use in backportpackage, pull-debian-debdiff, pull-lp-source 2010-12-28 00:23:53 +02:00
Benjamin Drung
2ba510bb89 Fix invalid name pylint report. 2010-12-27 22:33:01 +01:00
Stefano Rivera
8e27317b65 Rename mirror variables, add Ubuntu 2010-12-24 03:04:42 +02:00
Stefano Rivera
30b6628910 Config file support for pull-debian-debdiff 2010-12-24 01:07:48 +02:00
Stefano Rivera
d5c7de285e Configurable mirror support for pull-debian-source 2010-12-23 23:12:24 +02:00
Stefano Rivera
8cee545568 Migrate to ubuntutools.logger 2010-12-22 21:24:35 +02:00
Stefano Rivera
2c2aaf90b3 Migrate to logging 2010-12-22 02:09:04 +02:00
Stefano Rivera
0184a10c21 Prefix replacement in warning 2010-12-22 00:14:28 +02:00
Stefano Rivera
c43e9775e0 - Support this in many u-d-t scripts, and update manpages.
- Deprecate old configuration environment variables.
2010-12-22 00:07:48 +02:00
Stefano Rivera
8dd88f18f8 Forgot EMAIL 2010-12-21 12:59:45 +02:00
Stefano Rivera
98061bc423 Promote WORKDIR to UBUNTUTOOLS 2010-12-21 01:56:28 +02:00
Stefano Rivera
2c1e1c8727 Add boolean as a get_value argument 2010-12-21 01:51:10 +02:00
Stefano Rivera
820b8dc0c5 Default value for UDTConfig.config 2010-12-21 01:14:57 +02:00
Stefano Rivera
4f7a5232a2 Script-specific variables win over package variables no matter which store they come from 2010-12-21 00:28:31 +02:00
Stefano Rivera
4336f7442a Use attribute accessors for pwd 2010-12-21 00:24:03 +02:00
Stefano Rivera
7229c63dc2 Further magic reduction in ubu_email 2010-12-21 00:18:47 +02:00
Stefano Rivera
0a272cab3f Support the notion of non-package-wide variables 2010-12-21 00:13:39 +02:00
Stefano Rivera
2a1a48ae56 Tone down ubu_email magic 2010-12-20 23:56:54 +02:00
Stefano Rivera
3d03dcdb3f Switch to using shlex for config file parsing 2010-12-20 23:36:17 +02:00
Stefano Rivera
887aa1a9ab UDTConfig docstring 2010-12-20 22:38:53 +02:00
Stefano Rivera
254be7bb5d Configuration system uses a class, add test suite 2010-12-20 22:08:12 +02:00
Stefano Rivera
453112f342 Support quoted values 2010-12-20 21:00:14 +02:00
Stefano Rivera
d67edd7c3c Relicense the code in this branch to ISC 2010-12-20 01:19:09 +02:00
Stefano Rivera
d80f54dfa5 Revert r863, let's use environment variables again 2010-12-20 01:08:07 +02:00
Stefano Rivera
4e827697e8 basename() script name for prefix 2010-12-20 00:27:21 +02:00
Stefano Rivera
1bb418e02f Support configuration in backportpackage 2010-12-19 22:32:53 +02:00
Stefano Rivera
8b5cd3d045 Actually configuration variables shouldn't come from the environment 2010-12-19 22:08:25 +02:00
Stefano Rivera
baae70c001 Support --noconf 2010-12-19 21:56:10 +02:00
Stefano Rivera
3a9ffe412c Support the combined "Name <email>" format in UBUMAIL, DEBFULLNAME, and
DEBEMAIL. (LP: #665202)
2010-12-19 20:47:37 +02:00
Stefano Rivera
a335ef7949 Support reading configuration variables from devscripts configuration
files. (LP: #681693)
2010-12-19 20:47:01 +02:00