Show compressed size in find_dupes.py report, and sort the output

RESOLVED FIXED in Firefox 52

Status

defect
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

unspecified
mozilla52
Dependency tree / graph

Firefox Tracking Flags

(firefox52 fixed)

Details

Attachments

(1 attachment)

No description provided.
Comment on attachment 8791823 [details]
Bug 1303210 - Show compressed size in find_dupes.py report, and sort its output.

https://reviewboard.mozilla.org/r/79086/#review78248

::: toolkit/mozapps/installer/find-dupes.py:22
(Diff revision 1)
>  def find_dupes(source):
>      md5s = OrderedDict()
>      for p, f in UnpackFinder(source):
>          content = f.open().read()
>          m = hashlib.md5(content).digest()
>          if not m in md5s:

While you're here, please change this to `if m not in md5s:`
Attachment #8791823 - Flags: review?(gps) → review+
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/608b76d0900e
Show compressed size in find_dupes.py report, and sort its output. r=gps
https://hg.mozilla.org/mozilla-central/rev/608b76d0900e
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.