@@ -34,12 +34,12 @@ NN=${nn}0000-${nn}9999
3434cd ~/g0n/data
3535for f in curves allcurves paricurves allbigsha allbsd alldegphi allgens allisog aplist count degphi intpts; do cp ${f}.${NN} ~/ecdata/${f}; done
3636cd ~/ecdata
37- git add *.${NN}
37+ for f in curves allcurves paricurves allbigsha allbsd alldegphi allgens allisog aplist count degphi intpts; do git add ${f}; done
3838
3939
40404. Make alllabels file:
4141
42- sage: %runfile "labels.py"
42+ sage: %runfile "scripts/ labels.py"
4343sage: make_alllabels("curves/curves.350000-359999")
4444(outputs a line to screen every 1000 input lines, takes about 40s per
45451000, so about 30 minutes)
@@ -49,29 +49,33 @@ Check that outputfile (e.g. talllabels.350000-359999) & rename without
4949the prefix "t", moving to the alllabels/ subdirectory. Add to git
5050tracking:
5151mv talllabels.350000-359999 alllabels/alllabels.350000-359999
52- git add alllabels/alllabels.350000-359999
52+ git add alllabels/
5353
5454From now on work in data directory (~/ecdata) which is a git
55- repository linked to https://github.com/JohnCremona/ecdata
55+ repository linked to https://github.com/JohnCremona/ecdata. All files
56+ are in the master branch; there is a second branch called gh-pages
57+ which only contains the html files, from which GitHub automatically
58+ cretes the website at http://johncremona.github.io/ecdata/ .
5659
57605. Email Sutherland and ask him to run his script on any new
5861allcurves file (e.g. allcurves.350000-359999) and rename his output
5962galrep.* (e.g. galrep.350000-359999), move to into galrep/ and
60- git add galrep/galrep.350000-359999
63+ git add galrep/
6164
62655a. Create 2adic images file and move to correct place:
6366magma -b filename:=allcurves/allcurves.350000-359999 2adic.m
6467mv 2adic.350000-359999 2adic/
65- git add 2adic/2adic.350000-359999
68+ git add 2adic/
6669
67- 6. Files to be edited are: table.html, shas.html, Makefile,
68- INDEX.html, manin.txt, release_notes.txt. The first two are now
69- created automatically by Python scripts (sharanktable.py and
70- summarytable.py), but in each case there is a preliminary manual check
71- to see if new Sha values have occurred or new ranks (!) in which case
72- the scripts will need to be edited.
70+ 6. Files to be edited are: html/table.html, html/shas.html, Makefile,
71+ html/index.html, doc/manin.txt, doc/release_notes.md. The first two
72+ are now created automatically by Python scripts
73+ (scripts/sharanktable.py and scripts/summarytable.py), but in each
74+ case there is a preliminary manual check to see if new Sha values have
75+ occurred or new ranks (!) in which case the scripts will need to be
76+ edited.
7377
74- (6a): shas.html (using sharanktable.py)
78+ (6a): html/ shas.html (using scripts/ sharanktable.py)
7579
7680Check up on new Sha records using
7781
@@ -81,28 +85,30 @@ to see if the script needs to provide extra columns for the
8185table. Current range is s^2 for s in range(32)+[41,47,50,75].
8286
8387Use sharanktable.py to create a new version newshas.html:
84- sage: %runfile sharanktable.py
88+ sage: %runfile scripts/ sharanktable.py
8589 sage: make_rankshatable(36) # to go up to 359999
86- If happy, replace shas.html with it.
90+ If happy:
91+ mv newshas.html html/shas.html
8792
88- (6b): table.html (using summarytable.py)
93+ (6b): html/ table.html (using scripts/ summarytable.py)
8994
9095Check up on new rank records (!) using
9196
9297 sort curves/curves.*9 -n -k 5 | tail -1
9398
9499to see if the script needs adjusting (record is now 4).
95100
96- Use summarytable.py to create a new version newtable.html:
97- sage: %runfile summarytable.py
101+ Use scripts/ summarytable.py to create a new version newtable.html:
102+ sage: %runfile scripts/ summarytable.py
98103 sage: make_table(36) # to go up to 359999
99- If happy, replace table.html with it.
104+ If happy:
105+ mv newtable.html html/table.html
100106
101- (6c): release_notes.txt : Add suitable section at the top.
107+ (6c): doc/ release_notes.md : Add suitable section at the top.
102108
103109(6d): Makefile: nothing should need doing.
104110
105- (6e): INDEX .html:
111+ (6e): html/index .html:
106112 2 changes in lines with "pdate";
107113 change "up to ...";
108114 change record Sha if necessary;
@@ -118,7 +124,7 @@ cat allbigsha.*9 | awk '$5==3' | wc -l
118124cat allbigsha.*9 | awk '$5==4' | wc -l
119125cd ..
120126
121- (6f) manin.txt needs some real work:
127+ (6f) doc/ manin.txt needs some real work:
122128
123129[In g0n working dir]
124130N=35
@@ -159,35 +165,26 @@ grep -v "curve is" h1pp/h1pp.conc.6-${N} | grep -v "possible" | wc -l
159165# counts for numbers of possible optimal curves (2-6)
160166for n in `seq 2 6`; do echo $n; grep -c "$n possible " h1pp/h1pp.conc.6-${N}; done
161167
162- --Now use the above numbers to manually edit manin.txt.
163-
164- git add manin.txt INDEX.html table.html shas.html release_notes.txt
168+ --Now use the above numbers to manually edit doc/manin.txt.
165169
166170===============
167171
168- 1. make tar ftp
169- 2. update home page
170- 3. delete older ~/public_html/ftp/ecdata-*.tgz
172+ 1. make commit
171173
172- Assuming that all looks ok & nothing has been forgotten:
174+ This commits all the changes, pushes to github, also updates the
175+ gh-pages branch and pushes that, so the website is updated too.
173176
174- 4. git commit -m "added data for 350000-359999"
177+ 2. (a) email Bill Allombert to he can update pari's elldata
175178
176- 5. Use "git push origin master" to update github files
179+ (b) email John Cannon so he can update Magma's database
177180
178- 6. [No more!] Update mirror at sagemath:
179- [ on host-56-150 or mimosa]
180- rsync -avz /home/masgaj/public_html/ftp/data/ sagemath:ecdata-mirror/
181+ (c) Update LMFDB. On atkin, make sure that ~/lmfdb/warwick-sh is
182+ running, then
181183
182- 7. (a) email Bill Allombert to he can update pari's elldata
183- (b) email John Cannon so he can update Magma's database
184- (c) Update LMFDB. On atkin:
185- (i) [not needed if working on atkin anyway]
186- cd to ~/ecdata and git pull origin master
187- (ii) cd ~/lmfdb; ./warwick-sh &
188- (iii) sage
184+ %sage
189185 sage: %runfile lmfdb/elliptic_curves/import_ec_data.py
190186 sage: upload_to_db("/home/jec/ecdata",350000,359999)
187+
191188 (d) Update Sage's optional spkg (this assumes that the old version
192189 of the optional spkg is already installed):
193190 cd SAGE_ROOT/local/share/cremona
0 commit comments