Skip to content
Snippets Groups Projects
Commit 8f47555b authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

upgrade-reference: rename `tarball_hash` to `reference_id`

This carries the meaning better. For now we only renamed things in the code.
parent d73de2f3
No related branches found
No related tags found
No related merge requests found
......@@ -61,5 +61,5 @@
repo_id = benchrepo_data["reference-repo"]["id"]
format_data = get_format_data(repository_path)
tarball_hash = get_reference_hash(repo_id, format_data)
reference_id = get_reference_hash(repo_id, format_data)
......@@ -65,5 +65,5 @@
repo_prefix = "{0}-{1}".format(repo_id, tarball_hash)
repo_prefix = "{0}-{1}".format(repo_id, reference_id)
repo_details = "{0}.benchrepo".format(repo_prefix)
repo_tarball = "{0}-reference.tar".format(repo_prefix)
repo_main_with_hash = "{0}-reference".format(repo_prefix)
......@@ -74,7 +74,7 @@
# Update the repo hash manually because we need the format info to compute
# the hash
new_benchrepo["reference-repo"]["repo-hash"] = tarball_hash
new_benchrepo["reference-repo"]["repo-hash"] = reference_id
new_benchrepo["reference-repo"]["repo-prefix"] = repo_prefix
# And write it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment