apmec/doc/source/contributor/dev-process.rst
2018-05-07 13:25:56 +02:00

2.8 KiB

Apmec Development Process

Enhancement to Apmec functionality can be done using one of the following two development process options. The choice depends on the complexity of the enhancement.

Request for Enhancement (RFE) Process

The developer, or an operator, can write up the requested enhancement in a Apmec launchpad1 bug.

  • The requester need to mark the bug with "RFE" tag.
  • The bug will be in the initial "New" state.
  • The requester and team will have a discussion on the enhancement in the launchpad bug.
  • Once the discussion is over a apmec-core team member will acknowledge the validity of this feature enhancement by moving it to the "Confirmed" state.
  • Developers submit patchsets to implement the enhancement using the bug-id. Note, if there are multiple patchsets Partial-Bug header should be used instead of Closes-Bug in the commit message.
  • Once all the patchsets are merged the bug will be moved to the "Completed" state.
  • Developer(s) are expected to add a devref describing the usage of the feature and other related topics in apmec/doc/source/contributor directory.

This process is recommended for smaller enhancements that can be described easily and it is relatively easy to implement in a short period of time.

Blueprint and Apmec-Specs process

The developer, or an operator, can write up the requested enhancement by submitting a patchset to the apmec-spec repository2.

  • The patchset should follow the template specified in3
  • The requester should also create a corresponding blueprint for the enhancement proposal in launchpad4
  • The requester and the team will have a discussion on the apmec-spec writeup using gerrit.
  • The patchset will be merged into the apmecs-specs repository if the apmec-core team decides this is a valid feature enhancement. A patchset may also be rejected with clear reasoning.
  • Apmec core team will also mark the blueprint Definition field to Approved.
  • Developer submits one or more patchsets to implement the enhancement. The commit message should use "Implements: blueprint <blueprint-name>" using the same name as the blueprint name.
  • Once all the patchsets are merged the blueprint will be as "Implemented" by the apmec core team.
  • The developer is expected to add a devref describing the usage of the feature and other related topics in apmec/doc/source/contributor directory.

This process is recommended for medium to large enhancements that needs significant code-changes (LOC), community discussions and debates.

References


  1. https://bugs.launchpad.net/apmec↩︎

  2. https://github.com/openstack/apmec-specs↩︎

  3. https://github.com/openstack/apmec-specs/blob/master/specs/template.rst↩︎

  4. https://blueprints.launchpad.net/apmec/↩︎