On 6/18/07, Brian Granger <[EMAIL PROTECTED]> wrote:
> > Then SAGE wouldn't know that the package had been updated.
> > Those version numbers are used to determine whether it is
> > necessary to install a package.
>
> I didn't know SAGE was actually using them.  Is this when sage -update
> is run?  My understanding is that the decision to upgrade something
> was based on the timestamps if the files compared with the stub in the
> installed directory.  Am I mistaken.

The sage-update script gives an idea of how sage is upgraded from a SAGE_SERVER:
- download the new install script
- download the new list file. The list file contains all spkgs with
their version numbers. It is from it that sage knows which packages
have been updated and why specifying version numbers for now is
necessary.
- download the new deps file
- download the newest_version script. newest_version determines the
latest version of an spkg you have installed locally.
- check the contents of your list file against your `ls
spkg/standard/`. Anything that is in list and not in the output of ls
is downloaded.

didier

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to