Merge lp:~powersj/ubuntu-cdimage/megabytes into lp:ubuntu-cdimage
Status: | Merged |
---|---|
Merged at revision: | 1965 |
Proposed branch: | lp:~powersj/ubuntu-cdimage/megabytes |
Merge into: | lp:ubuntu-cdimage |
Diff against target: |
25 lines (+7/-2) 1 file modified
bin/daily-checks (+7/-2) |
To merge this branch: | bzr merge lp:~powersj/ubuntu-cdimage/megabytes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Disapprove | ||
Review via email: mp+307252@code.launchpad.net |
Description of the change
Each day the daily health checks run and produce a report for over sized ISOs such as the following:
ubuntu-
ubuntu-
ubuntu-
ubuntu-
ubuntu-
ubuntu-
Producing the output in bytes is not exactly the most human readable or understandable. This merge request proposes changing the output from bytes to megabytes. The new output should read:
ubuntu-
ubuntu-
ubuntu-
ubuntu-
ubuntu-
ubuntu-
Brian merged this, but I have reverted it with the following rationale:
Revert change to daily checks
- this loses information in the output by rounding /wiki.ubuntu. com/UnitsPolicy
- in some cases the report would actually report that the image is oversized
by "0 megabytes"
- this is an incorrect use of megabyte for binary multiples; it either
needs to use mibi for the current number, or switch to using decimal
mega per https:/
It is my preference that we keep this in bytes, I don't see readability of the numbers as a concern vs precision here.