Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script to create spkg template #4857

Closed
sagetrac-GeorgSWeber mannequin opened this issue Dec 23, 2008 · 11 comments
Closed

script to create spkg template #4857

sagetrac-GeorgSWeber mannequin opened this issue Dec 23, 2008 · 11 comments

Comments

@sagetrac-GeorgSWeber
Copy link
Mannequin

sagetrac-GeorgSWeber mannequin commented Dec 23, 2008

(see also the respective thread at sage-devel)

Although this spkg is pretty small, putting it in a trac ticket is probably not the best idea. But currently, I haven't got access to any other web space where I could place it.

Install with "sage -i exampleclib-1.0.0.spkg"; the documentation is the under

$SAGE_ROOT/devel/exampleclib/src/README.txt

$SAGE_ROOT/devel/exampleclib/src/doc/*

Component: documentation

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/4857

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 23, 2008

comment:1

-1 by a wide margin. This spkg does numerous things badly and introduces many "features" we don't need or are completely overdesigned. The idea about spkg-install and its friends is KISS and this certainly isn't it.

The place to have this is not trac either.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 23, 2008

comment:2

I have removed the attached spkg. It can now be found at

http://sage.math.washington.edu/home/mabshoff/exampleclib-1.0.0.spkg

Cheers,

Michael

@sagetrac-GeorgSWeber
Copy link
Mannequin Author

sagetrac-GeorgSWeber mannequin commented Dec 30, 2008

Attachment: 4857-scripts.patch.gz

a new script "sage-create-spkg" to go in the scripts repo /local/bin

@sagetrac-GeorgSWeber
Copy link
Mannequin Author

sagetrac-GeorgSWeber mannequin commented Dec 30, 2008

Attachment: 4857-examples.patch.gz

two example "upstream src" packages (sample spkg input) to go in the examples/ repo

@sagetrac-GeorgSWeber
Copy link
Mannequin Author

sagetrac-GeorgSWeber mannequin commented Dec 30, 2008

rewritten and enhanced chapter about spkg in prog.tex resp. the doc/ repo (probably rather easily rebased after the ReST move)

@sagetrac-GeorgSWeber
Copy link
Mannequin Author

sagetrac-GeorgSWeber mannequin commented Dec 30, 2008

comment:3

Attachment: 4857-doc.patch.gz

The current documentation in the Sage Developer's Guide says in Chapter 2, subsection 8.1, item (f) about Creating a New spkg: ... Post a copy on the Sage trac server ...

This is outdated. I took the opportunitiy to rewrite subsection 8.1, add two subsections 8.2 and 8.3, and assemble two live examples (to go under the examples directory) and a script "sage-create-spkg" which e.g. creates a template SPKG.txt and the mandatory hg repo. The script called on the examples result in working spkg, that install fine.

Well, at least at the author's Mac. So it would be good if the referee could use and test it on a Linux machine.

The contents are based on a discussion with Michael Abshoff on sage-devel, half of the credit (at least) goes to him. All the remaining mistakes are mine, of course :-)

@sagetrac-GeorgSWeber sagetrac-GeorgSWeber mannequin added this to the sage-3.4 milestone Dec 30, 2008
@sagetrac-GeorgSWeber sagetrac-GeorgSWeber mannequin changed the title [needs discussion] Example C Library spkg development documentation and handling Dec 30, 2008
@williamstein
Copy link
Contributor

comment:4

MABSHOFF:

"I think in its current form 4857-examples.patch should not go in, in
fact it shouldn't go in at all IMHO.

4857-scripts.patch is too complicated IMHO, but salvageable."

So I change this to "needs work".

@jhpalmieri
Copy link
Member

comment:5

See #5990 for a closely related ticket -- a patch to the documentation, based in large part on 4857-doc.patch.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Feb 2, 2010

comment:6

Documentation on producing a new spkg is already in the Developers' Guide in the form of the section Producing New Sage Packages. Tickets #8079 and #8104 add documentation on patching an existing spkg. So I think the subject of this ticket can be changed to something else other than documentation on producing spkg's.

@sagetrac-mvngu sagetrac-mvngu mannequin changed the title spkg development documentation and handling script to create spkg template Feb 2, 2010
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin removed this from the sage-6.2 milestone May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin added this to the sage-6.3 milestone May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@jdemeyer
Copy link

jdemeyer commented Sep 2, 2014

comment:11

Obsolete by the git transition.

@jdemeyer
Copy link

jdemeyer commented Sep 2, 2014

Reviewer: Jeroen Demeyer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants