182 Commits

Author SHA1 Message Date
Stefano Rivera
e15667aa2f requestsync: We now sync to proposed (LP: #1073060) 2012-10-30 10:18:17 +01: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
42a76abaa7 Catch SeriesNotFoundException and display a friendly error (LP: #963888) 2012-03-28 23:51:17 +02:00
Stefano Rivera
d9bf247dee * requestsync:
- New packages from non-free or contrib go into multiverse (LP: #935643)
2012-03-28 23:43:29 +02:00
Evan Broder
cb225bd8f2 sponsor-patch, requestsync, syncpackage: Add a config variable for -k arguments 2012-02-11 11:59:46 -08:00
Stefano Rivera
09e468211a Add changelog retrieval to lpapicache, and use this in syncpackage and
requestsync. The changelogs should be available in Launchpad sooner than
Debian PTS.
2011-11-13 22:50:34 +02:00
Stefano Rivera
cefbe3ccc2 * New scripts:
- reverse-depends: Replaces reverse-build-depends. Uses an UbuntuWire
    webservice for determining all reverse(-build)-dependencies for a
    package. (LP: #696373)
  - requestbackport: Files a backport request bug report, including a full
    testing checklist.
* Don't allow boilerplate prompts through in submittodebian and requestsync
  (LP: #887336)
2011-11-13 21:31:01 +02:00
Stefano Rivera
629fbd14ad optional_edit was a silly idea 2011-11-13 20:53:39 +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
8aefff3758 requestsync: Make --lp the default. 2011-11-12 23:33:32 +02:00
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