Skip to content

Commit 8d56d7b

Browse files
authored
Rename airflow-client to apache-airflow-client (#12)
1 parent 5716241 commit 8d56d7b

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

dev/README_RELEASE_CLIENT.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ of this the version in the built artifacts that will become the official Apache
5858
- Tarball the repo
5959

6060
```shell script
61-
git archive --format=tar.gz ${VERSION} --prefix=airflow-client-${VERSION}/ -o airflow-client-${VERSION}-source.tar.gz
61+
git archive --format=tar.gz ${VERSION} --prefix=apache-airflow-client-${VERSION}/ -o apache-airflow-client-${VERSION}-source.tar.gz
6262
```
6363

6464
- Generate sdist
@@ -73,17 +73,17 @@ of this the version in the built artifacts that will become the official Apache
7373
- Rename the sdist
7474

7575
```shell script
76-
mv dist/airflow-client-${VERSION%rc?}.tar.gz airflow-client-${VERSION}-bin.tar.gz
77-
mv dist/airflow_client-${VERSION%rc?}-py3-none-any.whl airflow_client-${VERSION}-py3-none-any.whl
76+
mv dist/apache-airflow-client-${VERSION%rc?}.tar.gz apache-airflow-client-${VERSION}-bin.tar.gz
77+
mv dist/apache_airflow_client-${VERSION%rc?}-py3-none-any.whl apache_airflow_client-${VERSION}-py3-none-any.whl
7878
```
7979

8080
- Generate SHA512/ASC (If you have not generated a key yet, generate it by following instructions on
8181
http://www.apache.org/dev/openpgp.html#key-gen-generate-key)
8282

8383
```shell script
84-
${CLIENT_REPO_ROOT}/dev/sign.sh airflow-client-${VERSION}-source.tar.gz
85-
${CLIENT_REPO_ROOT}/dev/sign.sh airflow-client-${VERSION}-bin.tar.gz
86-
${CLIENT_REPO_ROOT}/dev/sign.sh airflow_client-${VERSION}-py3-none-any.whl
84+
${CLIENT_REPO_ROOT}/dev/sign.sh apache-airflow-client-${VERSION}-source.tar.gz
85+
${CLIENT_REPO_ROOT}/dev/sign.sh apache-airflow-client-${VERSION}-bin.tar.gz
86+
${CLIENT_REPO_ROOT}/dev/sign.sh apache_airflow_client-${VERSION}-py3-none-any.whl
8787
```
8888

8989
- Push the artifacts to ASF dev dist repo
@@ -97,10 +97,10 @@ cd airflow-dev/clients/python
9797
svn mkdir ${VERSION}
9898

9999
# Move the artifacts to svn folder & commit
100-
mv ${CLIENT_REPO_ROOT}/airflow{-,_}client-${VERSION}* ${VERSION}/
100+
mv ${CLIENT_REPO_ROOT}/apache{-,_}*client-${VERSION}* ${VERSION}/
101101
cd ${VERSION}
102102
svn add *
103-
svn commit -m "Add artifacts for Airflow Python Client ${VERSION}"
103+
svn commit -m "Add artifacts for Apache Airflow Python Client ${VERSION}"
104104
```
105105
106106
## Prepare PyPI convenience "snapshot" packages
@@ -131,16 +131,16 @@ To do this we need to
131131
132132
- Verify that the test package looks good by downloading it and installing it into a virtual environment. The package
133133
download link is available at:
134-
https://test.pypi.org/project/airflow-client/#files
134+
https://test.pypi.org/project/apache-airflow-client/#files
135135
136136
Or via pypi
137-
pip install -i https://test.pypi.org/simple/ airflow-client==$(VERSION)
137+
pip install -i https://test.pypi.org/simple/ apache-airflow-client==${VERSION}
138138
139139
- Upload the package to PyPi's production environment:
140140
`twine upload -r pypi dist/*`
141141
142142
- Again, confirm that the package is available here:
143-
https://pypi.python.org/pypi/airflow-client
143+
https://pypi.python.org/pypi/apache-airflow-client
144144
145145
It is important to stress that this snapshot should not be named "release", and it
146146
is not supposed to be used by and advertised to the end-users who do not read the devlist.
@@ -176,15 +176,15 @@ the release candidate version of Airflow Client via simply (<VERSION> is 2.0.0 f
176176
release candidate number 1,2,3,....).
177177
178178
```shell script
179-
pip install airflow-client==<VERSION>rc<X>
179+
pip install apache-airflow-client==<VERSION>rc<X>
180180
```
181181

182182
Once you install and run Airflow Client, you should perform any verification you see as necessary to check
183183
that the client works as you expected.
184184

185-
# Publish the final Airflow client release
185+
# Publish the final Apache Airflow client release
186186

187-
## Summarize the voting for the Airflow client release
187+
## Summarize the voting for the Apache Airflow client release
188188

189189
See Airflow process documented [here](https://github.com/apache/airflow/blob/master/dev/README_RELEASE_AIRFLOW.md#publish-the-final-apache-airflow-release) (just replace Airflow with Airflow Client).
190190

@@ -203,7 +203,7 @@ cd ${VERSION}
203203

204204
# Move the artifacts to svn folder & commit
205205
for f in ../../../airflow-dev/clients/python/$RC/*; do svn cp $f ${$(basename $f)/rc?/}; done
206-
svn commit -m "Release Airflow Client ${VERSION} from ${RC}"
206+
svn commit -m "Release Apache Airflow Python Client ${VERSION} from ${RC}"
207207

208208
# Remove old release
209209
# http://www.apache.org/legal/release-policy.html#when-to-archive
@@ -238,15 +238,15 @@ At this point we release an official package:
238238
```
239239
240240
- Verify that the test package looks good by downloading it and installing it into a virtual environment.
241-
The package download link is available at: https://test.pypi.org/project/airflow-client/#files
241+
The package download link is available at: https://test.pypi.org/project/apache-airflow-client/#files
242242
243243
- Upload the package to PyPi's production environment:
244244

245245
```shell script
246246
twine upload -r pypi dist/*
247247
```
248248

249-
- Again, confirm that the package is available here: https://pypi.python.org/pypi/airflow-client
249+
- Again, confirm that the package is available here: https://pypi.python.org/pypi/apache-airflow-client
250250

251251
## Update CHANGELOG.md
252252

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from setuptools import setup, find_packages # noqa: H301
2828

2929

30-
NAME = "airflow-client"
30+
NAME = "apache-airflow-client"
3131
VERSION = "1.0.0"
3232
# To install the library, run the following
3333
#
@@ -48,11 +48,11 @@
4848
setup(
4949
name=NAME,
5050
version=VERSION,
51-
description="Airflow API (Stable)",
51+
description="Apache Airflow API (Stable)",
5252
author="Apache Software Foundation",
5353
author_email="[email protected]",
5454
url="https://airflow.apache.org/",
55-
keywords=["OpenAPI", "OpenAPI-Generator", "Airflow API (Stable)"],
55+
keywords=["OpenAPI", "OpenAPI-Generator", "Apache Airflow API (Stable)"],
5656
python_requires=">=3.6",
5757
install_requires=REQUIRES,
5858
packages=find_packages(exclude=["test", "tests"]),

0 commit comments

Comments
 (0)