Here's a list of the dates on the 'src' directory of each .spkg file which has 
a 
  'src' directory - which is most of them. The oldest is shown first. Below 
this, is the script for finding these, which is far from elegant, but works.

I'm assuming the date on the 'src' directory is the date of the source 
distribution, but that might not be true. Anyway, it gives us an idea.

Last updated in:

2006  1 package
2007 23 packages
2008 28 packages
2009 40 packages


bash-3.2$ ./findold /export/home/drkirkby/sage-4.3.rc0/spkg/standard

This script assumes each .spkg has a directory 'src', which is not
always true. Those which do not have this directory are indicated
and will have to be checked manually

Cant'd find  /tmp/datedata.18198/elliptic_curves-0.1/src
Cant'd find  /tmp/datedata.18198/examples-4.3.rc0/src
Cant'd find  /tmp/datedata.18198/extcode-4.3.rc0/src
Cant'd find  /tmp/datedata.18198/graphs-20070722.p0/src
Cant'd find  /tmp/datedata.18198/polytopes_db-20080430/src
Cant'd find  /tmp/datedata.18198/sage-4.3.rc0/src
Cant'd find  /tmp/datedata.18198/sage_scripts-4.3.rc0/src
Cant'd find  /tmp/datedata.18198/scipy_sandbox-20071020.p4/src
YYYY MM DD
2006 11 02 palp-1.1.p1
2007 02 27 moin-1.5.7.p3
2007 03 06 iml-1.0.1.p11
2007 04 20 zodb3-3.7.0.p2
2007 05 28 pycrypto-2.0.1.p4
2007 05 28 weave-0.4.9.p0
2007 06 16 f2c-20070816.p1
2007 06 17 blas-20070724
2007 07 02 freetype-2.3.5.p1
2007 07 22 conway_polynomials-0.2
2007 07 22 gdmodule-0.56.p6
2007 07 22 lapack-20071123.p0
2007 07 24 pexpect-2.0.p4
2007 07 24 termcap-1.3.1.p0
2007 08 21 sympow-1.018.1.p6
2007 10 29 libgpg_error-1.6.p2
2007 11 28 cvxopt-0.9.p8
2007 12 27 pari-2.3.3.p5
2008 01 19 opencdk-0.6.6.p2
2008 01 25 gsl-1.10.p1
2008 01 30 python_gnutls-1.1.4.p6
2008 01 31 gnutls-2.2.1.p4
2008 03 04 ntl-5.4.2.p9
2008 03 28 gfan-0.3.p4
2008 04 14 lcalc-20080205.p3
2008 05 17 mpfi-1.3.4-cvs20071125.p7
2008 06 04 ecm-6.2.1.p1
2008 06 19 pyprocessing-0.52.p0
2008 06 25 sqlalchemy-0.4.6.p1
2008 07 16 boehm_gc-7.1.p2
2008 08 13 ghmm-20080813.p0
2008 08 19 zlib-1.2.3.p4
2008 08 27 gap-4.4.10.p12
2008 08 29 gd-2.0.35.p2
2008 09 01 rubiks-20070912.p10
2008 09 15 ipython-0.9.1.p0
2008 09 16 docutils-0.5.p0
2008 09 16 jinja-1.2.p0
2008 09 16 pygments-0.11.1.p0
2008 09 18 linbox-1.1.6.p2
2008 09 19 givaro-3.2.13rc2
2008 09 22 zn_poly-0.9.p1
2008 09 24 eclib-20080310.p7
2008 12 21 scons-1.2.0
2008 12 25 jinja2-2.1.1.p0
2009 01 20 flintqs-20070817.p4
2009 01 26 cddlib-094f
2009 02 11 readline-6.0.p1
2009 02 14 libpng-1.2.35
2009 02 16 tachyon-0.98beta.p10
2009 02 20 atlas-3.8.3.p9
2009 02 20 setuptools-0.6c9.p0
2009 04 05 numpy-1.3.0.p2
2009 04 05 sympy-0.6.4.p0
2009 04 06 genus2reduction-0.3.p5
2009 04 10 python-2.6.2.p4
2009 05 10 libfplll-3.0.12.p0
2009 05 15 boost-cropped-1.34.1
2009 05 15 symmetrica-2.0.p4
2009 05 27 scipy-0.7.p3
2009 05 28 dsage-1.0.1.p0
2009 06 10 singular-3-1-0-4-20090818.p2
2009 06 18 twisted-8.2.0.p1
2009 06 20 ratpoints-2.1.2.p3
2009 07 17 mpfr-2.4.1.p0
2009 07 27 polybori-0.6.3-20090827
2009 08 15 maxima-5.19.1.p2
2009 08 24 r-2.9.2
2009 09 01 networkx-0.99.p1-fake_really-0.36.p1
2009 09 02 mpmath-0.13
2009 09 03 sphinx-0.6.3.p2
2009 09 12 cliquer-1.2.p2
2009 09 22 matplotlib-0.99.1.p2
2009 09 22 mercurial-1.3.1.p0
2009 09 23 flint-1.5.0.p2
2009 09 27 fortran-20071120.p9
2009 10 14 sqlite-3.6.19.p0
2009 10 29 pil-1.1.6.p2
2009 11 02 libgcrypt-1.4.4.p1
2009 11 05 ecl-9.10.2-20091105cvs.p0
2009 11 18 mpir-1.2.2
2009 11 20 libm4ri-20091120.p0
2009 12 05 cython-0.12
2009 12 08 pynac-0.1.10
2009 12 10 sagenb-0.4.7

Here's the script - no doubt could be improved a lot.

#!/bin/sh
if [ $# -ne 1 ]; then
    echo "Usage: $0 absolute_path_to_directory_with_.spgk_files"
    echo "e.g. $0 /export/home/drkirkby/sage-4.3.rc0/spkg/standard"
    exit 1
fi
path_to_directory_with_spkgs=$1
echo "This script assumes each .spkg has a directory 'src', which is not"
echo "always true. Those which do not have this directory are indicated"
echo "and will have to be checked manually"

TMP_DIR=/tmp/datedata.$$

rm -rf $TMP_DIR
mkdir $TMP_DIR

for i in "$path_to_directory_with_spkgs"/*.spkg  ; do
     BASE=`basename $i`
     cp $i $TMP_DIR
     cd $TMP_DIR
     bzcat $BASE | gtar xf -
     dirname=`basename $i | sed 's/\.spkg//g'`
     cd /tmp/datedata.$$/$dirname/
     d=`ls -Ed /tmp/datedata.$$/$dirname/src 2> /dev/null`
     if [ $? -ne 0 ]; then
           echo "Cant'd find  /tmp/datedata.$$/$dirname/src"
     fi
     str="$d $dirname"
     echo $str | awk '{print $6, $10}' | sed 's/-/ /' | sed 's/-/ /' | sed 's/- 
/ /' >> /tmp/datedata.$$/data
     cd
     rm -rf $TMP_DIR/$dirname $TMP_DIR/$BASE
done
echo "YYYY MM DD"
sort -k 1,3  /tmp/datedata.$$/data | sed '/^$/d'
rm -fr /tmp/datedata.$$


-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to