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.adoc
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Please refer back to this document as a checklist before issuing any pull reques
8
8
9
9
== Code of Conduct
10
10
11
-
Please see our https://github.com/spring-projects/.github/blob/master/CODE_OF_CONDUCT.md[code of conduct]
11
+
Please see our https://github.com/spring-projects/.github/blob/main/CODE_OF_CONDUCT.md[code of conduct]
12
12
13
13
== Reporting Security Vulnerabilities
14
14
@@ -49,7 +49,7 @@ _you should see only 'origin' - which is the fork you created for your own githu
49
49
_you should now see 'upstream' in addition to 'origin' where 'upstream' is the Spring repository from which releases are built_
50
50
6. `git fetch --all`
51
51
7. `git branch -a`
52
-
_you should see branches on origin as well as upstream, including 'master'_
52
+
_you should see branches on origin as well as upstream, including 'main'_
53
53
54
54
== Build from Source
55
55
@@ -126,36 +126,37 @@ You can build and test only a specific module if your contribution is only over
126
126
* If you want to collaborate with another contributor, have them fork your repository (add it as a remote) and `git fetch <your-username>` to grab your branch.
127
127
Alternatively, they can use `git fetch --all` to sync their local state with all of their remotes.
128
128
* If you grant that collaborator push access to your repository, they can even apply their changes to your branch.
129
-
* When ready for your contribution to be reviewed for potential inclusion in the master branch of the canonical `spring-integration` repository (what you know as 'upstream'), issue a pull request to the SpringSource repository (for more detail, see https://help.github.com/articles/using-pull-requests/[Using pull requests]).
130
-
* The project lead may merge your changes into the upstream master branch as-is, he may keep the pull request open yet add a comment about something that should be modified, or he might reject the pull request by closing it.
131
-
* A prerequisite for any pull request is that it will be cleanly merge-able with the upstream master's current state.
129
+
* When ready for your contribution to be reviewed for potential inclusion in the main branch of the canonical `spring-integration` repository (what you know as 'upstream'), issue a pull request to the SpringSource repository (for more detail, see https://help.github.com/articles/using-pull-requests/[Using pull requests]).
130
+
* The project lead may merge your changes into the upstream main branch as-is, he may keep the pull request open yet add a comment about something that should be modified, or he might reject the pull request by closing it.
131
+
* A prerequisite for any pull request is that it will be cleanly merge-able with the upstream main's current state.
132
132
**This is the responsibility of any contributor.**
133
133
If your pull request cannot be applied cleanly, the project lead will most likely add a comment requesting that you make it merge-able.
134
134
For a full explanation, see https://git-scm.com/book/en/Git-Branching-Rebasing[the Pro Git section on rebasing].
135
135
As stated there: _"> Often, you’ll do this to make sure your commits apply cleanly on a remote branch — perhaps in a project to which you’re trying to contribute but that you don’t maintain."_
136
136
137
137
== Keeping your Local Code in Sync
138
138
139
-
* As mentioned above, you should always work on topic branches (since 'master' is a moving target). However, you do want to always keep your own 'origin' master branch in synch with the 'upstream' master.
139
+
* As mentioned above, you should always work on topic branches (since 'main' is a moving target).
140
+
However, you do want to always keep your own 'origin' main branch in synch with the 'upstream' main.
140
141
* Within your local working directory, you can sync up all remotes' branches with: `git fetch --all`
141
-
* While on your own local master branch: `git pull upstream master` (which is the equivalent of fetching upstream/master and merging that into the branch you are in currently)
142
+
* While on your own local main branch: `git pull upstream main` (which is the equivalent of fetching upstream/main and merging that into the branch you are in currently)
142
143
* Now that you're in synch, switch to the topic branch where you plan to work, e.g.: `git checkout -b GH-123`
143
144
* When you get to a stopping point: `git commit`
144
-
* If changes have occurred on the upstream/master while you were working you can sync again:
145
-
- Switch back to master: `git checkout master`
146
-
- Then: `git pull upstream master`
145
+
* If changes have occurred on the upstream/main while you were working you can sync again:
146
+
- Switch back to main: `git checkout main`
147
+
- Then: `git pull upstream main`
147
148
- Switch back to the topic branch: `git checkout GH-123` (no -b needed since the branch already exists)
148
-
- Rebase the topic branch to minimize the distance between it and your recently synced master branch: `git rebase master`
149
+
- Rebase the topic branch to minimize the distance between it and your recently synced main branch: `git rebase main`
149
150
(Again, for more detail see https://git-scm.com/book/en/Git-Branching-Rebasing[the Pro Git section on rebasing]).
150
-
* **Note** While it is generally recommended to __not__ re-write history by using `push --force`, and we do not do this on `master` (and release) branches in the main repo, we require topic branches for pull requests to be rebased before merging, in order to maintain a clean timeline and avoid "merge" commits.
151
+
* **Note** While it is generally recommended to __not__ re-write history by using `push --force`, and we do not do this on `main` (and release) branches in the main repo, we require topic branches for pull requests to be rebased before merging, in order to maintain a clean timeline and avoid "merge" commits.
151
152
* If, while rebasing for the merge, we find significant conflicts, we may ask you to rebase and `push --force` to your topic branch after resolving the conflicts.
152
-
* Assuming your pull request is merged into the 'upstream' master, you will end up pulling that change into your own master eventually and, at that time, you may decide to delete the topic branch from your local repository and your fork (origin) if you pushed it there.
153
+
* Assuming your pull request is merged into the 'upstream' main, you will end up pulling that change into your own main eventually and, at that time, you may decide to delete the topic branch from your local repository and your fork (origin) if you pushed it there.
153
154
- to delete the local branch: `git branch -d GH-123`
154
155
- to delete the branch from your origin: `git push origin :GH-123`
155
156
156
157
== Maintain a linear commit history
157
158
158
-
When merging to master, the project __always__ uses fast-forward merges.
159
+
When merging to main, the project __always__ uses fast-forward merges.
159
160
As discussed above, when issuing pull requests, please ensure that your commit history is linear.
160
161
From the command line you can check this using:
161
162
@@ -181,7 +182,7 @@ This command, will provide the following output, which in this case shows a nice
181
182
----
182
183
183
184
If you see intersecting lines, that usually means that you forgot to rebase you branch.
184
-
As mentioned earlier, **please rebase against master** before issuing a pull request.
185
+
As mentioned earlier, **please rebase against main** before issuing a pull request.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
Spring Integration [<imgsrc="https://build.spring.io/plugins/servlet/wittified/build-status/INT-MASTER">](https://build.spring.io/browse/INT-MASTER)[](https://gitter.im/spring-projects/spring-integration?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1
+
Spring Integration [<imgsrc="https://build.spring.io/plugins/servlet/wittified/build-status/INT-MAIN">](https://build.spring.io/browse/INT-MAIN)[](https://gitter.im/spring-projects/spring-integration?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2
2
==================
3
3
4
4
# Code of Conduct
5
5
6
-
Please see our [Code of conduct](https://github.com/spring-projects/.github/blob/master/CODE_OF_CONDUCT.md).
6
+
Please see our [Code of conduct](https://github.com/spring-projects/.github/blob/main/CODE_OF_CONDUCT.md).
7
7
8
8
# Reporting Security Vulnerabilities
9
9
@@ -73,7 +73,7 @@ File -> Open... -> and select build.gradle from spring-integration project root
73
73
74
74
# Guidelines
75
75
76
-
See also [Contributor Guidelines](https://github.com/spring-projects/spring-integration/blob/master/CONTRIBUTING.adoc).
76
+
See also [Contributor Guidelines](https://github.com/spring-projects/spring-integration/blob/main/CONTRIBUTING.adoc).
Copy file name to clipboardExpand all lines: src/reference/asciidoc/barrier.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,4 +83,4 @@ public class Config {
83
83
}
84
84
----
85
85
86
-
For an example of this component, see the https://github.com/spring-projects/spring-integration-samples/tree/master/basic/barrier[barrier sample application].
86
+
For an example of this component, see the https://github.com/spring-projects/spring-integration-samples/tree/main/basic/barrier[barrier sample application].
Copy file name to clipboardExpand all lines: src/reference/asciidoc/changes-1.0-2.0.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ See also the following blog: https://spring.io/blog/2010/03/29/using-udp-and-tcp
90
90
91
91
Twitter adapters provides support for sending and receiving Twitter status updates as well as direct messages.
92
92
You can also perform Twitter Searches with an inbound channel adapter.
93
-
See https://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-social-twitter[Spring Integration Social Twitter] for more details.
93
+
See https://github.com/spring-projects/spring-integration-extensions/tree/main/spring-integration-social-twitter[Spring Integration Social Twitter] for more details.
Copy file name to clipboardExpand all lines: src/reference/asciidoc/changes-2.0-2.1.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,13 +209,13 @@ The Spring Integration Git repository is located at: https://github.com/spring-p
209
209
For the project, we also improved the process of providing code contributions.
210
210
Further, we ensure that every commit is peer-reviewed.
211
211
In fact, core committers now follow the same process as contributors.
212
-
For more details, see https://github.com/spring-projects/spring-integration/blob/master/CONTRIBUTING.adoc[Contributing].
212
+
For more details, see https://github.com/spring-projects/spring-integration/blob/main/CONTRIBUTING.adoc[Contributing].
213
213
214
214
[[x2.1-sonar]]
215
215
===== Improved Source Code Visibility with Sonar
216
216
217
217
In an effort to provide better source code visibility and consequently to monitor the quality of Spring Integration's source code, we set up an instance of https://www.sonarqube.org/[Sonar].
218
-
We gather metrics nightly and make them available at https://sonar.spring.io/dashboard?id=org.springframework.integration%3Aspring-integration%3Amaster[sonar.spring.io].
218
+
We gather metrics nightly and make them available at https://sonar.spring.io/dashboard?id=org.springframework.integration%3Aspring-integration%3Amain[sonar.spring.io].
Copy file name to clipboardExpand all lines: src/reference/asciidoc/changes-3.0-4.0.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ For more information, see <<./configuration.adoc#annotations,Annotation Support>
128
128
129
129
We added a new twitter endpoint: `<int-twitter-search-outbound-gateway/>`.
130
130
Unlike the search inbound adapter, which polls by using the same search query each time, the outbound gateway allows on-demand customized queries.
131
-
For more information, see https://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-social-twitter[Spring Integration Social Twitter].
131
+
For more information, see https://github.com/spring-projects/spring-integration-extensions/tree/main/spring-integration-social-twitter[Spring Integration Social Twitter].
132
132
133
133
[[x4.0-gemfire-metadata]]
134
134
===== Gemfire Metadata Store
@@ -248,7 +248,7 @@ See <<./ftp.adoc#ftp-session-factory,FTP Session Factory>> for more information.
248
248
249
249
The `StatusUpdatingMessageHandler` (`<int-twitter:outbound-channel-adapter>`) now supports the `tweet-data-expression` attribute to build a `org.springframework.social.twitter.api.TweetData` object for updating the timeline status.
250
250
This feature allows, for example, attaching an image.
251
-
See https://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-social-twitter[Spring Integration Social Twitter] for more information.
251
+
See https://github.com/spring-projects/spring-integration-extensions/tree/main/spring-integration-social-twitter[Spring Integration Social Twitter] for more information.
Copy file name to clipboardExpand all lines: src/reference/asciidoc/changes-5.0-5.1.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ In addition the key and trust store types can now be configured on the `DefaultT
188
188
==== Twitter Support
189
189
190
190
Since the Spring Social project has moved to https://spring.io/blog/2018/07/03/spring-social-end-of-life-announcement[end of life status], Twitter support in Spring Integration has been moved to the Extensions project.
191
-
See https://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-social-twitter[Spring Integration Social Twitter] for more information.
191
+
See https://github.com/spring-projects/spring-integration-extensions/tree/main/spring-integration-social-twitter[Spring Integration Social Twitter] for more information.
Copy file name to clipboardExpand all lines: src/reference/asciidoc/codec.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ You can override these framework defaults by configuring the registrars mentione
91
91
====== Using a Custom Kryo Serializer
92
92
93
93
If you need custom serialization, see the https://github.com/EsotericSoftware/kryo[Kryo] documentation, because you need to use the native API to do the customization.
94
-
For an example, see the https://github.com/spring-projects/spring-integration/blob/master/spring-integration-core/src/main/java/org/springframework/integration/codec/kryo/MessageCodec.java[`MessageCodec`] implementation.
94
+
For an example, see the https://github.com/spring-projects/spring-integration/blob/main/spring-integration-core/src/main/java/org/springframework/integration/codec/kryo/MessageCodec.java[`MessageCodec`] implementation.
0 commit comments