You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ istgt is an Apache 2.0 Licensed project and all your commits should be signed wi
47
47
* Find an issue to work on or create a new issue. The issues are maintained at [openebs/istgt](https://github.com/openebs/istgt/issues). You can pick up from a list of [good-first-issues](https://github.com/openebs/openebs/labels/good%20first%20issue).
48
48
* Claim your issue by commenting your intent to work on it to avoid duplication of efforts.
49
49
* Fork the repository on GitHub.
50
-
* Create a branch from where you want to base your work (usually from replication branch).
50
+
* Create a branch from where you want to base your work (usually from develop branch).
51
51
* Make your changes. If you are working on code contributions, please see [Setting up the Development Environment](#setting-up-your-development-environment).
52
52
* Commit your changes by making sure the commit messages convey the need and notes about the commit.
53
53
* Please make sure than your code is aligned with the standard mentioned at [code-standard](code-standard.md).
@@ -56,7 +56,7 @@ istgt is an Apache 2.0 Licensed project and all your commits should be signed wi
56
56
* Submit a pull request to the original repository. See [Pull Request checklist](#pull-request-checklist).
57
57
58
58
## Pull Request Checklist
59
-
* Rebase to the current replication branch before submitting your pull request.
59
+
* Rebase to the current develop branch before submitting your pull request.
60
60
* Commits should be as small as possible. Each commit should follow the checklist below:
61
61
- For code changes, add tests relevant to the fixed bug or new feature.
62
62
- Pass the compile and tests - includes spell checks, formatting, etc.
Copy file name to clipboardexpand all lines: RELEASE.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Once all the above tests are completed, a main release tagged image is published
20
20
21
21
istgt is released as container image with versioned tag.
22
22
23
-
Before creating a release, repo owner needs to create a separate branch from the active branch, which is `replication`. Name of the branch should follow the naming convention of `v.1.9.x`, if release is for v1.9.0.
23
+
Before creating a release, repo owner needs to create a separate branch from the active branch, which is `develop`. Name of the branch should follow the naming convention of `v.1.9.x`, if release is for v1.9.0.
24
24
25
25
Once the release branch is created, changelog from `changelogs/unreleased` needs to be moved to release specific folder `changelogs/v1.9.x`, if release branch is `v1.10.x` then folder will be `changelogs/v1.10.x`.
26
26
@@ -32,7 +32,7 @@ Images are published at following location:
Once a release is created, update the release description with the change log mentioned in `changelog/v1.9.x`. Once the change logs are updated in release, repo owner needs to create a PR to `replication` with the following details:
35
+
Once a release is created, update the release description with the change log mentioned in `changelog/v1.9.x`. Once the change logs are updated in release, repo owner needs to create a PR to `develop` with the following details:
36
36
1. update the changelog from `changelog/v1.9.x` to `istgt/CHANGELOG.md`
37
37
2. If release is not a RC tag then PR should include the changes to remove `changelog/v1.9.x` folder.
38
38
3. If release is a RC tag then PR should include the changes to remove the changelog from `changelog/v1.9.x` which are already mentioned in `istgt/CHANGELOG.md` as part of step number 1.
Copy file name to clipboardexpand all lines: code-standard.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Sign your work
4
4
5
-
We use the Developer Certificate of Origin (DCO) as an additional safeguard for the OpenEBS project. This is a well established and widely used mechanism to assure that contributors have confirmed their right to license their contribution under the project's license. Please read [dcofile](https://github.com/openebs/openebs/blob/master/contribute/developer-certificate-of-origin). If you can certify it, then just add a line to every git commit message:
5
+
We use the Developer Certificate of Origin (DCO) as an additional safeguard for the OpenEBS project. This is a well established and widely used mechanism to assure that contributors have confirmed their right to license their contribution under the project's license. Please read [dcofile](https://github.com/openebs/openebs/blob/main/contribute/developer-certificate-of-origin). If you can certify it, then just add a line to every git commit message:
Fetch all the changes from the upstream replication branch.
107
+
Fetch all the changes from the upstream develop branch.
108
108
109
109
```sh
110
-
$ git fetch upstream replication
110
+
$ git fetch upstream develop
111
111
From https://github.com/openebs/istgt
112
-
* branch replication -> FETCH_HEAD
112
+
* branch develop -> FETCH_HEAD
113
113
```
114
114
115
-
Rebase your local replication branch with the upstream/replication.
115
+
Rebase your local develop branch with the upstream/develop.
116
116
117
117
```sh
118
-
$ git rebase upstream/replication
118
+
$ git rebase upstream/develop
119
119
First, rewinding head to replay your work on top of it...
120
-
Fast-forwarded replication to upstream/replication.
120
+
Fast-forwarded develop to upstream/develop.
121
121
```
122
-
This command applies all the commits from the upstream replication to your local development branch.
122
+
This command applies all the commits from the upstream develop to your local development branch.
123
123
124
124
Check the status of your local branch.
125
125
@@ -128,29 +128,29 @@ $ cd <path_to_fork_repo>
128
128
On branch develop
129
129
nothing to commit, working directory clean
130
130
```
131
-
Your local repository now has all the changes from the upstream remote. You need to push the changes to your own remote fork which is origin replication.
131
+
Your local repository now has all the changes from the upstream remote. You need to push the changes to your own remote fork which is origin develop.
132
132
133
-
Push the rebased replication to origin replication.
Always start with creating a new branch from replication to work on a new feature or bugfix. Your branch name should have the format XX-descriptive where XX is the issue number you are working on followed by some descriptive text. For example:
149
+
Always start with creating a new branch from develop to work on a new feature or bugfix. Your branch name should have the format XX-descriptive where XX is the issue number you are working on followed by some descriptive text. For example:
150
150
151
151
```sh
152
-
$ git checkout replication
153
-
# Make sure the replication is rebased with the latest changes as described in previous step.
152
+
$ git checkout develop
153
+
# Make sure the develop is rebased with the latest changes as described in previous step.
154
154
$ git checkout -b 1234-fix-developer-docs
155
155
Switched to a new branch '1234-fix-developer-docs'
156
156
```
@@ -163,7 +163,7 @@ Happy Hacking!
163
163
```sh
164
164
# While on your myfeature branch (see above)
165
165
git fetch upstream
166
-
git rebase upstream/replication
166
+
git rebase upstream/develop
167
167
```
168
168
169
169
While you rebase your changes, you must resolve any conflicts that might arise and build and test your changes using the above steps.
0 commit comments