#19984: Correctly fix checksums
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.1
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/correctly_fix_checksums   |  8fe15498a685b89739e721ccb6ce34c4d93327a8
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vbraun):

 It is a feature that you need `checksums.ini` where the tarball name
 pattern is specified (the checksums are not needed). This is the only
 place that unambiguously ties together tarball file names with package
 names. You can have other heuristics but they can and will break, and you
 can't build a reliable system on top of sand? Besides, extra filename-
 based heuristics violate the single source of truth principle.

 That `$ ./sage --fix-pkg-checksums upstream/cliquer-1.21.tar.gz`
 demonstrates the advantage of this ticket, the new tarball name is
 `cliquer-1.21.tar.bz2` and if you accidentally enter the wrong extension
 you now get an error message instead of silently using the wrong tarball.

--
Ticket URL: <http://trac.sagemath.org/ticket/19984#comment:21>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to