Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2019-03-19 14:59:23 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-03-19 14:59:23 +0300
commit6727747c0b7abf89ac61c6debdc764e8901d6935 (patch)
treeece68676d23d01e4fd15ad558a96b1de1a33c73d
parentabccf3c2de9c66edefcf4e32757702142c0b2bc5 (diff)
Remove outdated information on CONTRIBUTING.md
This change updates the documentation regarding the development process of the Gitaly team. The change does not change the way development is done as the NFS migration is (mostly) done. Closes: https://gitlab.com/gitlab-org/gitaly/issues/1303
-rw-r--r--CONTRIBUTING.md86
1 files changed, 14 insertions, 72 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 38239d9d6..33b914d4a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -72,78 +72,19 @@ RPC name. So for a change to RPC `FooBar` you would get:
|@pokstad1 |
|@johncai |
-
## Development Process
-We use long-running "~Conversation" issues (aka meta-issues) to track the progress of endpoint migrations and other work.
-
-These issues can be tracked on the **[Migration Board](https://gitlab.com/gitlab-org/gitaly/boards/331341)**.
-
-Conversation issues help us track migrations through the stages of the [migration process](doc/MIGRATION_PROCESS.md):
-- ~"Migration:Ready-for-Development"
-- ~"Migration:RPC-Design"
-- ~"Migration:Server-Impl"
-- ~"Migration:Client-Impl"
-- ~"Migration:Ready-for-Testing"
-- ~"Migration:Acceptance-Testing"
-- ~"Migration:Disabled"
-- ~"Migration:Opt-In"
-- ~"Migration:Opt-Out"
-- ~"Migration:Mandatory"
-
-While migration may take several releases from end-to-end, and, so that we can better track progress, each stage of the migration will
-spawn it's own issue. These issues should generally not stay open for more than a week or two.
-
-## How to develop a migration
-
-1. **Select a migration endpoint**: select a migration from the [migration board](https://gitlab.com/gitlab-org/gitaly/boards/331341). These migrations are prioritised so choose one near the top.
- - Assign the conversation issue to yourself so that others know that you are working on it.
-1. **Build the RPC interface**:
- - Using the RPC design in the issue, create a merge request in the [gitaly-proto](https://gitlab.com/gitlab-org/gitaly-proto) repo
-1. **Build the Gitaly Server implementation**
-1. **Build the client implementation**: this will be in one or more of GitLab-Workhorse, GitLab-Shell, GitLab-CE and GitLab-EE.
-1. **Note**: you may find it more productive to work on the RPC interface, server and client implementations simultaneously
- - Sometimes while building the server and client you may discover problems with the RPC interface
- - For this reason, it can be easier to vendor your branch of `gitaly-proto` into your server and client branches during development
- - In GitLab-CE and GitLab-Shell, custom versions of Gitaly can be specified in the `GITALY_SERVER_VERSION` file by using the syntax
- `=my-branch-name`
- - Remember to release a new version of `gitaly-proto` and `gitaly` and change the `GITALY_SERVER_VERSIONS` before review.
-1. **Await a new release of GitLab**:
- - Assign the conversation to the corresponding ["Post GitLab <Version> Deployment"](https://gitlab.com/gitlab-org/gitaly/milestones/)
- milestone.
-1. **Perform Acceptance Testing**
- - We use feature toggles to gradually enable migration endpoints while monitoring their performance and status
- - If a critical bug is discovered, it's disable the feature toggle and move the conversation into the ~"Migration:Disabled" columm
- on the [migration board](https://gitlab.com/gitlab-org/gitaly/boards/331341) until a fix has been released.
-
-### Workflow
-
-1. The owner of a migration is responsible for moving conversation issues across the
- [migration board](https://gitlab.com/gitlab-org/gitaly/boards/331341).
-1. The Gitaly team uses a weekly Wednesday-Wednesday iteration with retrospectives every second week.
-1. Work for the cycle should be assigned to the [appropriate Infrastructure Deliverable](https://gitlab.com/gitlab-org/gitaly/milestones/) milestone and tagged with the ~"Infrastructure Deliverable" label.
- - Please **do not assign ~Conversation issues** to the weekly infrastructure deliverable milestone or the ~"Infrastructure Deliverable" label.
- - ~"Conversation"s are ongoing work-streams while ~"Infrastructure Deliverable" issues should be closed by the upcoming milestone.
-1. To keep track of slipping issues, items which we have been unable to complete by the infrastructure deliverable milestone should be moved over to the next milestone and marked with ~"Moved:x1", ~"Moved:x2", ~"Moved:x3" etc
-
-## Reviews and Approvals
-
-Merge requests need to **approval by at least two [Gitaly team members](https://gitlab.com/groups/gl-gitaly/group_members)**.
-
-If a merge request will affect code that cannot be conditionally disabled via [feature flags](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11747) then at least one of the approvers should be a **Gitaly maintainer**.
-
-Examples of code that **requires maintainer approval** include:
-* Configuration management
-* Process startup or shutdown
-* Shared utility classes such as stream utilities, etc
-
-Examples of code that **does not require maintainer approval** include:
-* Build script changes (does not run in production)
-* Testing changes (does not run in production)
-* Migration endpoints (can be disabled via a feature flag)
-
-Additionally, if you feel that the change you are making is sufficiently complicated or just for your own confidence,
-please feel free to assign a maintainer.
+Gitaly follows the engineering process as described in the [handbook][eng-process],
+with the exception that our [issue tracker][gitaly-issues] is on the Gitaly
+project and there's no distinction between developers and maintainers. Every team
+member is equally responsible for a successful master pipeline and fixing security
+issues.
+
+Merge requests need to **approval by at least two
+[Gitaly team members](https://gitlab.com/groups/gl-gitaly/group_members)**.
+
+[eng-process]: https://about.gitlab.com/handbook/engineering/workflow/
+[gitaly-issues]: https://gitlab.com/gitlab-org/gitaly/issues/
### Review Process
@@ -156,8 +97,9 @@ The Gitaly team uses the following process:
- If there are no discussions, they are free to merge
- Otherwise assign back to the author for next round of review.
-**Note**: the author-reviewer 1-reviewer 2-author cycle works best with small changes. With larger changes feel free to use
-the traditional author-reviewer 1-author-reviewer 1-reviewer 2-author-reviewer 2-cycle.
+**Note**: the author-reviewer 1-reviewer 2-author cycle works best with small changes.
+With larger changes feel free to use the traditional author-reviewer
+1-author-reviewer 1-reviewer 2-author-reviewer 2-cycle.
## Gitaly Developer Quick-start Guide