|
a/scripts/tracker-rip.py |
|
b/scripts/tracker-rip.py |
1 |
#!/usr/bin/python
|
1 |
#!/usr/bin/python
|
2 |
import sys
|
2 |
import sys
|
3 |
import getpass
|
3 |
import getpass
|
4 |
from urlparse import urljoin
|
4 |
from urlparse import urljoin
|
5 |
|
5 |
|
6 |
from pyforge.lib import rest_api
|
6 |
from allura.lib import rest_api
|
7 |
|
7 |
|
8 |
SRC_CRED=dict(
|
8 |
SRC_CRED=dict(
|
9 |
api_key='c03efc6cca1cf78be9e9',
|
9 |
api_key='c03efc6cca1cf78be9e9',
|
10 |
secret_key='575eda2f25f6490d8cfe5d02f2506c010112894d0ea10660e43157a87a7e620c61ac06397b028af1',
|
10 |
secret_key='575eda2f25f6490d8cfe5d02f2506c010112894d0ea10660e43157a87a7e620c61ac06397b028af1',
|
11 |
http_username=raw_input('LDAP username: '),
|
11 |
http_username=raw_input('LDAP username: '),
|