Remove use of github urls

github fails all the time and really shouldn't be used for any automated
systems, but certainly not anything that's going to run in infra.

Replace the github urls with urls pointing to the OpenStack cgit
mirrors.

Change-Id: I2bdada775f71cbb7c484979d206679276e517088
This commit is contained in:
Monty Taylor 2014-06-08 11:33:23 -07:00
parent a07c179351
commit ae316668f2
13 changed files with 103 additions and 91 deletions

View File

@ -16,7 +16,7 @@ Project Info
------------- -------------
* Web-site: http://stackalytics.com/ * Web-site: http://stackalytics.com/
* Source Code: http://github.com/stackforge/stackalytics * Source Code: http://git.openstack.org/cgit/stackforge/stackalytics
* Wiki: https://wiki.openstack.org/wiki/Stackalytics * Wiki: https://wiki.openstack.org/wiki/Stackalytics
* Launchpad: https://launchpad.net/stackalytics * Launchpad: https://launchpad.net/stackalytics
* Blueprints: https://blueprints.launchpad.net/stackalytics * Blueprints: https://blueprints.launchpad.net/stackalytics

View File

@ -6866,7 +6866,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/nova.git", "uri": "git://git.openstack.org/openstack/nova.git",
"module": "nova", "module": "nova",
"organization": "openstack" "organization": "openstack"
}, },
@ -6905,7 +6905,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/keystone.git", "uri": "git://git.openstack.org/openstack/keystone.git",
"module": "keystone", "module": "keystone",
"organization": "openstack" "organization": "openstack"
}, },
@ -6939,7 +6939,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/cinder.git", "uri": "git://git.openstack.org/openstack/cinder.git",
"module": "cinder", "module": "cinder",
"organization": "openstack" "organization": "openstack"
}, },
@ -6978,7 +6978,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/glance.git", "uri": "git://git.openstack.org/openstack/glance.git",
"module": "glance", "module": "glance",
"organization": "openstack" "organization": "openstack"
}, },
@ -7017,7 +7017,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/neutron.git", "uri": "git://git.openstack.org/openstack/neutron.git",
"module": "neutron", "module": "neutron",
"organization": "openstack" "organization": "openstack"
}, },
@ -7056,7 +7056,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/horizon.git", "uri": "git://git.openstack.org/openstack/horizon.git",
"module": "horizon", "module": "horizon",
"organization": "openstack" "organization": "openstack"
}, },
@ -7095,7 +7095,7 @@
"tag_from": "1.13.0" "tag_from": "1.13.0"
} }
], ],
"uri": "git://github.com/openstack/swift.git", "uri": "git://git.openstack.org/openstack/swift.git",
"module": "swift", "module": "swift",
"organization": "openstack" "organization": "openstack"
}, },
@ -7127,7 +7127,7 @@
"tag_from": "0.8.0" "tag_from": "0.8.0"
} }
], ],
"uri": "git://github.com/openstack/python-keystoneclient.git", "uri": "git://git.openstack.org/openstack/python-keystoneclient.git",
"module": "python-keystoneclient", "module": "python-keystoneclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7159,7 +7159,7 @@
"tag_from": "2.17.0" "tag_from": "2.17.0"
} }
], ],
"uri": "git://github.com/openstack/python-novaclient.git", "uri": "git://git.openstack.org/openstack/python-novaclient.git",
"module": "python-novaclient", "module": "python-novaclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7186,7 +7186,7 @@
"tag_from": "1.0.8" "tag_from": "1.0.8"
} }
], ],
"uri": "git://github.com/openstack/python-cinderclient.git", "uri": "git://git.openstack.org/openstack/python-cinderclient.git",
"module": "python-cinderclient", "module": "python-cinderclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7208,7 +7208,7 @@
"tag_from": "0.11.0" "tag_from": "0.11.0"
} }
], ],
"uri": "git://github.com/openstack/python-glanceclient.git", "uri": "git://git.openstack.org/openstack/python-glanceclient.git",
"module": "python-glanceclient", "module": "python-glanceclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7235,7 +7235,7 @@
"tag_from": "2.3.1" "tag_from": "2.3.1"
} }
], ],
"uri": "git://github.com/openstack/python-neutronclient.git", "uri": "git://git.openstack.org/openstack/python-neutronclient.git",
"module": "python-neutronclient", "module": "python-neutronclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7257,7 +7257,7 @@
"tag_from": "1.8.0" "tag_from": "1.8.0"
} }
], ],
"uri": "git://github.com/openstack/python-swiftclient.git", "uri": "git://git.openstack.org/openstack/python-swiftclient.git",
"module": "python-swiftclient", "module": "python-swiftclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7286,7 +7286,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/heat.git", "uri": "git://git.openstack.org/openstack/heat.git",
"module": "heat", "module": "heat",
"organization": "openstack" "organization": "openstack"
}, },
@ -7308,7 +7308,7 @@
"tag_from": "0.2.5" "tag_from": "0.2.5"
} }
], ],
"uri": "git://github.com/openstack/python-heatclient.git", "uri": "git://git.openstack.org/openstack/python-heatclient.git",
"module": "python-heatclient", "module": "python-heatclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7332,7 +7332,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/ceilometer.git", "uri": "git://git.openstack.org/openstack/ceilometer.git",
"module": "ceilometer", "module": "ceilometer",
"organization": "openstack" "organization": "openstack"
}, },
@ -7349,7 +7349,7 @@
"tag_from": "1.0.6" "tag_from": "1.0.6"
} }
], ],
"uri": "git://github.com/openstack/python-ceilometerclient.git", "uri": "git://git.openstack.org/openstack/python-ceilometerclient.git",
"module": "python-ceilometerclient", "module": "python-ceilometerclient",
"organization": "openstack" "organization": "openstack"
}, },
@ -7373,7 +7373,7 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/oslo-incubator.git", "uri": "git://git.openstack.org/openstack/oslo-incubator.git",
"module": "oslo-incubator", "module": "oslo-incubator",
"organization": "openstack" "organization": "openstack"
}, },
@ -7391,7 +7391,7 @@
"tag_from": "1.2.1" "tag_from": "1.2.1"
} }
], ],
"uri": "git://github.com/openstack/oslo.config.git", "uri": "git://git.openstack.org/openstack/oslo.config.git",
"module": "oslo.config", "module": "oslo.config",
"organization": "openstack" "organization": "openstack"
}, },
@ -7414,7 +7414,7 @@
} }
], ],
"uri": "git://github.com/openstack/compute-api.git", "uri": "git://git.openstack.org/openstack/compute-api.git",
"module": "compute-api", "module": "compute-api",
"organization": "openstack" "organization": "openstack"
}, },
@ -7436,7 +7436,7 @@
"tag_from": "d000b31" "tag_from": "d000b31"
} }
], ],
"uri": "git://github.com/openstack/identity-api.git", "uri": "git://git.openstack.org/openstack/identity-api.git",
"module": "identity-api", "module": "identity-api",
"organization": "openstack" "organization": "openstack"
}, },
@ -7459,7 +7459,7 @@
} }
], ],
"uri": "git://github.com/openstack/image-api.git", "uri": "git://git.openstack.org/openstack/image-api.git",
"module": "image-api", "module": "image-api",
"organization": "openstack" "organization": "openstack"
}, },
@ -7482,7 +7482,7 @@
} }
], ],
"uri": "git://github.com/openstack/netconn-api.git", "uri": "git://git.openstack.org/openstack/netconn-api.git",
"module": "netconn-api", "module": "netconn-api",
"organization": "openstack" "organization": "openstack"
}, },
@ -7505,7 +7505,7 @@
} }
], ],
"uri": "git://github.com/openstack/object-api.git", "uri": "git://git.openstack.org/openstack/object-api.git",
"module": "object-api", "module": "object-api",
"organization": "openstack" "organization": "openstack"
}, },
@ -7527,7 +7527,7 @@
"tag_from": "5b33af5" "tag_from": "5b33af5"
} }
], ],
"uri": "git://github.com/openstack/volume-api.git", "uri": "git://git.openstack.org/openstack/volume-api.git",
"module": "volume-api", "module": "volume-api",
"organization": "openstack" "organization": "openstack"
}, },
@ -7561,7 +7561,7 @@
"tag_from": "7dcdb23" "tag_from": "7dcdb23"
} }
], ],
"uri": "git://github.com/openstack/openstack-manuals.git", "uri": "git://git.openstack.org/openstack/openstack-manuals.git",
"module": "openstack-manuals", "module": "openstack-manuals",
"organization": "openstack" "organization": "openstack"
}, },
@ -7578,7 +7578,7 @@
"tag_from": "0.11" "tag_from": "0.11"
} }
], ],
"uri": "git://github.com/openstack/openstack-doc-tools.git", "uri": "git://git.openstack.org/openstack/openstack-doc-tools.git",
"module": "openstack-doc-tools", "module": "openstack-doc-tools",
"organization": "openstack" "organization": "openstack"
}, },
@ -7600,7 +7600,7 @@
"tag_from": "1883cbb" "tag_from": "1883cbb"
} }
], ],
"uri": "git://github.com/openstack/operations-guide.git", "uri": "git://git.openstack.org/openstack/operations-guide.git",
"module": "operations-guide", "module": "operations-guide",
"organization": "openstack" "organization": "openstack"
}, },
@ -7622,7 +7622,7 @@
"tag_from": "b951d9651" "tag_from": "b951d9651"
} }
], ],
"uri": "git://github.com/openstack/api-site.git", "uri": "git://git.openstack.org/openstack/api-site.git",
"module": "api-site", "module": "api-site",
"organization": "openstack" "organization": "openstack"
}, },
@ -7631,7 +7631,7 @@
"aliases": [ "aliases": [
"savanna" "savanna"
], ],
"uri": "git://github.com/openstack/sahara.git", "uri": "git://git.openstack.org/openstack/sahara.git",
"organization": "openstack", "organization": "openstack",
"releases": [ "releases": [
{ {
@ -7654,7 +7654,7 @@
}, },
{ {
"module": "sahara-dashboard", "module": "sahara-dashboard",
"uri": "git://github.com/openstack/sahara-dashboard.git", "uri": "git://git.openstack.org/openstack/sahara-dashboard.git",
"organization": "openstack", "organization": "openstack",
"releases": [ "releases": [
{ {
@ -7671,7 +7671,7 @@
}, },
{ {
"module": "python-saharaclient", "module": "python-saharaclient",
"uri": "git://github.com/openstack/python-saharaclient.git", "uri": "git://git.openstack.org/openstack/python-saharaclient.git",
"organization": "openstack", "organization": "openstack",
"releases": [ "releases": [
{ {
@ -7691,7 +7691,7 @@
"aliases": [ "aliases": [
"fuel" "fuel"
], ],
"uri": "git://github.com/stackforge/fuel-main.git", "uri": "git://git.openstack.org/stackforge/fuel-main.git",
"organization": "stackforge" "organization": "stackforge"
} }
], ],

View File

@ -3,7 +3,7 @@
# debug = False # debug = False
# Default data # Default data
# default_data_uri = https://raw.github.com/stackforge/stackalytics/master/etc/default_data.json # default_data_uri = https://git.openstack.org/cgit/stackforge/stackalytics/plain/etc/default_data.json
# The folder that holds all project sources to analyze # The folder that holds all project sources to analyze
# sources_root = /var/local/stackalytics # sources_root = /var/local/stackalytics
@ -21,7 +21,7 @@
# days_to_update_members = 7 # days_to_update_members = 7
# The address of file with corrections data # The address of file with corrections data
# corrections_uri = https://raw.github.com/stackforge/stackalytics/master/etc/corrections.json # corrections_uri = https://git.openstack.org/cgit/stackforge/stackalytics/plain/etc/corrections.json
# URI of review system # URI of review system
# review_uri = gerrit://review.openstack.org # review_uri = gerrit://review.openstack.org
@ -36,7 +36,7 @@
# force_update = False # force_update = False
# The address of file with list of programs # The address of file with list of programs
# program_list_uri = https://raw.github.com/openstack/governance/master/reference/programs.yaml # program_list_uri = https://git.openstack.org/cgit/openstack/governance/plain/reference/programs.yaml
# Default metric # Default metric
# default_metric = marks # default_metric = marks

View File

@ -86,19 +86,19 @@
"tag_from": "2014.1" "tag_from": "2014.1"
} }
], ],
"uri": "git://github.com/openstack/glance.git", "uri": "git://git.openstack.org/openstack/glance.git",
"module": "glance", "module": "glance",
"organization": "openstack" "organization": "openstack"
}, },
{ {
"module": "python-glanceclient", "module": "python-glanceclient",
"organization": "openstack", "organization": "openstack",
"uri": "git://github.com/openstack/python-glanceclient.git" "uri": "git://git.openstack.org/openstack/python-glanceclient.git"
}, },
{ {
"module": "stackalytics", "module": "stackalytics",
"organization": "stackforge", "organization": "stackforge",
"uri": "git://github.com/stackforge/stackalytics.git" "uri": "git://git.openstack.org/stackforge/stackalytics.git"
} }
], ],

View File

@ -18,8 +18,8 @@ from oslo.config import cfg
OPTS = [ OPTS = [
cfg.StrOpt('default-data-uri', cfg.StrOpt('default-data-uri',
default='https://raw.github.com/stackforge/stackalytics/' default='https://git.openstack.org/cgit/'
'master/etc/default_data.json', 'stackforge/stackalytics/plain/etc/default_data.json',
help='URI for default data'), help='URI for default data'),
cfg.StrOpt('sources-root', default='/var/local/stackalytics', cfg.StrOpt('sources-root', default='/var/local/stackalytics',
help='The folder that holds all project sources to analyze'), help='The folder that holds all project sources to analyze'),
@ -32,8 +32,8 @@ OPTS = [
cfg.IntOpt('days_to_update_members', default=7, cfg.IntOpt('days_to_update_members', default=7,
help='Number of days to update members'), help='Number of days to update members'),
cfg.StrOpt('corrections-uri', cfg.StrOpt('corrections-uri',
default=('https://raw.github.com/stackforge/stackalytics/' default=('https://git.openstack.org/cgit/'
'master/etc/corrections.json'), 'stackforge/stackalytics/plain/etc/corrections.json'),
help='The address of file with corrections data'), help='The address of file with corrections data'),
cfg.StrOpt('review-uri', default='gerrit://review.openstack.org', cfg.StrOpt('review-uri', default='gerrit://review.openstack.org',
help='URI of review system'), help='URI of review system'),
@ -44,8 +44,8 @@ OPTS = [
cfg.BoolOpt('force-update', default=False, cfg.BoolOpt('force-update', default=False,
help='Forcibly read default data and update records'), help='Forcibly read default data and update records'),
cfg.StrOpt('program-list-uri', cfg.StrOpt('program-list-uri',
default=('https://raw.github.com/openstack/governance/' default=('https://git.openstack.org/cgit/'
'master/reference/programs.yaml'), 'openstack/governance/plain/reference/programs.yaml'),
help='The address of file with list of programs'), help='The address of file with list of programs'),
cfg.StrOpt('default-metric', default='marks', cfg.StrOpt('default-metric', default='marks',
help='Default metric'), help='Default metric'),

View File

@ -22,12 +22,13 @@ class TestAPICompanies(test_api.TestAPI):
def test_get_companies(self): def test_get_companies(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'project_type': 'openstack', {'repos': [
{'module': 'nova', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/nova.git'}, 'uri': 'git://git.openstack.org/openstack/nova.git'},
{'module': 'glance', 'project_type': 'openstack', {'module': 'glance', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/glance.git'}], 'uri': 'git://git.openstack.org/openstack/glance.git'}],
'project_types': [ 'project_types': [
{'id': 'openstack', 'title': 'OpenStack', {'id': 'openstack', 'title': 'OpenStack',
'modules': ['nova', 'glance']} 'modules': ['nova', 'glance']}
@ -76,12 +77,13 @@ class TestAPICompanies(test_api.TestAPI):
def test_get_company(self): def test_get_company(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'project_type': 'openstack', {'repos': [
{'module': 'nova', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/nova.git'}, 'uri': 'git://git.openstack.org/openstack/nova.git'},
{'module': 'glance', 'project_type': 'openstack', {'module': 'glance', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/glance.git'}]}, 'uri': 'git://git.openstack.org/openstack/glance.git'}]},
test_api.make_records(record_type=['commit'], test_api.make_records(record_type=['commit'],
loc=[10, 20, 30], loc=[10, 20, 30],
module=['glance'], module=['glance'],

View File

@ -22,10 +22,11 @@ class TestAPIModules(test_api.TestAPI):
def test_get_modules(self): def test_get_modules(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'organization': 'openstack', {'repos': [
'uri': 'git://github.com/openstack/nova.git'}, {'module': 'nova', 'organization': 'openstack',
'uri': 'git://git.openstack.org/openstack/nova.git'},
{'module': 'glance', 'organization': 'openstack', {'module': 'glance', 'organization': 'openstack',
'uri': 'git://github.com/openstack/glance.git'}], 'uri': 'git://git.openstack.org/openstack/glance.git'}],
'module_groups': { 'module_groups': {
'nova-group': {'id': 'nova-group', 'nova-group': {'id': 'nova-group',
'module_group_name': 'nova-group', 'module_group_name': 'nova-group',
@ -74,8 +75,9 @@ class TestAPIModules(test_api.TestAPI):
def test_get_module(self): def test_get_module(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'organization': 'openstack', {'repos': [
'uri': 'git://github.com/openstack/nova.git'}], {'module': 'nova', 'organization': 'openstack',
'uri': 'git://git.openstack.org/openstack/nova.git'}],
'module_groups': { 'module_groups': {
'nova-group': {'id': 'nova-group', 'nova-group': {'id': 'nova-group',
'module_group_name': 'nova-group', 'module_group_name': 'nova-group',

View File

@ -22,10 +22,11 @@ class TestAPIStats(test_api.TestAPI):
def test_get_modules(self): def test_get_modules(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'organization': 'openstack', {'repos': [
'uri': 'git://github.com/openstack/nova.git'}, {'module': 'nova', 'organization': 'openstack',
'uri': 'git://git.openstack.org/openstack/nova.git'},
{'module': 'glance', 'organization': 'openstack', {'module': 'glance', 'organization': 'openstack',
'uri': 'git://github.com/openstack/glance.git'}], 'uri': 'git://git.openstack.org/openstack/glance.git'}],
'releases': [{'release_name': 'prehistory', 'releases': [{'release_name': 'prehistory',
'end_date': 1234567890}, 'end_date': 1234567890},
{'release_name': 'icehouse', {'release_name': 'icehouse',
@ -58,12 +59,13 @@ class TestAPIStats(test_api.TestAPI):
def test_get_engineers(self): def test_get_engineers(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'project_type': 'openstack', {'repos': [
{'module': 'nova', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/nova.git'}, 'uri': 'git://git.openstack.org/openstack/nova.git'},
{'module': 'glance', 'project_type': 'openstack', {'module': 'glance', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/glance.git'}], 'uri': 'git://git.openstack.org/openstack/glance.git'}],
'releases': [{'release_name': 'prehistory', 'releases': [{'release_name': 'prehistory',
'end_date': 1234567890}, 'end_date': 1234567890},
{'release_name': 'icehouse', {'release_name': 'icehouse',
@ -110,12 +112,13 @@ class TestAPIStats(test_api.TestAPI):
def test_get_engineers_extended(self): def test_get_engineers_extended(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'project_type': 'openstack', {'repos': [
{'module': 'nova', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/nova.git'}, 'uri': 'git://git.openstack.org/openstack/nova.git'},
{'module': 'glance', 'project_type': 'openstack', {'module': 'glance', 'project_type': 'openstack',
'organization': 'openstack', 'organization': 'openstack',
'uri': 'git://github.com/openstack/glance.git'}], 'uri': 'git://git.openstack.org/openstack/glance.git'}],
'releases': [{'release_name': 'prehistory', 'releases': [{'release_name': 'prehistory',
'end_date': 1234567890}, 'end_date': 1234567890},
{'release_name': 'icehouse', {'release_name': 'icehouse',

View File

@ -22,8 +22,9 @@ class TestAPIUsers(test_api.TestAPI):
def test_users(self): def test_users(self):
with test_api.make_runtime_storage( with test_api.make_runtime_storage(
{'repos': [{'module': 'nova', 'organization': 'openstack', {'repos': [
'uri': 'git://github.com/openstack/nova.git'}], {'module': 'nova', 'organization': 'openstack',
'uri': 'git://git.openstack.org/openstack/nova.git'}],
'project_types': [ 'project_types': [
{'id': 'openstack', 'title': 'openstack', {'id': 'openstack', 'title': 'openstack',
'modules': ['nova', 'glance']}], 'modules': ['nova', 'glance']}],
@ -63,8 +64,9 @@ class TestAPIUsers(test_api.TestAPI):
'seq': 1, 'user_id': 'john_doe', 'user_name': 'John Doe', 'seq': 1, 'user_id': 'john_doe', 'user_name': 'John Doe',
'companies': [{'company_name': 'NEC', 'end_date': 0}], 'companies': [{'company_name': 'NEC', 'end_date': 0}],
'emails': 'john_doe@gmail.com'}, 'emails': 'john_doe@gmail.com'},
'repos': [{'module': 'nova', 'organization': 'openstack', 'repos': [
'uri': 'git://github.com/openstack/nova.git'}], {'module': 'nova', 'organization': 'openstack',
'uri': 'git://git.openstack.org/openstack/nova.git'}],
'module_groups': {'openstack': { 'module_groups': {'openstack': {
'module_group_name': 'openstack', 'module_group_name': 'openstack',
'modules': ['nova']}}}, 'modules': ['nova']}}},

View File

@ -53,7 +53,7 @@ DEFAULT_DATA = {
'branches': ['master'], 'branches': ['master'],
'module': 'stackalytics', 'module': 'stackalytics',
'project_type': 'stackforge', 'project_type': 'stackforge',
'uri': 'git://github.com/stackforge/stackalytics.git' 'uri': 'git://git.openstack.org/stackforge/stackalytics.git'
} }
], ],
'releases': [ 'releases': [

View File

@ -56,16 +56,19 @@ class TestDefaultDataProcessor(testtools.TestCase):
with mock.patch('stackalytics.processor.default_data_processor.' with mock.patch('stackalytics.processor.default_data_processor.'
'_retrieve_project_list_from_github') as retriever: '_retrieve_project_list_from_github') as retriever:
retriever.return_value = [ retriever.return_value = [
{'module': 'nova', 'uri': 'git://github.com/openstack/nova', {'module': 'nova',
'uri': 'git://git.openstack.org/openstack/nova',
'organization': 'openstack'}, 'organization': 'openstack'},
{'module': 'qa', 'uri': 'git://github.com/openstack/qa', {'module': 'qa', 'uri': 'git://git.openstack.org/openstack/qa',
'organization': 'openstack'}, 'organization': 'openstack'},
] ]
dd = { dd = {
'repos': [ 'repos': [
{'module': 'qa', 'uri': 'git://github.com/openstack/qa', {'module': 'qa',
'uri': 'git://git.openstack.org/openstack/qa',
'organization': 'openstack'}, 'organization': 'openstack'},
{'module': 'tux', 'uri': 'git://github.com/stackforge/tux', {'module': 'tux',
'uri': 'git://git.openstack.org/stackforge/tux',
'organization': 'stackforge'}, 'organization': 'stackforge'},
], ],
'project_sources': [{'organization': 'openstack', 'project_sources': [{'organization': 'openstack',

View File

@ -45,7 +45,7 @@ REPOS = [
"branches": ["master"], "branches": ["master"],
"module": "stackalytics", "module": "stackalytics",
"project_type": "stackforge", "project_type": "stackforge",
"uri": "git://github.com/stackforge/stackalytics.git" "uri": "git://git.openstack.org/stackforge/stackalytics.git"
} }
] ]

View File

@ -25,7 +25,7 @@ class TestVcsProcessor(testtools.TestCase):
self.repo = { self.repo = {
'module': 'dummy', 'module': 'dummy',
'uri': 'git://github.com/dummy.git', 'uri': 'git://git.openstack.org/dummy.git',
'releases': [] 'releases': []
} }
self.git = vcs.Git(self.repo, '/tmp') self.git = vcs.Git(self.repo, '/tmp')