8000 minio-py/MAINTAINERS.md at meta · poornas/minio-py · GitHub
[go: up one dir, main page]

Skip to content
{"props":{"color_mode":"dark","logged_in":false,"marketing_page":false,"home_path":"/","login_path":"/login?return_to=https%3A%2F%2FGitHub.com%2Fpoornas%2Fminio-py%2Fblob%2Fmeta%2FMAINTAINERS.md","signup_path":"/signup?ref_cta=Sign+up\u0026ref_loc=header+logged+out\u0026ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow\u0026source=header-repo\u0026source_repo=poornas%2Fminio-py","signup_enabled":true,"is_signup_controller":false,"show_search_and_nav":true,"hide_search":false,"private_mode_enabled":false,"should_use_dotcom_links":true,"auth_hydro_click":"{\"event_type\":\"authentication.click\",\"payload\":{\"location_in_page\":\"site header menu\",\"repository_id\":null,\"auth_type\":\"SIGN_UP\",\"originating_url\":\"https://GitHub.com/poornas/minio-py/blob/meta/MAINTAINERS.md\",\"user_id\":null}}","auth_hydro_click_hmac":"c2451dfc2d4ee48978e6e93307526a6d707afa33d09dd54400e7efce51547cea"}}

Latest commit

 

History

History
81 lines (66 loc) · 2.09 KB

MAINTAINERS.md

File metadata and controls

81 lines (66 loc) · 2.09 KB

For maintainers only

Responsibilities

Please go through this link Maintainer Responsibility

Setup your minio-py Github Repository

Fork minio-py upstream source repository to your own personal repository.

$ git clone git@github.com:minio/minio-py
$ cd minio-py
$ pip install urllib3 certifi pytz pyflakes faker twine

Modify package version

$ cat minio/__init__.py
...
...
__version__ = '2.2.5'
...
...

Build and verify

Run ./tests/unit_test.sh and ./tests/functional_test.sh to verify the SDK.

$ ./tests/unit_test.sh
$ ./tests/functional_test.sh all
$ python setup.py sdist bdist bdist_wheel

Publishing new packages

Setup your pypirc

Create a new pypirc

$ cat >> $HOME/.pypirc << EOF
[distutils]
index-servers =
    pypi

[pypi]
username:minio
password:**REDACTED**
EOF

Sign

Sign the release artifacts, this step requires you to have access to Minio's trusted private key.

$ export GNUPGHOME=/media/${USER}/minio/trusted
$ gpg --detach-sign -a dist/minio-2.2.5.tar.gz
$ gpg --detach-sign -a dist/minio-2.2.5.linux-x86_64.tar.gz
$ gpg --detach-sign -a dist/minio-2.2.5-py2.py3-none-any.whl

Upload to pypi

Upload the signed release artifacts, please install twine v1.8.0+ for following steps to work properly.

$ twine upload dist/*

Tag

Tag and sign your release commit, additionally this step requires you to have access to Minio's trusted private key.

$ export GNUPGHOME=/media/${USER}/minio/trusted
$ git tag -s 2.2.5
$ git push
$ git push --tags

Announce

Announce new release by adding release notes at https://github.com/minio/minio-py/releases from trusted@minio.io account. Release notes requires two sections highlights and changelog. Highlights is a bulleted list of salient features in this release and Changelog contains list of all commits since the last release.

To generate changelog

git log --no-color --pretty=format:'-%d %s (%cr) <%an>' <last_release_tag>..<latest_release_tag>
0