MCPcopy Create free account
hub / github.com/apache/arrow / generate_apt_release

Method generate_apt_release

dev/release/binary-task.rb:1467–1485  ·  view source on GitHub ↗
(dists_dir, code_name, component, architecture)

Source from the content-addressed store, hash-verified

1465 end
1466
1467 def generate_apt_release(dists_dir, code_name, component, architecture)
1468 dir = "#{dists_dir}/#{component}/"
1469 if architecture == "source"
1470 dir << architecture
1471 else
1472 dir << "binary-#{architecture}"
1473 end
1474
1475 mkdir_p(dir, verbose: verbose?)
1476 File.open("#{dir}/Release", "w") do |release|
1477 release.puts(<<-RELEASE)
1478Archive: #{code_name}
1479Component: #{component}
1480Origin: #{apt_repository_label}
1481Label: #{apt_repository_label}
1482Architecture: #{architecture}
1483 RELEASE
1484 end
1485 end
1486
1487 def generate_apt_ftp_archive_generate_conf(code_name, component)
1488 conf = <<-CONF

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected