William Stein wrote:
On May 13, 2014 7:13 PM, "François Bissey"
<francois.bis...@canterbury.ac.nz
<mailto:francois.bis...@canterbury.ac.nz>> wrote:
> It has been more or less done progressively as we touch the various spkg
> rather than a big swipe. I guess someone could try to do it in an
automated
> way.
A one-liner, see below.
> The "official" line is the developer guide:
> https://www.sagemath.org/doc/developer/packaging.html#the-spkg-txt-file
> The only mention of the changelog is for old style spkg:
>
http://www.sagemath.org/doc/developer/packaging_old_spkgs.html#the-file-spkg-txt
>
> Now, if you think that's a dumb decision we can have a voting moment
or a good
> flamewar.
>
I do not think removing the SPKG.txt files is dumb - I never really like
them. I would rather remove them all in one commit...
(I guess you meant just the changelogs, not all of what's in SPKG.txt,
although I think it would be better to have some [development-related]
sections in separate files.)
Which would ease restoring them as well... :-)
I wonder why not even all "converted" spkgs (whose "metadata" lives in
the "unified" git repo) have their changelogs removed.
$ (cd build/pkgs/ && grep -ill '^== changelog' */SPKG.txt) | cut -d/ -f1
boehm_gc
cephes
conway_polynomials
cvxopt
database_symbolic_data
dateutil
docutils
ecl
ecm
elliptic_curves
fflas_ffpack
flintqs
gdmodule
gd
gf2x
gfan
git
givaro
glpk
graphs
gsl
iconv
iml
jinja2
jmol
libfplll
libogg
libtheora
linbox
lrcalc
matplotlib
mercurial
mpfi
mpfr
mpir
networkx
numpy
openssl
patch
pexpect
polybori
polytopes_db
pycrypto
pygments
pyparsing
ratpoints
readline
rubiks
sagenb
sagetex
scipy
scons
singular
six
sphinx
sqlalchemy
symmetrica
sympow
sympy
termcap
topcom
tornado
zn_poly
These are 63 of 114 packages.
If you want to remove all of those changelogs, just do
$ for pkg in ...; do sed -i '/^== Changelog/,$d'
"build/pkgs/$pkg/SPKG.txt"; done
-leif
P.S.: Updating SPKG.txt often took me longer than making the actual
changes (and I did add the changelog entry to the commit message), since
I wanted others to be able to quickly understand what had been done
*without* having to dig through trac tickets and diffs. I even added
ticket numbers and patch filenames to *previous* changelog entries a
couple of times.
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.