@@ -34,12 +34,12 @@ NN=${nn}0000-${nn}9999
34
34
cd ~/g0n/data
35
35
for f in curves allcurves paricurves allbigsha allbsd alldegphi allgens allisog aplist count degphi intpts; do cp ${f}.${NN} ~/ecdata/${f}; done
36
36
cd ~/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
38
38
39
39
40
40
4. Make alllabels file:
41
41
42
- sage: %runfile "labels.py"
42
+ sage: %runfile "scripts/ labels.py"
43
43
sage: make_alllabels("curves/curves.350000-359999")
44
44
(outputs a line to screen every 1000 input lines, takes about 40s per
45
45
1000, so about 30 minutes)
@@ -49,29 +49,33 @@ Check that outputfile (e.g. talllabels.350000-359999) & rename without
49
49
the prefix "t", moving to the alllabels/ subdirectory. Add to git
50
50
tracking:
51
51
mv talllabels.350000-359999 alllabels/alllabels.350000-359999
52
- git add alllabels/alllabels.350000-359999
52
+ git add alllabels/
53
53
54
54
From 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/ .
56
59
57
60
5. Email Sutherland and ask him to run his script on any new
58
61
allcurves file (e.g. allcurves.350000-359999) and rename his output
59
62
galrep.* (e.g. galrep.350000-359999), move to into galrep/ and
60
- git add galrep/galrep.350000-359999
63
+ git add galrep/
61
64
62
65
5a. Create 2adic images file and move to correct place:
63
66
magma -b filename:=allcurves/allcurves.350000-359999 2adic.m
64
67
mv 2adic.350000-359999 2adic/
65
- git add 2adic/2adic.350000-359999
68
+ git add 2adic/
66
69
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.
73
77
74
- (6a): shas.html (using sharanktable.py)
78
+ (6a): html/ shas.html (using scripts/ sharanktable.py)
75
79
76
80
Check up on new Sha records using
77
81
@@ -81,28 +85,30 @@ to see if the script needs to provide extra columns for the
81
85
table. Current range is s^2 for s in range(32)+[41,47,50,75].
82
86
83
87
Use sharanktable.py to create a new version newshas.html:
84
- sage: %runfile sharanktable.py
88
+ sage: %runfile scripts/ sharanktable.py
85
89
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
87
92
88
- (6b): table.html (using summarytable.py)
93
+ (6b): html/ table.html (using scripts/ summarytable.py)
89
94
90
95
Check up on new rank records (!) using
91
96
92
97
sort curves/curves.*9 -n -k 5 | tail -1
93
98
94
99
to see if the script needs adjusting (record is now 4).
95
100
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
98
103
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
100
106
101
- (6c): release_notes.txt : Add suitable section at the top.
107
+ (6c): doc/ release_notes.md : Add suitable section at the top.
102
108
103
109
(6d): Makefile: nothing should need doing.
104
110
105
- (6e): INDEX .html:
111
+ (6e): html/index .html:
106
112
2 changes in lines with "pdate";
107
113
change "up to ...";
108
114
change record Sha if necessary;
@@ -118,7 +124,7 @@ cat allbigsha.*9 | awk '$5==3' | wc -l
118
124
cat allbigsha.*9 | awk '$5==4' | wc -l
119
125
cd ..
120
126
121
- (6f) manin.txt needs some real work:
127
+ (6f) doc/ manin.txt needs some real work:
122
128
123
129
[In g0n working dir]
124
130
N=35
@@ -159,35 +165,26 @@ grep -v "curve is" h1pp/h1pp.conc.6-${N} | grep -v "possible" | wc -l
159
165
# counts for numbers of possible optimal curves (2-6)
160
166
for n in `seq 2 6`; do echo $n; grep -c "$n possible " h1pp/h1pp.conc.6-${N}; done
161
167
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.
165
169
166
170
===============
167
171
168
- 1. make tar ftp
169
- 2. update home page
170
- 3. delete older ~/public_html/ftp/ecdata-*.tgz
172
+ 1. make commit
171
173
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.
173
176
174
- 4. git commit -m "added data for 350000-359999"
177
+ 2. (a) email Bill Allombert to he can update pari's elldata
175
178
176
- 5. Use "git push origin master" to update github files
179
+ (b) email John Cannon so he can update Magma's database
177
180
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
181
183
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
189
185
sage: %runfile lmfdb/elliptic_curves/import_ec_data.py
190
186
sage: upload_to_db("/home/jec/ecdata",350000,359999)
187
+
191
188
(d) Update Sage's optional spkg (this assumes that the old version
192
189
of the optional spkg is already installed):
193
190
cd SAGE_ROOT/local/share/cremona
0 commit comments