File: contributing.rst

package info (click to toggle)
python-designateclient 6.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 796 kB
  • sloc: python: 4,496; makefile: 26; sh: 2
file content (32 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Contributing
============

Code is hosted `on GitHub`_. Submit bugs to the Designate Client project on
`Launchpad`_. Submit code to the openstack/python-designateclient project using
`Gerrit`_.

.. _on GitHub: https://github.com/openstack/python-designateclient
.. _Launchpad: https://launchpad.net/python-designateclient
.. _Gerrit: https://docs.openstack.org/infra/manual/developers.html#development-workflow

Here's a quick summary:

Install the git-review package to make life easier

.. code-block:: shell-session

  pip install git-review

Branch, work, & submit:

.. code-block:: shell-session

  # cut a new branch, tracking master
  git checkout --track -b bug/id origin/master
  # work work work
  git add stuff
  git commit
  # rebase/squash to a single commit before submitting
  git rebase -i
  # submit
  git-review