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

Method sign_rpms

dev/release/binary-task.rb:1904–1921  ·  view source on GitHub ↗
(directory)

Source from the content-addressed store, hash-verified

1902 end
1903
1904 def sign_rpms(directory)
1905 thread_pool = ThreadPool.new(:gpg) do |rpm|
1906 unless signed_rpm?(rpm)
1907 sh("rpm",
1908 "-D", "_gpg_name #{gpg_key_id}",
1909 "-D", "__gpg /usr/bin/gpg",
1910 "-D", "__gpg_check_password_cmd /bin/true true",
1911 "--resign",
1912 rpm,
1913 out: default_output,
1914 verbose: verbose?)
1915 end
1916 end
1917 Dir.glob("#{directory}/**/*.rpm") do |rpm|
1918 thread_pool << rpm
1919 end
1920 thread_pool.join
1921 end
1922
1923 def rpm_sign(directory)
1924 unless system("rpm", "-q",

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected