#4504: [with patch, needs work] Sage's .spkg extension
--------------------------------------------+-------------------------------
Reporter: mvngu | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-3.2
Component: documentation | Resolution:
Keywords: .spkg extension, Sage packages |
--------------------------------------------+-------------------------------
Comment (by mvngu):
Replying to [comment:4 was]:
> 1. How did you make a patch to add a file to SAGE_ROOT/spkg? There's no
hg repo in there? Huh?!
[[BR]]
Before making the patch, I loaded up a console Sage session and
investigated all the {{{hg_*}}} family of commands. But I wasn't able to
find one that would allow me to work with the directory
{{{SAGE_ROOT/spkg}}}. So from the {{{SAGE_ROOT}}} directory, I executed
the command {{{hg init}}}, created the file
{{{SAGE_ROOT/spkg/README.txt}}}, and executed the command {{{hg add
spkg/README.txt}}}. Then I edited that README.txt file with the text:
{{{
Sage packages
=============
This directory contains core Sage packages. Sage packages are
distributed as .spkg files, which are .tar.bz2 files (or tar files)
but have the extension .spkg to discourage confusion. Although Sage
packages are packed using tar and/or bzip2, please note that .spkg
files contain control information (installation scripts and metadata)
that are necessary for building and installing them. For more
information on the structure of .spkg files, please refer to the Sage
Developer's Guide in your local installation of Sage at
SAGE_ROOT/devel/doc-main/html/prog/index.html
or visit the URL
http://www.sagemath.org/doc/prog
Additional Sage packages can be found at
http://www.sagemath.org/download-packages.html
}}}
I then used mercurial to create the above patch. It was very careless of
me not to mention that earlier. Sorry, folks. But if you're having trouble
applying the patch, then perhaps you or the release manager can create the
file {{{SAGE_ROOT/spkg/README.txt}}} with the above text.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4504#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---