Mercurial > hg > soundsoftware-site
comparison extra/soundsoftware/create-repo-authormaps.rb @ 1548:fd4cc11ae096 feature_1136
Skip private projects
author | Chris Cannam |
---|---|
date | Tue, 12 Jan 2016 17:32:31 +0000 |
parents | 05d639e5d59b |
children | 3a2254124fa8 |
comparison
equal
deleted
inserted
replaced
1547:bca3b5e5bbf2 | 1548:fd4cc11ae096 |
---|---|
72 puts 'No projects found' | 72 puts 'No projects found' |
73 exit 1 | 73 exit 1 |
74 end | 74 end |
75 | 75 |
76 projects.each do |proj| | 76 projects.each do |proj| |
77 | |
78 next unless proj.is_public | |
79 | |
77 next unless proj.respond_to?(:repository) | 80 next unless proj.respond_to?(:repository) |
78 | 81 |
79 repo = proj.repository | 82 repo = proj.repository |
80 next if repo.nil? or repo.url.empty? | 83 next if repo.nil? or repo.url.empty? |
81 | 84 |