15 Commits

Author SHA1 Message Date
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
Luca Falavigna
d830c5a4c1 Add per-package upload permission checks. 2009-02-19 23:59:12 +01:00
Loïc Minier
4276d59cbc Import urllib2 and sys in lp/functions.py, fixing requestsync. 2009-02-06 12:13:59 +01:00
Jonathan Davies
18a289f7ec * Removed ubuntutools/misc.py's mkdir function - superseded by
os.makedirs().
2009-01-26 09:34:09 +00:00
Jonathan Davies
a6c88f7e6a Merge in Iain's changes. 2009-01-25 10:11:06 +00:00
Jonathan Davies
64a93270d2 * ubuntutools/lp: Added copyright to functions.py and various corrections to
other files.
2009-01-25 10:04:06 +00:00
Iain Lane
354a42b669 ubuntutools/lp/functions.py: Rename urlopener import as it conflicts with
a variable, causing an error.
2009-01-25 01:05:02 +00:00
Jonathan Davies
fc706eafe0 ubuntutools/lp/libsupport.py: Added glob to imports. 2009-01-21 10:50:26 +00:00
Jonathan Davies
88abaa56cf More module reorganzation. 2009-01-19 22:37:27 +00:00
Jonathan Davies
6f0f40360f * ubuntutools/lplibsupport.py: Correct copyright.
* manage-credentials: Changed imports for new files.
2009-01-19 17:57:46 +00:00
Jonathan Davies
66e11f7e49 * common.py: Split into multiple files in ubuntutools/.
* buildd: Converted new imports.
2009-01-19 17:55:00 +00:00
Jonathan Davies
59aac908c1 * Moved common.py to ubuntutools/ subdirectory to avoid possible conflicts
in Python packaging and fixed all imports as necessary.
2009-01-17 11:23:08 +00:00
Siegfried-Angel Gevatter Pujals
0dc2681b17 Move ubuntutools/common.py to common.py. 2008-08-11 22:53:25 +02:00
Jonathan Patrick Davies
d3f18b8ec7 * buildd: Imported from Martin Pitt's scripts at:
http://people.ubuntu.com/~pitti/scripts/buildd.py
* ubuntutools/common.py: Python module to be used to enable the use of cookies
  to authenticate with Launchpad.
* debian/ubuntu-dev-tools.install: Added line to install common.py above to
  the correct location.
2008-08-11 21:48:40 +01:00
Siegfried-Angel Gevatter Pujals
ba584a2699 Rename new binary to python-ubuntutools (ubuntutools is a namespace now). Minor changes. 2008-02-18 17:33:02 +01:00