This repository was archived by the owner on Jun 12, 2023. It is now read-only.
File tree 3 files changed +20
-37
lines changed
3 files changed +20
-37
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,12 @@ SHELL := /bin/bash
15
15
16
16
init-repos :
17
17
git clone https://github.com/pandas-dev/pandas && git -C pandas remote rename origin upstream && git -C pandas remote add origin https://github.com/$(GH_USERNAME ) /pandas
18
- git clone https://github.com/pandas-dev/pandas-website && git -C pandas-website remote rename origin upstream && git -C pandas-website remote add origin https://github.com/$(GH_USERNAME ) /pandas-website
19
18
git clone https://github.com/conda-forge/pandas-feedstock && git -C pandas-feedstock remote rename origin upstream && git -C pandas-feedstock remote add origin https://github.com/$(GH_USERNAME ) /pandas-feedstock
20
19
git clone --recursive https://github.com/MacPython/pandas-wheels && git -C pandas-wheels remote rename origin upstream && git -C pandas-wheels remote add origin https://github.com/$(GH_USERNAME ) /pandas-wheels
21
20
22
21
update-repos :
23
22
git -C pandas checkout master && git -C pandas pull
24
23
git -C pandas-wheels checkout master && git -C pandas-wheels pull
25
- git -C pandas-website checkout master && git -C pandas-website pull
26
24
git -C pandas-feedstock checkout master && git -C pandas-feedstock pull
27
25
pushd pandas-wheels && git submodule update --recursive --remote && popd
28
26
@@ -105,17 +103,6 @@ link-version:
105
103
106
104
push-doc : | upload-doc link-stable link-version
107
105
108
- website :
109
- pushd pandas/web && \
110
- git checkout master && \
111
- git pull && \
112
- ./pandas_web.py pandas && \
113
- popd
114
-
115
-
116
- push-website :
117
- rsync -ravzI -e ssh pandas/web/build/* pandas.pydata.org:/usr/share/nginx/pandas/
118
-
119
106
push-tag :
120
107
pushd pandas && ../scripts/push-tag.py $(TAG ) && popd
121
108
Original file line number Diff line number Diff line change @@ -93,34 +93,15 @@ Finalize the docs
93
93
94
94
```
95
95
make upload-doc
96
- make website
97
96
```
98
97
99
- You also need to make edits to the pandas-website to appropriately display items.
100
- Ideally this could be done via ` make push-website ` as the rule exists but the
101
- intermediary steps aren't fully automated yet.
98
+ To make sure /stable and the latest minor revision point to the new release run the following.
102
99
103
- ``` sh
104
- pushd pandas-website
105
- mv latest.rst previous.rst
106
- # Recreate latest.rst to match release notes from GH in earlier steps
107
- # Update pre_release.json and releases.json
108
- git commit -am " Your updates"
109
- git push
110
- make html
111
- make upload
112
100
```
113
-
114
- To make sure /stable and the latest minor revision point to the new release run the following from root
115
-
116
- ``` sh
117
- popd # should bring us back to root from pandas-website
118
101
make link-stable
119
102
make link-version
120
103
```
121
104
122
- Now check pandas.pydata.org and ensure the sidebar and links are correct!
123
-
124
105
goto announce.
125
106
126
107
Original file line number Diff line number Diff line change @@ -224,12 +224,12 @@ TODO: add steps to clean the pandas-docs directory from the docker container bef
224
224
docker run -t --rm -v %cd%:/local -v pandas-release:/pandas-release pandas-release /bin/bash -c "cp -r /pandas-release/pandas/doc/build/ /local/pandas-docs"
225
225
```
226
226
227
- ## Upload the docs
227
+ ## Upload the Docs
228
228
<!--
229
229
TODO: add steps to update website and reorder so that docs are uploaded b4 github release
230
230
TODO: add the ssh keys to the Docker image or on container creation
231
231
-->
232
- Copy ssh key and config into release container and restart container
232
+ Copy ssh key and config into release container and restart container.
233
233
234
234
```
235
235
docker cp %userprofile%/.ssh pandas-release:/root/.ssh
@@ -259,6 +259,21 @@ make upload-pypi
259
259
exit
260
260
```
261
261
262
- ## Finalize the docs
262
+ ## Finalize the Docs
263
263
264
- ...
264
+ Do this once the wheels are available on PyPI.
265
+
266
+ ```
267
+ docker start pandas-release -i
268
+
269
+ make link-stable
270
+
271
+ make link-version
272
+
273
+ exit
274
+ ```
275
+
276
+ # Announce
277
+
278
+ - [ ] Announce Mailing List
279
+ - [ ] Announce Twitter
You can’t perform that action at this time.
0 commit comments