[Bug 744771] New: Check download size and md5

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 19 00:29:20 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=744771

            Bug ID: 744771
           Summary: Check download size and md5
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bilboed at bilboed.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Fetching packages can sometimes fail, resulting in wrong download/size/...

Furthermore we should ensure what we download is *really* what we want (i.e.
not have people tamper downloads).

A simple way forward to fix that would be to store in each tarball-based
recipe:
* the expected size
* the MD5 for small packages (limit to be determined)

At the fetch step we could then:
* Check if file if present, if not download it
* Check if filesize is the expected one, if not remove and retry download once
(and then fail if it's really wrong)
* Check if the MD5 is the expected one (for those where it's specified)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list