Skip to content

Commit

Permalink
update Development section of doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Jul 28, 2018
1 parent 3595009 commit 6d3a969
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 13 deletions.
15 changes: 11 additions & 4 deletions checklist.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
ToDo for releasing
=====================
.. release procedure
1. check travis-ci testing result
Prepare newest packages:

* setuptools
* wheel
* twine

Procedure:

1. check travis-ci testing result: https://travis-ci.org/shimizukawa/django-redshift-backend
2. check release version in ``setup.py`` and ``CHANGES.rst``
3. build distribtion files: ``python setup.py release sdist bdist_wheel``
4. make a test release: ``twine upload --repository-url https://test.pypi.org/legacy dist/<new-version-files>``
5. make a release: ``twine upload dist/<new-version-files>``
6. check PyPI page: https://pypi.org/p/django-redshift-backend
7. tagging with version name. e.g.: git tag 0.4
8. bump version in setup.py and README.rst
8. bump version in setup.py and README.rst and commit/push them onto GitHub

44 changes: 35 additions & 9 deletions doc/dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,35 @@
Development
===========

Issue Reporting
===============

**To Be Written**

* https://github.com/shimizukawa/django-redshift-backend/issues

Testing
=======

Testing this package requires:
Install these packages before testing:

* tox-1.8 or later
* virtualenv-15.0.1 or later
* pip-8.1.1 or later
* pip-10.0.3 or later

Run test
--------

CI
---
Just run tox::

**To Be Written**
$ tox

tox have several sections for testing.

CI (Continuous Integration)
----------------------------

All tests will be run on Travis CI service.

* https://travis-ci.org/shimizukawa/django-redshift-backend

Expand All @@ -28,10 +43,21 @@ Pull Request
* https://github.com/shimizukawa/django-redshift-backend/pulls


Issue Reporting
===============
Releasing
=========

**To Be Written**
New package version
-------------------

The django-redshift-backend package will be uploaded to PyPI: https://pypi.org/project/django-redshift-backend/.

Here is a release procefure for releasing.

.. include:: ../checklist.rst


Updated documentation
---------------------

https://github.com/shimizukawa/django-redshift-backend/issues
Sphinx documentation under ``doc/`` directory on the master branch will be automatically uploaded into ReadTheDocs: http://django-redshift-backend.rtfd.io/.

0 comments on commit 6d3a969

Please sign in to comment.