Switch to unified view

a/scripts/tracker-rip.py b/scripts/tracker-rip.py
...
...
4
from urlparse import urljoin
4
from urlparse import urljoin
5
5
6
from pyforge.lib import rest_api
6
from pyforge.lib import rest_api
7
7
8
SRC_CRED=dict(
8
SRC_CRED=dict(
9
        api_key='b15b105ee580a8652616',
9
        api_key='c03efc6cca1cf78be9e9',
10
        secret_key='d2a3315517ba81491ed7b7498636495023b8fb2d72e461457a20aa4b9e7ad032e9a8d07187f36661',
10
        secret_key='575eda2f25f6490d8cfe5d02f2506c010112894d0ea10660e43157a87a7e620c61ac06397b028af1',
11
        http_username=raw_input('LDAP username: '),
11
        http_username=raw_input('LDAP username: '),
12
        http_password=getpass.getpass('LDAP password: '))
12
        http_password=getpass.getpass('LDAP password: '))
13
SRC_SERVER='https://newforge.sf.geek.net/'
13
SRC_SERVER='https://newforge.sf.geek.net/'
14
SRC_TOOL='/rest/p/forge/tickets/'
14
SRC_TOOL='/rest/p/forge/tickets/'
15
15
16
# Credentials for sf-overlords
16
# Credentials for sf-overlords
17
# DST_CRED=dict(
18
#     api_key='a4a88c67179137053d70',
19
#     secret_key='fcc48a0c31459e99a88cc42cdd7f908fad78b283ca30a86caac1ab65036ff71fc195a18e56534dc5')
20
# DST_SERVER='http://sourceforge.net/'
21
# DST_TOOL='/rest/p/allura/tickets/'
17
DST_CRED=dict(
22
DST_CRED=dict(
18
    api_key='a4a88c67179137053d70',
23
    api_key='aa7244645424513d9636',
19
    secret_key='fcc48a0c31459e99a88cc42cdd7f908fad78b283ca30a86caac1ab65036ff71fc195a18e56534dc5')
24
    secret_key='cd1d97be98497f7b615b297aa2061177ddf6d42b95a8484193f84690486694234dbf817efc3b2d6e')
20
DST_SERVER='http://sourceforge.net/'
25
DST_SERVER='http://localhost:8080/'
21
DST_TOOL='/rest/p/allura/tickets/'
26
DST_TOOL='/rest/p/test/bugs/'
22
27
23
FAKE_TICKET={
28
FAKE_TICKET={
24
    u'created_date': u'2010-03-08 17:29:42.802000',
29
    u'created_date': u'2010-03-08 17:29:42.802000',
25
    u'assigned_to_id': u'',
30
    u'assigned_to_id': u'',
26
    u'assigned_to': u'',
31
    u'assigned_to': u'',