42 Commits

Author SHA1 Message Date
Dan Streetman
90e8fe81e1 replace ubuntutools.logger with standard python logging 2019-11-25 10:10:06 -05:00
Stefano Rivera
301569e809 Pull out Python 2 support hacks 2019-09-04 19:24:44 -03:00
Benjamin Drung
cc7170eccb Fix all flake8 issues 2017-05-01 00:20:03 +02:00
Dimitri John Ledkov
1d2f7f6d0d rs/lp 2014-12-18 20:45:58 +00:00
Benjamin Drung
c2aa97dba2 Move devscripts.logger to ubuntutools.logger. 2013-03-19 00:18:02 +01:00
Stefano Rivera
1c698ff626 While we're there, Updates is derived from Proposed 2012-10-22 22:09:31 +02:00
Stefano Rivera
24e1161d3c syncpackage, requestsync: Check the Release pocket if we can't find an
Ubuntu package in the requested pocket. (LP: #1069867)
2012-10-22 21:42:58 +02:00
Stefano Rivera
343ac49b39 pbuilder-dist, pull-debian-source, pull-lp-source, requestsync,
reverse-depends, submittodebian, syncpackage:
Handle outdated distro-info data. Fall back to sane defaults where
possible.
2012-05-06 10:15:54 +02:00
Stefano Rivera
70a035f13d Use httplib2 everywhere that we do https. The python stdlib doesn't do
certificate verification.
2011-11-22 15:57:02 +02:00
Stefano Rivera
d4fbed617f Use EditBugReport instead of requestsync's edit_report. Drop that. 2011-11-13 20:15:19 +02:00
Stefano Rivera
46f3f929bc Native syncs won't have changes files 2011-09-10 16:06:56 +02:00
Benjamin Drung
1c814c8ec6 ubuntutools/requestsync: Follow PEP 8 naming conventions. 2011-09-10 15:42:40 +02:00
Benjamin Drung
1aabfec757 Wrap long line. 2011-09-10 15:21:40 +02:00
Stefano Rivera
cd236932de * requestsync: Extract current Ubuntu delta from changelog entries and provide for editing (LP: #547925)
* Bump python-debian B-D and Depends to 0.1.20 for unicode Changelog reading.
2011-09-10 10:28:41 +02:00
Julian Taylor
7c40574cf4 requestsync: add more non terminal status to dup check 2011-09-06 01:42:28 +02:00
Julian Taylor
36bc8ee0f7 requestsync: omit dups when checking for duplicate requests (LP: #842217) 2011-09-06 01:15:41 +02:00
Colin Watson
a6b95b7d53 style 2011-08-18 15:11:36 +01:00
Colin Watson
5eb960dd3f make better use of ubuntutools.archive, allowing us to detect when fakesyncs are required in LP mode 2011-08-17 03:03:01 +01:00
Benjamin Drung
a03fa654f3 Move debian-distro-info, distro-info, and ubuntu-distro-info from
ubuntu-dev-tools into distro-info.
2011-06-25 17:53:44 +02:00
Michael Bienia
5ef61615ce Use the new web_link attribute of LP objects instead of our own
translate_api_web() function.
2011-02-11 15:33:09 +01:00
Benjamin Drung
6e38700f26 ubuntutools/requestsync/lp.py: Fix typo codenames -> codename. 2011-01-22 02:27:10 +01:00
Benjamin Drung
1a8951e82d Use new ubuntutools.distro_info in various scripts. 2011-01-21 19:20:04 +01:00
Stefano Rivera
9fa9f3eb96 Whitespace and style cleanups 2010-12-23 00:01:39 +02:00
Stefano Rivera
f01beda01c Convert last Python code from mixed tabs and spaces to spaces 2010-12-22 23:04:29 +02:00
Stefano Rivera
82eab1c349 Config file support in requestsync 2010-12-21 17:02:36 +02:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Michael Bienia
5babcfe869 ubuntutools/lp/udtexceptions.py: Rename PocketDoesNotExistException to PocketDoesNotExistError. 2010-03-20 19:27:40 +01:00
Michael Bienia
f5c6695e13 ubuntutools/lp/lpapicache.py:
* Make PersonTeam.getMe() a class property (PersonTeam.me).
ubuntutools/requestsync/lp.py, ubuntu-build:
* Update for the above mentioned change.
2010-02-20 18:13:15 +01:00
Michael Bienia
0dfe4b4731 ubuntutools/lp/lpapicache.py:
* PersonTeam.canUploadPackage() can now also check package sets for upload
  permissions. This requires now to also pass the distroseries as package sets
  are per distroseries.
* Drop PersonTeam.isPerPackageUploader() as it's also handled by canUploadPackage()
ubuntu-build: Update for the PersonTeam.canUploadChange().
ubuntutools/requestsync/{lp,mail}.py:
* needSponsorship() now also expects a release name because of the above mentioned
  change to PersonTeam.canUploadPackage().
requestsync: Update for needSponsorship() change.
2010-02-20 15:48:48 +01:00
Michael Bienia
95487419e7 ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with
absolute ones (follow PEP8)
2010-02-04 00:37:02 +01:00
Michael Bienia
87660fb375 requestsync: request syncs from 'testing' by default
(should be changed back to 'unstable' for lucid+1)
2009-11-02 19:03:18 +01:00
Luca Falavigna
5bdec5b5b2 Explicitly import exceptions for backward compatibility with Python 2.5 2009-10-19 20:51:08 +02:00
Michael Bienia
82899a0f45 bug fixes 2009-08-25 13:02:57 +02:00
Michael Bienia
f284ee7cd6 requestsync: cleanup 2009-08-23 13:08:22 +02:00
Michael Bienia
d5a19ca5a7 ubuntutools.requestsync.lp: fix errors in imports 2009-08-22 18:07:26 +02:00
Michael Bienia
5448add754 requestsync: make a "mail" and "lp" version of checkExistingReports and move
it to the correct module
2009-08-22 17:39:38 +02:00
Michael Bienia
ec92bb5d75 requestsync: move the remaining code of cur_version_component() into the
__main__ code.
2009-08-22 11:59:22 +02:00
Michael Bienia
d96e4af643 requestsync: move post_bug() to ubuntutools/requestsync/lp.py 2009-08-12 13:46:21 +02:00
Michael Bienia
6d924143c0 requestsync: refactor 'checkNeedsSponsorship' 2009-08-07 14:07:46 +02:00
Michael Bienia
5e3e368bb8 requestsync: some more refactoring 2009-08-06 00:23:58 +02:00
Michael Bienia
c30c4865a4 ubuntutools/requestsync/*.py: update copyright notices and license to match
the requestsync script
2009-08-05 23:10:05 +02:00
Michael Bienia
df881ec2da requestsync: refactor some code into its own module
and provide versions of the methods w/ and w/o LP API usage
2009-08-04 13:43:31 +02:00