Jonathan Patrick Davies
49c0e14da3
* common.py:
...
- If loading a cookie file raises an exception exit.
- Improve cookie file writing.
2008-08-27 15:33:18 +01:00
Jonathan Patrick Davies
70fc6fa3c7
* common.py: New functions: checkReleaseExists() and checkSourceExists().
...
* buildd and pull-lp-source: Adapt code to use new functions above.
2008-08-27 10:22:08 +01:00
Kees Cook
884e3a8575
common.py: allow for multiple firefox instances, check all possible
...
cookie files.
2008-08-20 10:59:31 -07:00
Jonathan Patrick Davies
307417e56a
* common.py: What is with this little dot?
2008-08-14 23:12:45 +01:00
Siegfried-Angel Gevatter Pujals
91f62881df
- Add functions mkdir and readlist.
2008-08-12 23:42:44 +02:00
Siegfried-Angel Gevatter Pujals
0faf0bc3e5
Relicense Kees' scripts to GPLv3+. Add sbuild as alternative recommend to pbuilder.
2008-08-12 20:15:15 +02:00
Jonathan Patrick Davies
8d89a43e4b
* common.py: Use os.path.expanduser() instead of os.environ.
2008-08-12 18:48:56 +01:00
Jonathan Patrick Davies
a37b0de322
* common.py: Use os.path.expanduser() instead of os.environ.
2008-08-12 18:43:21 +01:00
Jonathan Patrick Davies
b0528dd32e
* requestsync: Fixes to permission checking.
...
* common.py: Change cookie file permissions to read and write only by user.
2008-08-12 18:18:11 +01:00
Jonathan Patrick Davies
05c55bfbe2
* common.py: Removed print "Using cookie file" line.
...
* requestsync:
- Using the Launchpad cookie file, validate that the user is a member
the ubuntu-dev team on Launchpad. Thus, checking if the user needs
sponsership or not (LP: #130648 ).
* doc/requestsync.1: Removed mention of -s flag. Obsoleted by the above.
2008-08-12 13:52:05 +01:00
Jonathan Patrick Davies
fb7bb815e0
* common.py: Use sqlite3 instead of pysqlite2 as it forms part of Python 2.5.
...
* debian/control: Changed XS-Python-Version to >= 2.5.
2008-08-11 23:15:47 +01:00
Jonathan Patrick Davies
0adea5faa0
* requestsync: Use the functions in the common.py file above to authenticate
...
with Launchpad.
* common.py: Check that the file written has Launchpad entries.
* buildd: Use new functions in common.py.
2008-08-11 22:53:37 +01:00
Siegfried-Angel Gevatter Pujals
0dc2681b17
Move ubuntutools/common.py to common.py.
2008-08-11 22:53:25 +02:00