675 Commits

Author SHA1 Message Date
Colin Watson
6730937ea3 Rewrite 404main using python-apt. Note that this requires python-apt
0.7.9, not in jaunty.
2009-06-09 11:00:00 +01:00
Colin Watson
f01cebdaea I think "trustworthy" is a better choice of word than "trustful" here 2009-06-09 10:57:24 +01:00
Jonathan Davies
7eb81c1185 Removed (superseded by Launchpad API support)
* ubuntutools/lp/cookie.py
 * ubuntutools/lp/urlopener.py

And removed references from these files as necessary:
 * requestsync
 * ubuntutools/lp/functions.py
2009-06-09 10:19:58 +01:00
Jonathan Davies
a58f36a5db * debian/changelog: Added all my pervious changes. 2009-06-09 10:12:04 +01:00
Jonathan Davies
fbc1f1f6d8 * buildd: Some full stops. 2009-06-09 10:03:50 +01:00
Michael Bienia
f760b4e845 * buildd: Use LP API for retrying or rescoring of builds. 2009-06-09 10:34:21 +02:00
Colin Watson
fa2a6f3dce no need for *ubuntu* versions here 2009-06-09 09:14:45 +01:00
Jonathan Davies
85a8659398 update-maintainer: Do not make changes if maintainer email is set to an
@ubuntu.com email address.
2009-05-31 21:54:49 +01:00
Jonathan Davies
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
2009-05-31 21:45:35 +01:00
Jonathan Davies
78b7833ea9 buildd: And support different releases with API too. 2009-05-28 06:34:53 -04:00
Jonathan Davies
ed15916481 buildd: Implemented partial launchpadlib support (displays build status
and arches for now).
2009-05-28 05:53:45 -04:00
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