Skip to content

Commit

Permalink
oca-copy-branches reads and displays the mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
guewen committed Jun 24, 2014
1 parent 59c0aa6 commit 18f0170
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tools/copy_branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@

def main():
gh = login()
branches = resource_string(__name__, 'branches.yaml')
import pdb; pdb.set_trace()
org = gh.organization('oca')
projects = resource_string(__name__, 'branches.yaml')
projects = yaml.load(projects)
for project in projects['projects']:
gh_url = project['github']
for source, target in project['branches']:
print(source, '→', target, 'on', gh_url)


if __name__ == '__main__':
Expand Down

0 comments on commit 18f0170

Please sign in to comment.