[releng/abderrahim/downloadsites] fixup! refactor and partly rewrite convert-to-tarballs



commit 2ca3aa8319cf074c05619d397f9c7410fd2139e9
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Apr 30 11:41:59 2020 +0100

    fixup! refactor and partly rewrite convert-to-tarballs

 tools/smoketesting/convert-to-tarballs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index 97ee9b8..48af980 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -145,7 +145,7 @@ class ConvertToTarballs:
             # Replace the first source with a tarball
             element['sources'][0] = { 'kind': 'tar', 'url': location}
             if checksum:
-                element['sources'][0] = checksum
+                element['sources'][0]['ref'] = checksum
 
             # cargo sources shouldn't be needed in tarballs as tarballs should
             # vendor their dependencies


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]