172 Commits

Author SHA1 Message Date
Stefano Rivera
aab58522ad syncpackage, requestsync: Sync from testing for LTSs (LP: #876400) 2011-10-17 13:31:02 +02:00
Benjamin Drung
1c814c8ec6 ubuntutools/requestsync: Follow PEP 8 naming conventions. 2011-09-10 15:42: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
Benjamin Drung
e47bff4bed requestsync: Do not crash on user abort (Closes: #637168). 2011-09-06 13:24:25 +02:00
Colin Watson
1d68d8064c add note on requestsync stderr about syncpackage 2011-08-17 16:48:17 +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
Stefano Rivera
95e7b5cd44 requestsync: Use from...import require_utf8() to work around unexpected
scoping from a later import (LP: #723630)
2011-02-23 14:47:19 +02:00
Stefano Rivera
d054dcf796 requestsync, grep-merges: Require a UTF-8 locale. (Closes: #613114,
LP: #553795)
2011-02-13 16:15:24 +02:00
Benjamin Drung
dccc33c454 requestsync: Fix intentation. 2011-02-01 12:11:20 +01:00
Stefano Rivera
773c5c33e0 Rework Scott's requestsync modifications for robustness and staging-support 2011-02-01 10:10:31 +02:00
Scott Kitterman
f8f79ecf99 * Update requestsync to send to Launchpad's MX record instead of hard
coding to the old MX (fiordland)
  * Recommend python-dns
2011-01-31 18:37:23 -05:00
Benjamin Drung
1a8951e82d Use new ubuntutools.distro_info in various scripts. 2011-01-21 19:20:04 +01:00
Benjamin Drung
086ca39f10 requestsync: Make pylint happier. 2010-12-27 20:06:23 +01:00
Benjamin Drung
c19ff094b1 Make pylint a little bit happier. 2010-12-27 16:54:23 +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
b46114c20f Move up mailserver config parsing, so we return deprecation errors fast 2010-12-22 00:11:10 +02:00
Stefano Rivera
692627c771 Restore -l 2010-12-21 21:54:57 +02:00
Stefano Rivera
a435c3234b Use the improved staging support in lpapicache 2010-12-21 21:52:12 +02:00
Stefano Rivera
82eab1c349 Config file support in requestsync 2010-12-21 17:02:36 +02:00
Stefano Rivera
b1b1e5e332 requestsync: Style: named parameters shouldn't have spaces around = 2010-12-21 12:32:33 +02:00
Stefano Rivera
9dd04a43ba requestsync: Convert the space-indented lines to tabs 2010-12-21 12:26:00 +02:00
Stefano Rivera
8588c064b7 ubuntutools.common is gone 2010-12-21 02:17:04 +02:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Benjamin Drung
533fac4911 requestsync, ubuntutools/lp/lpapicache.py: Import functions explicitely. 2010-09-22 14:07:23 +02:00
Michael Bienia
403a1a9412 Add 'natty' to the recognized names and make it the default. 2010-09-15 09:23:28 +02:00
Michael Bienia
0cca58d2bb requestsync: Fix bug where the variable 'hasLP' is not always set (lp: #607874) 2010-07-20 19:47:45 +02:00
Michael Bienia
bbe51620d4 Update to the new python-debian version:
- Depend on python-debian >= 1.1.15
 - Replace imports of debian_bundle with debian to fix the deprecation
   warnings.
2010-06-08 19:09:40 +02:00
Iain Lane
51dc6ffb7e Also fall back to rmadison when ubuntu_version >= debian_version
This happens, for example, when there are Ubuntu local changes and the Debian importer hasn't caught up yet.
2010-05-09 16:11:00 +01:00
Iain Lane
22274ef8aa requestsync: Fall back to using rmadison when LP indicates that no new
version is available. The LP importer is often out of date wrt Debian when
rmadison isn't. (LP: #574398)
2010-05-03 23:28:00 +01:00
Michael Bienia
9e89a22c58 [ Michael Bienia ]
Update the defaults for maverick and let requestsync and
pull-debian-source default to unstable (lp: #472837).
2010-04-20 17:56:51 +02:00
Daniel Holbach
f84f961805 * hugdaylist, requestsync, doc/requestsync.1:
ubuntu-{main,universe}-sponsors → ubuntu-sponsors,
  {ubuntu,motu}-release → ubuntu-release.
* ubuntutools/ppaput.py: removed, not necessary any more.
* debian/copyright: removed references to ppaput.
2010-03-15 10:22:35 +01:00
Michael Bienia
95a8fdecb2 requestsync: Subscribe 'ubuntu-release' to Feature Freeze exceptions (updated
to current policy; lp: #532740)
2010-03-05 17:59:46 +01:00
Michael Bienia
1cfe684420 requestsync:
* Add an error message when Ubuntu has a newer version than Debian.
2010-02-20 18:36:12 +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
Kees Cook
07451d8631 requestsync: add -C to allow manually adding changelog when missing
(LP: #518574).
2010-02-08 11:55:58 -08:00
Kees Cook
233ceb06b9 requestsync: add -C to allow manually adding changelog when missing. 2010-02-08 10:12:55 -08:00
Michael Bienia
5bd544b63c requestsync: Use '~' as the Ubuntu version for new packages (it's lower
than '0~0').
2010-01-06 01:30:40 +01:00
Michael Bienia
65762755c0 * requestsync: Fix a bug that prevented sync requests for new packages with
a version smaller than 0.
2009-12-31 13:16:32 +01:00
Iain Lane
6db05720f3 Conditional LP API usage & better p-l-s errors
* lpapicache: Do not immediately bail out if we have no credentials to
  login. Clients are now expected to handle the lack of credentials
  themselves.
* pull-lp-source: Make LP API use optional - fall back to a hardcoded
  default release if we aren't using it. (LP: #477670)
* pull-lp-source: Detect more failure conditions and give a nice error
  instead of a trace
* buildd, requestsync: Detect & bail if we don't have credentials and need
  them. These scripts cannot continue under those circumstances.
2009-11-07 19:20:46 +00: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
Iain Lane
dac4145893 requestsync: Give an error message if no changelog entries - happens if,
for example, the new package's changelog hasn't yet been published on p.d.o
2009-09-21 00:41:11 +01: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
966ab3727a requestsync: reindent remaining code and small cleanup 2009-08-22 18:34:22 +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
e628bfbe34 requestsync:
- move mail_bug() to ubuntutools.requestsync.mail
 - implement support for UBU* environment variables (lp: #400133)
2009-08-22 17:12:55 +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
ea3c45cb16 Merge from devel branch. 2009-08-22 11:40:43 +02:00
Iain Lane
d9dd366665 * requestsync:
- Guard some calls when -n is specified
  - Fetch changelog of specified version, not current version. If an
    experimenal upload happened after the unstable one we're syncing, this
    is considered to be current by p.d.o and we would get those changelog
    entries in the sync request
  - Remove trailing fullstop from sync bug title
2009-08-17 12:02:35 +01:00