def mapping_func(r):
     orig_url = r.getAttribute('fetch')
     m = repo_manifest.map_remote(r, self.config['repo_remote_mappings'])
     if not m:
         self.fatal("Missing configuration for remote '%s'" % orig_url)
     self._remote_mappings[m.getAttribute('fetch')] = orig_url
     return m
Exemple #2
0
 def mapping_func(r):
     orig_url = r.getAttribute('fetch')
     m = repo_manifest.map_remote(r,
                                  self.config['repo_remote_mappings'])
     if not m:
         self.fatal("Missing configuration for remote '%s'" % orig_url)
     self._remote_mappings[m.getAttribute('fetch')] = orig_url
     return m
 def mapping_func(r):
     orig_url = r.getAttribute('fetch')
     m = repo_manifest.map_remote(r, self.config['repo_remote_mappings'])
     self._remote_mappings[m.getAttribute('fetch')] = orig_url
     return m
Exemple #4
0
 def mapping_func(r):
     orig_url = r.getAttribute('fetch')
     m = repo_manifest.map_remote(r, self.config['repo_remote_mappings'])
     self._remote_mappings[m.getAttribute('fetch')] = orig_url
     return m