50 Commits

Author SHA1 Message Date
Evan Broder
d82e65e0e2 * ubuntutools.subprocess:
- New drop-in replacement wrapper module around subprocess that
    backports the restore_signals kwarg and defaults close_fds=True
  - Switch everything previously using subprocess to use
    ubuntutools.subprocess instead (LP: #785854)
2011-05-24 20:22:37 +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
8657394219 Catch DownloadErrors in ubuntutools.archive users. (LP: #708862) 2011-01-31 19:01:10 +02:00
Stefano Rivera
ce34dff75f Typo in syncpackage help 2011-01-25 09:43:15 +02:00
Stefano Rivera
19f4f57c8c syncpackage: Don't fakesync when we have a new orig tarball (LP: #707187) 2011-01-25 09:41:59 +02:00
Stefano Rivera
f4bbff9e9c Move source package verification into ubuntutools.archive 2011-01-15 15:50:07 +02:00
Stefano Rivera
3ef8324ff7 Improve error handling 2011-01-01 19:51:03 +02:00
Stefano Rivera
1fb2545712 Use *SourcePackage in syncpackage 2010-12-30 17:16:58 +02:00
Stefano Rivera
62073c1085 Mirror support in syncpackage 2010-12-28 15:35:15 +02:00
Stefano Rivera
f7525d6dd5 Add UDTConfig and tidy OptParser 2010-12-27 21:09:24 +02:00
Stefano Rivera
c46bb9ed88 Use ubuntutools.logger in syncpackage 2010-12-27 18:24:21 +02:00
Benjamin Drung
0c8520ee8c Make pylint a little bit happier. 2010-12-27 15:20:49 +01:00
Benjamin Drung
b18aa6209a syncpackage: Make pylint a little bit happier. 2010-12-22 23:53:09 +01:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Benjamin Drung
17ea793a94 syncpackage: Fix error message for failed downloads. 2010-11-25 23:49:39 +01:00
Stefano Rivera
df87493df5 ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when
unpacking source packages. 3.0 (quilt) has optional per-vendor patch
series.
2010-11-24 21:06:23 +02:00
Benjamin Drung
45c8f13d65 syncpackage: Print an error message if the source-only build fails (LP: #668749). 2010-10-30 20:36:42 +02:00
Benjamin Drung
7241b30c16 syncpackage: Show a error message instead of raising an error if Ubuntu contains a newer version. 2010-10-30 20:13:07 +02:00
Benjamin Drung
b403dedbfb syncpackage: Don't add quotation marks to changelog entries (LP: #668805). 2010-10-30 19:58:08 +02:00
Benjamin Drung
fffcab6392 syncpackage: Fix reading of environment variables. 2010-10-30 19:44:19 +02:00
Benjamin Drung
61303da466 syncpackage: Don't crash if environment variables aren't set (LP: #665202). 2010-10-30 19:17:30 +02:00
Benjamin Drung
b5b099424f syncpackage: Convert style to PEP 8. 2010-10-30 18:45:14 +02:00
Stefano Rivera
87e4054245 Rename -u -> --dont-sign. Correctly handle fakesyncs from ack-sync. 2010-10-27 23:20:26 +02:00
Stefano Rivera
cf6c2356b1 - Correct and neaten options.
* syncpackage:
   - Add -u parameter, to disable signing.
2010-10-26 12:33:38 +02:00
Benjamin Drung
a7a7dec87d syncpackage: Check if the specified Debian component is valid (LP: #639896). 2010-09-20 00:44:02 +02:00
Benjamin Drung
1048901abb syncpackage: Print error message if the download fails (LP: #639899). 2010-09-19 22:09:26 +02:00
Benjamin Drung
6828ae2e8c syncpackage: Don't upload orig tarball if not needed. 2010-08-14 18:20:46 +02:00
Stefano Rivera
6f78086089 Correct typo from r686. dcs -> dsc 2010-08-04 21:27:55 +02:00
Benjamin Drung
6619e1c0f8 Fix mistakes from previous commits. 2010-08-02 15:47:29 +02:00
Benjamin Drung
5c14871416 syncpackage: Print propper error message if dsc file is malformed. 2010-08-02 15:37:48 +02:00
Benjamin Drung
660e6256c7 Fix typo. 2010-08-02 01:58:26 +02:00
Stefano Rivera
896b1780b4 syncpackage: Set DEB_VENDOR=Ubuntu when fakesyncing, so fakesyncs prepared on a Debian host can close LP bugs 2010-08-01 20:03:49 +02:00
Benjamin Drung
79fdd2dccb syncpackage: Fix variable usage before assigning. 2010-07-31 01:56:04 +02:00
Benjamin Drung
dcaab5fc47 update-maintainer: Add a --quiet option. 2010-07-30 03:51:33 +02:00
Benjamin Drung
c3bd2726c7 * syncpackage:
- Prepend script name to every output
  - Output every executed command in verbose mode
2010-07-30 03:32:23 +02:00
Benjamin Drung
71c25ec898 syncpackage: Use Version class from python-debian to fix extraction of
upstream version for debian versions that contain more than one dash.
2010-07-30 00:58:26 +02:00
Benjamin Drung
477e6a9430 syncpackage: Fix extraction of upstream version for debian versions that
contain more than one dash.
2010-07-28 16:25:35 +02:00
Benjamin Drung
e7633f6879 syncpackage: Use debuild instead of dpkg-buildpackage for fake syncs. 2010-06-09 12:58:16 +02:00
Benjamin Drung
f35f81dc56 syncpackage: Use anonymous Launchpad login. 2010-06-02 16:00:30 +02:00
Benjamin Drung
518a6006d6 syncpackage: Fix sponsoring for fake sync. 2010-06-02 11:47:28 +02:00
Luca Falavigna
673d3658d7 Correctly parse local .dsc files 2010-05-20 13:55:10 +00:00
Benjamin Drung
62a94f1970 syncpackage: add mismatching source tarball detection (for fake syncs). 2010-05-15 17:55:36 +02:00
Benjamin Drung
d54b89e4c1 syncpackage: Add option to close additional Launchpad bugs. 2010-05-10 21:56:24 +02:00
Benjamin Drung
b86063c27f syncpackage: add more options and allow pulling packages from Debian. 2010-05-10 00:05:22 +02:00
Benjamin Drung
5964d3d6cb Replace spaces by tabs. 2010-05-09 19:11:50 +02:00
Luca Falavigna
5565c16af1 Ignore extra fields at the end of the .dsc file 2010-04-17 12:43:41 +02:00
Luca Falavigna
4ab0673c80 Exit if proposed version is not greater than already available one 2010-04-13 23:53:07 +02:00
Luca Falavigna
764290cb9a Invoke getUbuntuSrcPkg to get current Ubuntu version 2010-04-13 23:35:13 +02:00
Luca Falavigna
440ead9328 License syncpacakge under GPLv3
This needs to be ACK'ed by Martin, though
2010-04-13 23:22:32 +02:00
Luca Falavigna
3f771e4ce8 Initial import of syncpackage 2010-04-13 23:18:24 +02:00