#18566: Warning when installing new-style experimental packages
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  packages:          |   Resolution:
  experimental                       |    Merged in:
       Keywords:                     |    Reviewers:  Jeroen Demeyer
        Authors:  Nathann Cohen      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/18566       |  6cafb514f9b9487223b5e2eb2b76fafe0a00661d
   Dependencies:  #18563             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by ncohen):

 Yo !
 > Instead of
 > {{{
 > echo # The following message appears twice in this file
 > }}}
 > couldn't you just make a function `warn_experimental()` which displays
 that message?

 I first did, then decided against it for the following reason: there is
 one message for experimental packages (appears twice) and one message for
 archived packages (appears once). As for old-style packages the two
 messages follow each other, it seemed weird to have one called from a
 function and another one given explicitly. Plus It would have meant that
 the new functions would have to be defined in the middle of unrelated
 code, somewhere else.

 So well, I found it cleaner this way.

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/18566#comment:8>
Sage <http://www.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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to