** Description changed:

  casper-md5check should leave a breadcrumb which apport & ubiquity can
  pick up. (subiquity too)
  
  There will be a file called:
  
- /run/casper-md5check.yaml
+ /run/casper-md5check.json
  
  If it does not exist, or is empty the check did not run enough to
  validate anything. Treat as skip.
  
  If it has content it will have:
- checksum_missmatch:
-   - ./pics/red-upperleft.png
- result: fail
+ {
+    "checksum_missmatch" : [
+       "./pics/red-upperleft.png",
+       "./pics/red-lowerleft.png"
+    ],
+    "result" : "fail"
+ }
  
  optional checksum_missmatch key, which will have a list of strings that
  are files that failed md5sum.
  
  result key, which can have string values "pass" "fail" "skip".
  
- One can use python's yaml safe_load to parse the file into a dictionary.
+ One can use python's json or yaml safe_load to parse the file into a
+ dictionary.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1870408

Title:
  casper-md5check should leave a breadcrumb which apport, ubiquity,
  subiquity could use

Status in subiquity:
  New
Status in apport package in Ubuntu:
  New
Status in casper package in Ubuntu:
  In Progress
Status in ubiquity package in Ubuntu:
  New

Bug description:
  casper-md5check should leave a breadcrumb which apport & ubiquity can
  pick up. (subiquity too)

  There will be a file called:

  /run/casper-md5check.json

  If it does not exist, or is empty the check did not run enough to
  validate anything. Treat as skip.

  If it has content it will have:
  {
     "checksum_missmatch" : [
        "./pics/red-upperleft.png",
        "./pics/red-lowerleft.png"
     ],
     "result" : "fail"
  }

  optional checksum_missmatch key, which will have a list of strings
  that are files that failed md5sum.

  result key, which can have string values "pass" "fail" "skip".

  One can use python's json or yaml safe_load to parse the file into a
  dictionary.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1870408/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to