Skip to content
Snippets Groups Projects
Commit e5e6b0d2 authored by Etienne Baqué's avatar Etienne Baqué
Browse files

Merge branch '323709-add-file-hash-to-presenter' into 'master'

Include file digests in package detail presenter

See merge request gitlab-org/gitlab!56284
parents e035e2bd 05c01c0a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -42,7 +42,11 @@ def build_package_file_view(package_file)
created_at: package_file.created_at,
download_path: package_file.download_path,
file_name: package_file.file_name,
size: package_file.size
size: package_file.size,
file_md5: package_file.file_md5,
file_sha1: package_file.file_sha1,
file_sha256: package_file.file_sha256
}
 
file_view[:pipelines] = build_pipeline_infos(package_file.pipelines) if package_file.pipelines.present?
Loading
Loading
Loading
Loading
@@ -16,7 +16,10 @@
created_at: file.created_at,
download_path: file.download_path,
file_name: file.file_name,
size: file.size
size: file.size,
file_md5: file.file_md5,
file_sha1: file.file_sha1,
file_sha256: file.file_sha256
}
end
end
Loading
Loading
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