#6505: [with patch, needs review] Sage banner: include warning if a prerelease
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: enhancement | Status: new
Priority: trivial | Milestone: sage-4.1.1
Component: misc | Keywords:
Reviewer: | Author: John Palmieri
Merged: |
-------------------------+--------------------------------------------------
Description changed by jhpalmieri:
Old description:
> From [http://groups.google.com/group/sage-
> devel/browse_frm/thread/b3e57f934ee83c79 sage-devel]:
> {{{
> I just noticed an old thread, where a user had problems on squite,
> making his own version of some packages with an alpha, heta or rc
> release of Sage.
>
> It would be good if alpha/beta/rc releases always showed a message that
> they were pre-release versions for developers and not considered stable.
> If there was some automatic way of making this happen, it would avoid
> the risk of someone forgetting to add or delete a file.
> }}}
> This patch should do this. To fully test, make a source distribution of
> Sage using sage-sdist. To partially test, in Sage, do
> {{{
> sage: sage.version.version
> '4.1.rc1'
> sage: print sage.misc.banner.banner_text()
> ----------------------------------------------------------------------
> | Sage Version 4.1.rc1, Release Date: 2009-07-07 |
> | Type notebook() for the GUI, and license() for information. |
> | |
> | Note: this is a prerelease version, and it may be unstable. |
> | |
> ----------------------------------------------------------------------
> sage: sage.version.version = '4.1'
> sage: print sage.misc.banner.banner_text()
> ----------------------------------------------------------------------
> | Sage Version 4.1, Release Date: 2009-07-07 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> }}}
> I believe that when a Sage distribution is created, the string from
> {{{banner_text()}}} is printed into the file SAGE_ROOT/local/bin/sage-
> banner (see SAGE_ROOT/local/bin/sage-sdist). So I think this patch will
> do what was requested.
New description:
From [http://groups.google.com/group/sage-
devel/browse_frm/thread/b3e57f934ee83c79 sage-devel]:
{{{
I just noticed an old thread, where a user had problems on squite,
making his own version of some packages with an alpha, heta or rc
release of Sage.
It would be good if alpha/beta/rc releases always showed a message that
they were pre-release versions for developers and not considered stable.
If there was some automatic way of making this happen, it would avoid
the risk of someone forgetting to add or delete a file.
}}}
This patch should do this. To fully test, make a source distribution of
Sage using sage-sdist. To partially test, in Sage, do
{{{
sage: sage.version.version
'4.1.rc1'
sage: print sage.misc.banner.banner_text()
----------------------------------------------------------------------
| Sage Version 4.1.rc1, Release Date: 2009-07-07 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* WARNING: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: sage.version.version = '4.1'
sage: print sage.misc.banner.banner_text()
----------------------------------------------------------------------
| Sage Version 4.1, Release Date: 2009-07-07 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
}}}
I believe that when a Sage distribution is created, the string from
{{{banner_text()}}} is printed into the file SAGE_ROOT/local/bin/sage-
banner (see SAGE_ROOT/local/bin/sage-sdist). So I think this patch will
do what was requested.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6505#comment:2>
Sage <http://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 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
-~----------~----~----~----~------~----~------~--~---