8000 Improve release process documentation (#505) · Bernolt/arrow-datafusion-python@41d65d1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 41d65d1

Browse files
authored
Improve release process documentation (apache#505)
1 parent a47712e commit 41d65d1

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

dev/release/README.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ When prompted for username, enter `__token__`. When prompted for a password, ent
179179
Download the source tarball created in the previous step, untar it, and run:
180180

181181
```bash
182-
python3 -m build
182+
maturin sdist
183183
```
184184

185185
This will create a file named `dist/datafusion-0.7.0.tar.gz`. Upload this to testpypi:
@@ -263,3 +263,48 @@ git checkout 0.8.0-rc1
263263
git tag 0.8.0
264264
git push apache 0.8.0
265265
```
266+
267+
### Add the release to Apache Reporter
268+
269+
Add the release to https://reporter.apache.org/addrelease.html?arrow with a version name prefixed with `RS-DATAFUSION-PYTHON`,
270+
for example `RS-DATAFUSION-PYTHON-31.0.0`.
271+
272+
The release information is used to generate a template for a board report (see example
273+
[here](https://github.com/apache/arrow/pull/14357)).
274+
275+
### Delete old RCs and Releases
276+
277+
See the ASF documentation on [when to archive](https://www.apache.org/legal/release-policy.html#when-to-archive)
278+
for more information.
279+
280+
#### Deleting old release candidates from `dev` svn
281+
282+
Release candidates should be deleted once the release is published.
283+
284+
Get a list of DataFusion release candidates:
285+
286+
```bash
287+
svn ls https://dist.apache.org/repos/dist/dev/arrow | grep datafusion-python
288+
```
289+
290+
Delete a release candidate:
291+
292+
```bash
293+
svn delete -m "delete old DataFusion RC" https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-datafusion-python-7.1.0-rc1/
294+
```
295+
296+
#### Deleting old releases from `release` svn
297+
298+
Only the latest release should be available. Delete old releases after publishing the new release.
299+
300+
Get a list of DataFusion releases:
301+
302+
```bash
303+
svn ls https://dist.apache.org/repos/dist/release/arrow | grep datafusion-python
304+
```
305+
306+
Delete a release:
307+
308+
```bash
309+
svn delete -m "delete old DataFusion release" https://dist.apache.org/repos/dist/release/arrow/arrow-datafusion-python-7.0.0
310+
```

dev/release/rat_exclude_files.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ Cargo.lock
4444
*/.git
4545
.github/*
4646
benchmarks/tpch/queries/q*.sql
47-
benchmarks/tpch/create_tables.sql
47+
benchmarks/tpch/create_tables.sql
48+
.cargo/config.toml

0 commit comments

Comments
 (0)
0