Lines Matching full:branches

78             branches = params['branch'].split(',')
79 index.config['BRANCH'] = branches
81 branches = ['*']
84 def load_cache(path, index, branches=[]): argument
89 # Filter the branches on loaded files...
91 for branch in branches:
93 if 'branches' in pindex:
94 for br in pindex['branches']:
98 if 'branches' in pindex:
99 for br in pindex['branches']:
103 index.add_raw_element('branches', layerindexlib.Branch, newpBranch)
105 logger.debug('No matching branches (%s) in index file(s)' % branches)
106 # No matching branches.. return nothing...
120 load_cache(up.path, index, branches)
129 load_cache(fpath, index, branches)
191 branches = params['branch'].split(',')
192 index.config['BRANCH'] = branches
194 branches = ['*']
204 # Load all the requested branches at the same time time,
205 # a special branch of '*' means load all branches
207 if "*" not in branches:
208 filter = "?filter=name:%s" % "OR".join(branches)
210 logger.debug("Loading %s from %s" % (branches, index.apilinks['branches']))
213 pindex['branches'] = _get_json_response(index.apilinks['branches'] + filter,
215 if not pindex['branches']:
216 logger.debug("No valid branches (%s) found at url %s." % (branch, url))
218 index.add_raw_element("branches", layerindexlib.Branch, pindex['branches'])
235 for branch in index.branches:
236 filter = "?filter=branch__name:%s" % index.branches[branch].name
244 … logger.debug("No valid layer branches (%s) found at url %s." % (branches or "*", url))
252 filter = "?filter=layerbranch__branch__name:%s" % index.branches[branch].name
317 pindex['branches'] = []
322 if layerbranches[layerbranchid].branch._data not in pindex['branches']:
323 pindex['branches'].append(layerbranches[layerbranchid].branch._data)
335 entry == 'branches' or \
359 entry == 'branches' or \
366 pindex['branches'] = [layerbranches[layerbranchid].branch._data]
386 …fname = index.config['DESCRIPTION'] + '__' + pindex['branches'][0]['name'] + '__' + pindex['layerI…