Commit Graph

  • fcf86d2ad2 * lpapiwrapper.py: Move getUbuntu{Development,}Series from LpApiWrapper to Distribution and rename it to get{Development,}Series * pull-lp-source, requestsync: Updated for the above mention change. Michael Bienia 2009-07-22 13:43:53 +02:00
  • 30915541e4 * lpapiwrapper.py: - Move getUbuntuArchive() from LpApiWrapper to Distribution and rename it to getMainArchive() Michael Bienia 2009-07-22 12:23:36 +02:00
  • 046798d12b * lpapiwrapper.py: Move isLpTeamMember from LpApiWrapper to PersonTeam where it belongs Michael Bienia 2009-07-22 12:04:14 +02:00
  • d63b782aec * lpapiwrapper.py: - Add a check for cached LP API URLs instead of blindly fetching it Michael Bienia 2009-07-22 11:54:31 +02:00
  • adf3557967 * lpapiwrapper.py: - Update some doc strings - Update PersonTeam to the new BaseWrapper Michael Bienia 2009-07-22 11:47:22 +02:00
  • f0ca5053fe * lpapiwrapper.py: - Rewrite BaseWrapper.__new__() again to make it more generic - Add a Distribution wrapper class Michael Bienia 2009-07-22 11:27:28 +02:00
  • 480bbc9278 * mk-sbuild-lv: - Add check for built-in dm_snapshot (LP: #398414) Nicolas Valcarcel Scerpella 2009-07-20 15:08:19 -05:00
  • 884024ddd8 * lpapiwrapper.py: - Rename _PersonTeam to PersonTeam and make it a sub-class of BaseWrapper. Michael Bienia 2009-07-19 16:17:02 +02:00
  • 974deb0a9a * lpapiwrapper.py: - Rename _SourcePackage to SourcePackage and make it a sub-class of BaseWrapper Michael Bienia 2009-07-19 15:59:43 +02:00
  • 682d7be285 * lpapiwrapper.py: - Replace _UbuntuSeries with DistroSeries Michael Bienia 2009-07-19 15:49:14 +02:00
  • c397ad9f7b * lpapiwrapper.py: - add a base class for all wrapper classes - add a wrapper class for "distro_series" Michael Bienia 2009-07-19 15:40:07 +02:00
  • 509360d40d Document target dist as optional in the help output Loïc Minier 2009-07-16 00:02:41 +02:00
  • 685b1ead09 Require an argument and print help if it's missing Loïc Minier 2009-07-16 00:02:20 +02:00
  • 1820a2ccfa Allow for the EMAIL env var as a fallback for DEBEMAIL. Loïc Minier 2009-07-15 23:58:24 +02:00
  • 6799633ca3 * lpapiwrapper.py: Add a wrapper class for a person or team LP object. Michael Bienia 2009-07-10 10:38:06 +02:00
  • f2c6091a2e Don't add second XSBC-Original-Maintainer if Maintainer was set to Motu or Core-Dev. Andreas Moog 2009-07-08 23:07:46 +02:00
  • 89e8d69cbe * update-maintainer: - Don't silently fail when Maintainer-Field contains a comment in brackets. (LP: #397144) Andreas Moog 2009-07-08 21:30:20 +02:00
  • 9c4a6b0988 * Create blank changelog entry for 0.76. Michael Bienia 2009-07-06 17:54:48 +02:00
  • 7d29f31847 Upload 0.75 to karmic. 0.75 Michael Bienia 2009-07-06 17:52:55 +02:00
  • e6c5a0fe26 * requestsync: Add "done" as last email command to stop parsing the email body for further email commands (lp: #372555) Michael Bienia 2009-07-02 20:01:34 +02:00
  • 638950f184 * lpapiwrapper.py: - fix getUbuntuSourcePackage() Michael Bienia 2009-07-02 13:21:01 +02:00
  • a0ae5a2e23 * lpapiwrapper.py: - Add _UbuntuSeries and _SourcePackage wrapper classes for proper type checking * functions.py: Removed - Move the remaining functions to lpapiwrapper.py * buildd, requestsync: - Updated for the new function location Michael Bienia 2009-07-02 13:05:16 +02:00
  • e139944b3a * lpapiwrapper.py: canUploadPackage(): Assume 'universe' as component if the package doesn't exist (yet) in Ubuntu (needed for checking sponsorship when requesting syncs of new packages). * requestsync: use canUploadPackage() from LpApiWrapper Michael Bienia 2009-06-27 11:58:05 +02:00
  • 47a2274264 * requestsync: use the correct object to call getUbuntuDistribution Michael Bienia 2009-06-18 23:17:41 +02:00
  • 0684698c98 * Make Launchpad.login() return itself. Michael Bienia 2009-06-18 23:16:36 +02:00
  • ba0d0664a8 requestsync: We need to use the output from madison, not just throw it away. Iain Lane 2009-06-15 19:58:41 +01:00
  • 5d0eb21a8f Credit Robert Ancell Luke Yelavich 2009-06-12 13:10:40 +10:00
  • 4ba398de53 lp-set-dup: Add missing % needed for string substitution. Luke Yelavich 2009-06-12 13:08:19 +10:00
  • c6a040f85f * ubuntutools/lp/functions.py: Remove some now obsolete functions. Michael Bienia 2009-06-12 00:49:48 +02:00
  • f60a86b68d * requestsync: Introduce some first LpApiWrapper use. Michael Bienia 2009-06-12 00:48:41 +02:00
  • d4f6f9079e * ubuntutools/lp/lpapiwrapper.py: Add a method to enforce a login through the LP API. Michael Bienia 2009-06-12 00:33:23 +02:00
  • 5d9ef43b25 * pull-lp-source: Use the new LpApiWrapper class. Michael Bienia 2009-06-12 00:14:22 +02:00
  • d35077e14e * ubuntutools/lp/lpapiwrapper.py: + Wrap access to launchpad.me + Implement canUploadPackage() in LpApiWrapper Michael Bienia 2009-06-11 22:51:52 +02:00
  • 81c1cf50df * ubuntutools/lp/lpapiwrapper.py: Make getUbuntuSourcePackage a classmethod * buildd: Remove unneeded variables Michael Bienia 2009-06-11 21:18:52 +02:00
  • f03f0ec72a * ubuntutools/lp/functions.py: Make the default values of the function not use a value fetched from LP. Instead fetch the default value during call time. This way the functions module doesn't require to use LP API during module load. * buildd: Move the import of ubuntutools.lp.functions to the other module inclusion. Michael Bienia 2009-06-11 20:36:11 +02:00
  • edce828ee0 * Don't forget to save my changes before commiting. Michael Bienia 2009-06-11 20:27:31 +02:00
  • 40f749c91b * ubuntutools/lp/lpapiwrapper.py: Rewrite some functions from functions.py in a OO-way and add caching * ubuntutools/lp/functions.py: Use the lpapiwrapper.py where applicable and mark the rewritten functions as deprecated * ubuntutools/lp/udtexceptions.py: Add PocketDoesNotExistException * buildd: Make use of LpApiWrapper Michael Bienia 2009-06-11 20:23:30 +02:00
  • 39211b67e0 * ubuntutools/lp/lpapiwrapper.py: Implement a singleton for LP API access (with lazy initialisation) * ubuntutools/lp/functions.py: Use the new singleton Michael Bienia 2009-06-11 16:33:47 +02:00
  • 2ff5ec5ec0 * buildd: remove unneeded modules Michael Bienia 2009-06-11 16:25:48 +02:00
  • eb189ace78 typo Colin Watson 2009-06-09 13:32:14 +01:00
  • be68e7465a set our own Maintainer field to match what update-maintainer now does Colin Watson 2009-06-09 11:02:01 +01:00
  • ac53f8f767 Get rid of the last remaining use of subprocess.Popen(shell=True) in 404main. Colin Watson 2009-06-09 11:00:55 +01:00
  • 6730937ea3 Rewrite 404main using python-apt. Note that this requires python-apt 0.7.9, not in jaunty. Colin Watson 2009-06-09 11:00:00 +01:00
  • f01cebdaea I think "trustworthy" is a better choice of word than "trustful" here Colin Watson 2009-06-09 10:57:24 +01:00
  • 7eb81c1185 Removed (superseded by Launchpad API support) * ubuntutools/lp/cookie.py * ubuntutools/lp/urlopener.py Jonathan Davies 2009-06-09 10:19:58 +01:00
  • a58f36a5db * debian/changelog: Added all my pervious changes. Jonathan Davies 2009-06-09 10:12:04 +01:00
  • fbc1f1f6d8 * buildd: Some full stops. Jonathan Davies 2009-06-09 10:03:50 +01:00
  • f760b4e845 * buildd: Use LP API for retrying or rescoring of builds. Michael Bienia 2009-06-09 10:34:21 +02:00
  • fa2a6f3dce no need for *ubuntu* versions here Colin Watson 2009-06-09 09:14:45 +01:00
  • 85a8659398 update-maintainer: Do not make changes if maintainer email is set to an @ubuntu.com email address. Jonathan Davies 2009-05-31 21:54:49 +01:00
  • 6a17e7c6c7 * ubuntutools/packages.py: Created checkIsInDebian() function. * requestsync: Adapt to use new function above. * update-maintainer: Rewrote in Python and adapted to use Maintainer field spec approved by the Technical Board at: - https://lists.ubuntu.com/archives/ubuntu-devel/2009-May/028213.html Jonathan Davies 2009-05-31 21:45:35 +01:00
  • 78b7833ea9 buildd: And support different releases with API too. Jonathan Davies 2009-05-28 06:34:53 -04:00
  • ed15916481 buildd: Implemented partial launchpadlib support (displays build status and arches for now). Jonathan Davies 2009-05-28 05:53:45 -04:00
  • 5ad8a6ed00 TODO: pull-lp-source task done. Jonathan Davies 2009-05-28 03:48:41 -04:00
  • d10afc2732 pull-lp-source: Use os.path.exists() instead of catching an error message to check if dget is installed. Jonathan Davies 2009-05-28 03:37:38 -04:00
  • b85dc1a793 pull-lp-source: Return an error message if dget is not installed. Jonathan Davies 2009-05-28 03:31:23 -04:00
  • 27f83c2602 pull-lp-source: Use launchpadlib instead of screen scraping to get and check if the Ubuntu release exists. Jonathan Davies 2009-05-28 03:12:35 -04:00
  • 332b507bc2 buildd: Added a comment to explain why we're importing launchpadlib here. Jonathan Davies 2009-05-28 03:11:04 -04:00
  • 5ba877aefd urlopener module no longer needed. Jonathan Davies 2009-05-28 03:10:08 -04:00
  • 6c2e20d030 Removed FIXME comment - connection problem this end. Jonathan Davies 2009-05-27 18:25:00 -04:00
  • a876414c25 ubuntutools/lp/functions.py: Improved error messages, and made prettier functions. Jonathan Davies 2009-05-27 18:07:46 -04:00
  • c9e4293dea * buildd: - Do not display override message if --arch is not used. - Fix permissions warning message and do not mention teams as we check on a per package basis. Jonathan Davies 2009-05-27 18:01:58 -04:00
  • a256eca0b7 * buildd: Use launchpadlib to check the Ubuntu release is valid. Jonathan Davies 2009-05-27 17:59:41 -04:00
  • fbc5418533 * buildd: Moved Launchpad module imports here - speed up usage parsing to improve user experience. Jonathan Davies 2009-05-27 17:57:10 -04:00
  • 8dd4bf61c2 * manage-credentials: Remove extra line from help. Jonathan Davies 2009-05-27 17:29:12 -04:00
  • 2cd60187c0 * requestsync: urlopener module is no longer required here. Jonathan Davies 2009-05-27 16:50:42 -04:00
  • 2e747436a7 * ubuntutools/lp/libsupport.py: Fail if we're unable to import launchpadlib (we need it to run stuff). Jonathan Davies 2009-05-27 16:48:32 -04:00
  • d131a9d995 Create new UNRELEASED debian/changelog entry Nathan Handler 2009-05-23 20:46:52 +00:00
  • 2dbdc62166 Uploaded 0.74 to karmic 0.74 Nathan Handler 2009-05-23 20:42:38 +00:00
  • 67fec3a81a pull-debian-source: Modify to work for packages not in main (LP: #379822) Nathan Handler 2009-05-23 20:40:21 +00:00
  • 3aeb7c88b5 Revert changes from revision 397 Nathan Handler 2009-05-21 03:11:02 +00:00
  • d134469ed3 Convert _findMember to use newly efficient isLPTeamMember, and remove name argument since we always just check launchpad.me anyway. Remove TeamNotFoundException which is now never thrown (false is just returned instead). Iain Lane 2009-05-17 16:06:26 +01:00
  • 95708ccc3b Merge code improvement from Anders Kaseorg Iain Lane 2009-05-17 15:11:12 +01:00
  • 1dbc9df337 * update-maintainer: - Make change proposed by Bryce Harrington to make the script recognize versions that end in buildX as valid Ubuntu versions, and thus allow it to work with fakesyncs. (LP: #376623) Nathan Handler 2009-05-16 19:11:45 +00:00
  • 0a28dbb15d * update-maintainer: - Convert to getopt so that '--section main' works as well as '--section=main'. Colin Watson 2009-05-12 00:05:06 +01:00
  • f762242ebb * ubuntutools/lp/functions.py: - Simplify isLPTeamMember. Anders Kaseorg 2009-05-10 17:41:03 -04:00
  • f25358a175 Close bug Iain Lane 2009-05-10 19:14:43 +01:00
  • 4b8839ef15 - Correct bug supervisor team to ubuntu-bugcontrol - Remove team names from sponsorship message - makes the function much simpler Iain Lane 2009-05-09 21:08:46 +01:00
  • b4cd975dc8 * ubuntutools/lp/lp_functions.py, ubuntutools/lp/udtexceptions.py: - Add new public functions that expose features from LP API - Modify isLPTeamMember to use LP API * requestsync - Use new functions to check if user can upload requested package directly instead of checking team membership - Default to current development release if no release is specified on commandline * buildd - Check if user has upload privileges instead of checking for team membership when seeing if operations are permitted Iain Lane 2009-05-09 20:09:56 +01:00
  • dc4750eb91 - Skip security repo for Debian unstable, thanks to Ryan Niebur - Change directory out of the way of schroot problems. * grab-merge: - Show an error message if the package doesn't exist. - Be paraonic and add "--one-file-system" to the rm call. - Delete the directory just after creating it if the package doesn't exist. Siegfried-Angel Gevatter Pujals 2009-05-06 23:22:39 +02:00
  • 25488361a5 clarify that "UPDATE" meant "CHANGE", move man page apt into a separate example Kees Cook 2009-05-06 11:00:21 -07:00
  • 852700f3d5 mk-sbuild-lv: use same code an in man page for "To UPDATE the golden image" example and actually fix it, to use single quotes. Daniel Hahler 2009-05-05 23:42:42 +02:00
  • 865c68bb64 change directory out of the way of schroot problems. Kees Cook 2009-05-04 10:38:32 -07:00
  • e4da9b9daf mk-sbuild-lv: skip security repo for Debian unstable, thanks to Ryan Niebur (LP: #371569). Kees Cook 2009-05-04 09:16:24 -07:00
  • 23b776e222 Remove "test suffix" from r386. Sorry. Daniel Hahler 2009-04-30 22:21:12 +02:00
  • 57ba754a12 grab-merge: Output error message in case wget/rsync fails. Not tested for the rsync case! Daniel Hahler 2009-04-30 22:19:43 +02:00
  • 4cc9db7a36 releasing version 0.73 0.73 Colin Watson 2009-04-27 21:42:39 +01:00
  • 0e83a9c00a typos Colin Watson 2009-04-27 21:39:11 +01:00
  • f27b248164 * requestsync: - Send a "Content-Type: text/plain; charset=UTF-8" header (LP: #246307). Colin Watson 2009-04-27 21:28:22 +01:00
  • 0f4f16d6be Add squeeze. Colin Watson 2009-04-27 14:02:53 +01:00
  • 948eb42287 * bash_completion/pbuilder-dist: - Add karmic. Colin Watson 2009-04-27 14:02:11 +01:00
  • 46c72133dc * reverse-build-depends: - Set default release to karmic. Colin Watson 2009-04-27 14:01:06 +01:00
  • 723abf6259 * pull-lp-source: - Set default release to karmic. Colin Watson 2009-04-27 14:00:14 +01:00
  • aa8da91082 * dch-repeat: - Drop EOLed gutsy and add karmic. Colin Watson 2009-04-27 13:59:29 +01:00
  • 719d62ff14 * submittodebian: - New release cycle; use "karmic" usertag. Colin Watson 2009-04-27 13:58:54 +01:00
  • 6ed32f4dde pull-debian-source: use Getopt::Long Nathan Handler 2009-04-20 22:35:04 +00:00
  • ad0ee7b350 * pbuilder-dist: - Fallback to calling lsb_release if /etc/lsb-release doesn't exist; this makes it possible to run pbuilder-dist on Debian. Siegfried-Angel Gevatter Pujals 2009-04-18 23:38:52 +02:00
  • 4d314779fd Add new debian/changelog entry for the next release. Last commit was 0.72. Scott Kitterman 2009-04-15 23:08:02 -04:00
  • f14f840e4a Uploaded X.YY to RELEASE. 0.72 Scott Kitterman 2009-04-15 22:56:07 -04:00
  • c86b608ab1 mk-sbuild-lv: re-arrange installed packages list Kees Cook 2009-03-30 12:49:05 -07:00