Hi,

often I'd like to "just have a quick look" into a spkg.
Then I copy it, rename it, tell Mac OS X that YES, I do want to rename
it,
and then I can open it with a mouse click, and change into the created
directory.
Finally I am able to scan the contents.
It would be nice to be quicker, and with keeping the hand on the mouse
all the time (I'm not a keyboarder).

On the other hand, we already have the naming convention "p0", "p1",
"p2" ... to designate different Sage spkg's made from one and the same
upstream source package.

So I'd like to propose to (re-)name e.g. "polybori-0.5rc.p5.spkg"
either

   polybori-0.5rc.spkg5.tar.bz2

resp.

   polybori-0.5rc.spkg5.tar

depending on whether it is also compressed or only tar'ed.

We would have "numpy-1.2.0.spkg0.tar.bz2", "ntl-5.4.2.spkg4.tar.bz2",
and e.g. "sage-3.2.alpha.spkg1.tar.bz2" instead of
"sage-3.2.alpha1.spkg", "sage-3.2.rc.spkg0.tar.bz2" instead of
"sage-3.2.rc0.spkg", and the like.

This would address points (1) - (3) from Williams post; and there
would be a canonical scheme to designate different spkg's from one and
the same upstream source.
(And it would make perfect sense what the meaning of
"sage-3.1.3.spkg2.tar.bz2" is: the second hotfix to the sage-3.1.3
production version which had to be done even after the "alpha" and
"rc" cycles. Without the need to bump the version to sage-3.1.4, say.)

BTW the only "hard" requirements for the structure of a Sage spkg are
that there is a file "SPKG.txt" in the root directory of the package,
and that Sage is able to figure out how to install the package then.
The code does look for a file "spkg-install", but e.g. only a
"setup.py" is also absolutely fine (for the code, maybe not for
reviewers).

Cheers,
gsw


P.S.:
The only problem in parsing and handling the spkg names I see right
now is something like "foo-4711.spkg815.tar.bz2", i.e. a version as
spkg which has more than only one digit. But this shouldn't be a real
problem, either.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to