~mounir-bsaibes/launchpad-work-items-tracker/mb-branch

« back to all changes in this revision

Viewing changes to 11.12.cfg

  • Committer: Danilo Segan
  • Date: 2011-12-13 09:49:28 UTC
  • mfrom: (32.1.3 linaro-config)
  • Revision ID: danilo@canonical.com-20111213094928-4tfc3v2441dca4hs
Add all Infrastructure projects automatically.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
    'u-boot-linaro': 'trunk',
102
102
# android
103
103
    'linaro-android': 'trunk',
104
 
# infrastructure
105
 
    #'linaro-infrastructure': None,
106
 
    'linaro-android-infrastructure': 'trunk',
107
 
    'linaro-ci': 'engineering',
108
 
    'linaro-image-tools': 'trunk',
109
 
    'linaro-infrastructure-misc': 'trunk',
110
 
    'svammel': 'trunk',
111
104
# validation
112
105
    'lava-android-test': 'trunk',
113
106
    'lava-celery': 'trunk',
129
122
    'linaro-octo-armhf': 'trunk',
130
123
}
131
124
 
 
125
 
 
126
####################################################
 
127
# Infrastructure subprojects fetched directly from #
 
128
# linaro-infrastructure project group.             #
 
129
####################################################
 
130
# XXX Danilo #903623: move this to workitem-tracker.
 
131
import urllib, simplejson, os.path
 
132
data = simplejson.loads(urllib.urlopen(
 
133
        'https://api.launchpad.net/1.0/linaro-infrastructure/projects').read())
 
134
infra_projects = {
 
135
    product['name']:os.path.basename(product['development_focus_link'])
 
136
    for product in data['entries']}
 
137
extra_projects.update(infra_projects)
 
138
 
132
139
# Ubuntu release to track
133
140
release = 'oneiric'
134
141