#82 Correct checksum ids for fedora-update examples
Merged 4 years ago by ralph. Opened 4 years ago by adamwill.
fedora-ci/ adamwill/messages fedup-correct-checksum  into  master

@@ -24,7 +24,7 @@ 

          },

          "type": "fedora-update",

          "alias": "FEDORA-2019-6bda4c81f4",

-         "id": "sha256:246fd185570f27560e2f5b06817c2774ee4982fa732d015e70f05bf503307284",

+         "id": "sha256:cf6f57a196a213606246070a99b94053160fee43c7987d071f422de30b2f2953",

          "builds": [

              {

                  "nvr": "kernel-5.2.7-100.fc29"

@@ -23,7 +23,7 @@ 

          },

          "type": "fedora-update",

          "alias": "FEDORA-2019-e37c348348",

-         "id": "sha256:53abded84bf881f4f674e3abb9cc2401de129a19a7f67de3e193dc708e62394a",

+         "id": "sha256:c00600a09526d84dd3b3944ae996b285cab390fbe025b2b1503f6eb59f89063f",

          "builds": [

              {

                  "nvr": "kernel-5.2.7-200.fc30"

@@ -24,7 +24,7 @@ 

          },

          "type": "fedora-update",

          "alias": "FEDORA-2019-6bda4c81f4",

-         "id": "",

+         "id": "sha256:cf6f57a196a213606246070a99b94053160fee43c7987d071f422de30b2f2953",

          "builds": [

              {

                  "nvr": "kernel-5.2.7-100.fc29"

One file was entirely missing the id string. The ids in the
other two were wrong because I got the checksums by piping an
echo command to sha256sum...but echo adds a newline at the end.
These are produced using printf instead, so should be correct.

Signed-off-by: Adam Williamson awilliam@redhat.com

:+1:

Also, echo -n ... :)

Pull-Request has been merged by ralph

4 years ago

Thanks!

I fixed up the openQA bits today so it's actually publishing messages that should fully comply with the spec now, too :)