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

Method source

dev/release/02-source-test.rb:38–54  ·  view source on GitHub ↗
(*targets)

Source from the content-addressed store, hash-verified

36 end
37
38 def source(*targets)
39 env = {
40 "SOURCE_DEFAULT" => "0",
41 "release_hash" => @current_commit,
42 }
43 targets.each do |target|
44 env["SOURCE_#{target}"] = "1"
45 end
46 sh(env, @tarball_script, @release_version, "0")
47 FileUtils.mkdir_p("artifacts")
48 sh("mv", @archive_name, "artifacts/")
49 File.write("artifacts/#{@archive_name}.sha512",
50 sh(env, "shasum", "-a", "512", "artifacts/#{@archive_name}"))
51 output = sh(env, @script, @release_version, "0")
52 sh("tar", "xf", "artifacts/#{@archive_name}")
53 output
54 end
55
56 def test_symbolic_links
57 source

Callers 15

ExecuteMethod · 0.80
ScanBatchesAsyncMethod · 0.80
operator()Method · 0.80
ScanBatchesAsyncMethod · 0.80
ScanBatchesAsyncMethod · 0.80
filesMethod · 0.80
ToStringMethod · 0.80
operator()Method · 0.80
operator()Method · 0.80
operator()Method · 0.80

Calls 2

eachMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected