664 Commits

Author SHA1 Message Date
Jonathan Davies
5ad8a6ed00 TODO: pull-lp-source task done. 2009-05-28 03:48:41 -04:00
Jonathan Davies
d10afc2732 pull-lp-source: Use os.path.exists() instead of catching an error message
to check if dget is installed.
2009-05-28 03:37:38 -04:00
Jonathan Davies
b85dc1a793 pull-lp-source: Return an error message if dget is not installed. 2009-05-28 03:31:23 -04:00
Jonathan Davies
27f83c2602 pull-lp-source: Use launchpadlib instead of screen scraping to get and check if the Ubuntu release exists. 2009-05-28 03:12:35 -04:00
Jonathan Davies
332b507bc2 buildd: Added a comment to explain why we're importing launchpadlib here. 2009-05-28 03:11:04 -04:00
Jonathan Davies
5ba877aefd urlopener module no longer needed. 2009-05-28 03:10:08 -04:00
Jonathan Davies
6c2e20d030 Removed FIXME comment - connection problem this end. 2009-05-27 18:25:00 -04:00
Jonathan Davies
a876414c25 ubuntutools/lp/functions.py: Improved error messages, and made prettier functions. 2009-05-27 18:07:46 -04:00
Jonathan Davies
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.
2009-05-27 18:01:58 -04:00
Jonathan Davies
a256eca0b7 * buildd: Use launchpadlib to check the Ubuntu release is valid. 2009-05-27 17:59:41 -04:00
Jonathan Davies
fbc5418533 * buildd: Moved Launchpad module imports here - speed up usage
parsing to improve user experience.
2009-05-27 17:57:10 -04:00
Jonathan Davies
8dd4bf61c2 * manage-credentials: Remove extra line from help. 2009-05-27 17:29:12 -04:00
Jonathan Davies
2cd60187c0 * requestsync: urlopener module is no longer required here. 2009-05-27 16:50:42 -04:00
Jonathan Davies
2e747436a7 * ubuntutools/lp/libsupport.py: Fail if we're unable to import launchpadlib
(we need it to run stuff).
2009-05-27 16:48:32 -04:00
Nathan Handler
d131a9d995 Create new UNRELEASED debian/changelog entry 2009-05-23 20:46:52 +00:00
Nathan Handler
2dbdc62166 Uploaded 0.74 to karmic 0.74 2009-05-23 20:42:38 +00:00
Nathan Handler
67fec3a81a pull-debian-source: Modify to work for packages not in main (LP: #379822) 2009-05-23 20:40:21 +00:00
Nathan Handler
3aeb7c88b5 Revert changes from revision 397 2009-05-21 03:11:02 +00:00
Iain Lane
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). 2009-05-17 16:06:26 +01:00
Iain Lane
95708ccc3b Merge code improvement from Anders Kaseorg
[ Anders Kaseorg ]
* ubuntutools/lp/functions.py:
  - Simplify isLPTeamMember.
2009-05-17 15:11:12 +01:00
Nathan Handler
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)
2009-05-16 19:11:45 +00:00
Colin Watson
0a28dbb15d * update-maintainer:
- Convert to getopt so that '--section main' works as well as
    '--section=main'.
2009-05-12 00:05:06 +01:00
Anders Kaseorg
f762242ebb * ubuntutools/lp/functions.py:
- Simplify isLPTeamMember.

<Laney> andersk: what does super_teams do?
<andersk> Laney: I found super_teams using dir(launchpad.me).  It
returns the collection of teams that the person is a member of.  I'm
not sure it's actually documented.
<Laney> andersk: I've found the documentation to be a bit
lacking. Does it count indirect memberships too?
<andersk> Laney: yes, it appears to.
<Laney> andersk: If that's right then your version is better than mine
<Laney> andersk: Could you prepare a branch for merging? I'd just do
it directly but I'm a bit busy now so can't, and I'm afraid I'll
forget
2009-05-10 17:41:03 -04:00
Iain Lane
f25358a175 Close bug 2009-05-10 19:14:43 +01:00
Iain Lane
4b8839ef15 - Correct bug supervisor team to ubuntu-bugcontrol
- Remove team names from sponsorship message - makes the function much
    simpler

Also check if teams are valid using is_valid.
2009-05-09 21:08:46 +01:00
Iain Lane
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
2009-05-09 20:09:56 +01:00
Siegfried-Angel Gevatter Pujals
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.
2009-05-06 23:22:39 +02:00
Kees Cook
25488361a5 clarify that "UPDATE" meant "CHANGE", move man page apt into a separate example 2009-05-06 11:00:21 -07:00
Daniel Hahler
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. 2009-05-05 23:42:42 +02:00
Kees Cook
865c68bb64 change directory out of the way of schroot problems. 2009-05-04 10:38:32 -07:00
Kees Cook
e4da9b9daf mk-sbuild-lv: skip security repo for Debian unstable, thanks to
Ryan Niebur (LP: #371569).
2009-05-04 09:16:24 -07:00
Daniel Hahler
23b776e222 Remove "test suffix" from r386. Sorry. 2009-04-30 22:21:12 +02:00
Daniel Hahler
57ba754a12 grab-merge: Output error message in case wget/rsync fails. Not tested for the rsync case! 2009-04-30 22:19:43 +02:00
Colin Watson
4cc9db7a36 releasing version 0.73 0.73 2009-04-27 21:42:39 +01:00
Colin Watson
0e83a9c00a typos 2009-04-27 21:39:11 +01:00
Colin Watson
f27b248164 * requestsync:
- Send a "Content-Type: text/plain; charset=UTF-8" header (LP: #246307).
2009-04-27 21:28:22 +01:00
Colin Watson
0f4f16d6be Add squeeze. 2009-04-27 14:02:53 +01:00
Colin Watson
948eb42287 * bash_completion/pbuilder-dist:
- Add karmic.
2009-04-27 14:02:11 +01:00
Colin Watson
46c72133dc * reverse-build-depends:
- Set default release to karmic.
2009-04-27 14:01:06 +01:00
Colin Watson
723abf6259 * pull-lp-source:
- Set default release to karmic.
2009-04-27 14:00:14 +01:00
Colin Watson
aa8da91082 * dch-repeat:
- Drop EOLed gutsy and add karmic.
2009-04-27 13:59:29 +01:00
Colin Watson
719d62ff14 * submittodebian:
- New release cycle; use "karmic" usertag.
2009-04-27 13:58:54 +01:00
Nathan Handler
6ed32f4dde pull-debian-source: use Getopt::Long 2009-04-20 22:35:04 +00:00
Siegfried-Angel Gevatter Pujals
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.
2009-04-18 23:38:52 +02:00
Scott Kitterman
4d314779fd Add new debian/changelog entry for the next release. Last commit was 0.72. 2009-04-15 23:08:02 -04:00
Scott Kitterman
f14f840e4a Uploaded X.YY to RELEASE. 0.72 2009-04-15 22:56:07 -04:00
Kees Cook
c86b608ab1 mk-sbuild-lv: re-arrange installed packages list 2009-03-30 12:49:05 -07:00
Kees Cook
58cc975f12 * mk-sbuild-lv:
- Fully handle missing build log directories (LP: #342154).
  - More generalized approach to Distro-specific logic (LP: #342158).
2009-03-30 12:40:15 -07:00
Kees Cook
cadae8c549 revert Debian-specific changes -- this is supported via ~/.mk-sbuild-lv.sources, and should not have Debian-specific logic. especially should not change out which tool is being used to build the chroot 2009-03-30 12:06:04 -07:00
Kees Cook
a0f1b047a7 mk-sbuild-lv: updates to fix for bug 342154 (actually create directories) 2009-03-30 11:52:00 -07:00