(label, dir)
| 1246 | end |
| 1247 | |
| 1248 | def sign_dir(label, dir) |
| 1249 | progress_label = "Signing: #{label}" |
| 1250 | progress_reporter = ProgressReporter.new(progress_label) |
| 1251 | |
| 1252 | target_paths = [] |
| 1253 | Pathname(dir).glob("**/*") do |path| |
| 1254 | next if path.directory? |
| 1255 | case path.extname |
| 1256 | when ".asc", ".sha512" |
| 1257 | next |
| 1258 | end |
| 1259 | progress_reporter.increment_max |
| 1260 | target_paths << path.to_s |
| 1261 | end |
| 1262 | target_paths.each do |path| |
| 1263 | sign(path, "#{path}.asc") |
| 1264 | sha512(path, "#{path}.sha512") |
| 1265 | progress_reporter.advance |
| 1266 | end |
| 1267 | progress_reporter.finish |
| 1268 | end |
| 1269 | |
| 1270 | def download_distribution(type, |
| 1271 | distribution, |
nothing calls this directly
no test coverage detected