Displaying 3 results from an estimated 3 matches for "25b3328".
2015 Jul 28
0
[PATCH 03/10] builder: add SHA256 support in Checksums
---
builder/checksums.ml | 4 ++++
builder/checksums.mli | 1 +
2 files changed, 5 insertions(+)
diff --git a/builder/checksums.ml b/builder/checksums.ml
index 73d541f..25b3328 100644
--- a/builder/checksums.ml
+++ b/builder/checksums.ml
@@ -24,17 +24,21 @@ open Utils
open Printf
type csum_t =
+| SHA256 of string
| SHA512 of string
let string_of_csum_t = function
+ | SHA256 _ -> "sha256"
| SHA512 _ -> "sha512"
let string_of_csum =...
2015 Jul 28
0
[PATCH 04/10] builder: internally use a list of checksums for indexes
...Checksums.verify_checksums csums template
- | { Index_parser.checksum_sha512 = None } ->
+ | { Index_parser.checksums = None } ->
(* Old-style: detached signature. *)
let sigfile =
match entry with
diff --git a/builder/checksums.ml b/builder/checksums.ml
index 25b3328..5663832 100644
--- a/builder/checksums.ml
+++ b/builder/checksums.ml
@@ -53,3 +53,6 @@ let verify_checksum csum filename =
if csum_ref <> csum_actual then
error (f_"%s checksum of template did not match the expected checksum!\n found checksum: %s\n expected checksum: %s\nT...
2015 Jul 28
19
[PATCH 00/10] RFC: builder: first support for Simple Streams metadata
Hi,
this series adds a basic support for Simple Streams v1.0 metadata
files. This makes it possible to create a repository .conf files with
[cirros]
uri=http://download.cirros-cloud.net
format=simplestreams
to read the latest version of each CirrOS image.
TODO items:
- a bit more testing: listing and creating images works, so the
current metadata is correct
- handle revisions, so newer