#9905: Spkg logs should get timestamps
-----------------------------+----------------------------------------------
   Reporter:  justin         |       Owner:  GeorgSWeber
       Type:  defect         |      Status:  new        
   Priority:  major          |   Milestone:             
  Component:  build          |    Keywords:             
     Author:  Justin Walker  |    Upstream:  N/A        
   Reviewer:                 |      Merged:             
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by leif):

 I'd suggest using
 {{{
 #!sh
 date "+%F %T %z"
 }}}
 which is independent of the current locale, such that we get something
 like:
 {{{
 SPKG BUILD STARTED:  2010-09-16 13:52:21 +0200
 ...
 SPKG BUILD FINISHED: 2010-09-16 13:52:30 +0200
 }}}

 Does anyone also want nanoseconds ({{{%N}}})? (I'm not sure how portable
 that would be.)

 Opinions? Substitute "BUILD" by "INSTALLATION" (since we might also run a
 test suite after successful installation)? Or should we add ''additional''
 timestamps for checks?

 {{{spkg/installed/<package name>}}} currently looks like this:
 {{{
 PACKAGE NAME: pari-2.4.3.svn-12577.p5
 INSTALL DATE: Sat Sep 11 20:54:15 CEST 2010
 UNAME: Linux quadriga 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40
 UTC 2010 x86_64 GNU/Linux
 Sage VERSION: | Sage Version 4.6.alpha0, Release Date: 2010-09-10
 |
 }}}
 (I.e. uses "plain" {{{date}}}, which I don't like. The Sage version also
 has to be fixed, as already noted somewhere else.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9905#comment:2>
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 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.

Reply via email to