#18826: A sage-sanity-check-package using the 'spkg-src' scripts
---------------------------+---------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.8
Component: build | Keywords:
Merged in: | Authors: Nathann Cohen
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+---------------------------------
Hello everybody,
This branch adds a "sage-sanity-check-package" script that uses the 'spkg-
src'
scripts. The goal is to have an easy way to check, when a new-style
package gets
udpated, that the new package is precisely "spkg-src" builds.
Right now our 'spkg-spkg' scripts all do different things. In order to use
'spkg-src' scripts in an automatic way, I made the following assumption:
- When `./sage-src' is run in a build/pkg/<package>/ folder, it creates
the
package archive whose name is described in checksums.ini
- There is un upstream/ an archive with the same name
- Their contents are compared with 'diff -r'
Currently, almost none of our packages satisfy those assumptions (*).
What would you think of having a script like that? That would 'normalize'
the
situations of our spkg-src scripts, and we will solve the many
inconsistencies
in our packaging. That will also make sure that everything we do on a
package is
listed by the spkg-src script.
Have fun,
Nathann
(*) Some seem to, but then they are named file.tar.gz while the file is
not
gzipped. Or else the file in upstream/ is not exactly what is in
checksum.ini. Or spkg-src downloads the *latest version* instead of
the one
whose version is hardcoded in checsksums.ini. You get the picture.
--
Ticket URL: <http://trac.sagemath.org/ticket/18826>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.