Skip to content

Commit 472ec21

Browse files
committed
Update default branch to trunk
1 parent eba45bc commit 472ec21

File tree

7 files changed

+25
-24
lines changed

7 files changed

+25
-24
lines changed

.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,11 @@ workflows:
354354
ignore: /pull\/[0-9]+/
355355
- Connected Tests:
356356
post-to-slack: true
357-
# Always run connected tests on develop and release branches
357+
# Always run connected tests on trunk and release branches
358358
filters:
359359
branches:
360360
only:
361-
- develop
361+
- trunk
362362
- /^release.*/
363363
- /^gutenberg\/integrate_release_.*/
364364
Optional Tests:
@@ -373,7 +373,7 @@ workflows:
373373
filters:
374374
branches:
375375
ignore:
376-
- develop
376+
- trunk
377377
- /^release.*/
378378
- /^gutenberg\/integrate_release_.*/
379379
- /pull\/[0-9]+/

docs/coding-style.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Once installed, you can configure the plugin here:
2727

2828
`Android Studio > Preferences... > Tools > Checkstyle`
2929

30-
From there, add and enable the custom configuration file, located at [config/checkstyle.xml](https://github.com/wordpress-mobile/WordPress-Android/blob/develop/config/checkstyle.xml).
30+
From there, add and enable the custom configuration file, located at [config/checkstyle.xml](https://github.com/wordpress-mobile/WordPress-Android/blob/trunk/config/checkstyle.xml).
3131

3232
## ktlint
3333

@@ -53,4 +53,4 @@ Once installed, you can configure the plugin here:
5353

5454
`Android Studio > Preferences... > Tools > Detekt`
5555

56-
From there, add and enable the custom configuration file, located at [config/detekt/detekt.yml](https://github.com/wordpress-mobile/WordPress-Android/blob/develop/config/detekt/detekt.yml).
56+
From there, add and enable the custom configuration file, located at [config/detekt/detekt.yml](https://github.com/wordpress-mobile/WordPress-Android/blob/trunk/config/detekt/detekt.yml).

docs/pull-request-guidelines.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Please read [Feature Branches](https://make.wordpress.org/mobile/handbook/genera
66

77
## Commits
88

9-
As you commit code to these branches, don’t tag the issue number in the individual commit messages as it pollutes the pull request and makes it messier, just attach the issue number to the final pull request. Before you submit your final pull request, make sure all your branches are up to date with `develop`.
9+
As you commit code to these branches, don’t tag the issue number in the individual commit messages as it pollutes the pull request and makes it messier, just attach the issue number to the final pull request. Before you submit your final pull request, make sure all your branches are up to date with `trunk`.
1010

1111
## Anatomy of a Good Pull Request
1212

13-
When you are ready, please, spend time crafting a good Pull Request, since it will have a huge impact on the work of reviewers, release managers and testers.
13+
When you are ready, please, spend time crafting a good Pull Request, since it will have a huge impact on the work of reviewers, release managers and testers.
1414

1515
**Title**: A good descriptive title.
1616

@@ -26,4 +26,4 @@ When you are ready, please, spend time crafting a good Pull Request, since it wi
2626

2727

2828

29-
_Thank you very much for contributing to WordPress for Android!_
29+
_Thank you very much for contributing to WordPress for Android!_

fastlane/Fastfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ REPOSITORY_NAME = 'WordPress-Android'
132132
# bundle exec fastlane code_freeze update_release_branch_version:false
133133
# bundle exec fastlane code_freeze skip_confirm:true
134134
#####################################################################################
135-
desc 'Creates a new release branch from the current develop'
135+
desc 'Creates a new release branch from the current trunk'
136136
lane :code_freeze do |options|
137137
old_version = android_codefreeze_prechecks(skip_confirm: options[:skip_confirm])
138138

fastlane/Pluginfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ group :screenshots, optional: true do
66
gem 'rmagick', '~> 4.1'
77
end
88

9-
# gem 'fastlane-plugin-wpmreleasetoolkit', git: '[email protected]:wordpress-mobile/release-toolkit.git', branch: 'develop'
9+
# gem 'fastlane-plugin-wpmreleasetoolkit', git: '[email protected]:wordpress-mobile/release-toolkit.git', branch: 'trunk'
10+
# TODO: Update to the next major version after: https://github.com/wordpress-mobile/release-toolkit/pull/319
1011
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 2.0'

gradle.properties-example

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ android.useAndroidX=true
1414
android.enableJetifier=true
1515

1616
# For more details on what these properties do visit
17-
# https://github.com/wordpress-mobile/WordPress-Android/blob/develop/README.md
17+
# https://github.com/wordpress-mobile/WordPress-Android/blob/trunk/README.md
1818

1919
wp.oauth.app_id = wordpress
2020
wp.oauth.app_secret = wordpress

libs/mocks/README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Network mocking for testing the WordPress mobile apps
99
To use this library in your project, you must set it up as a subtree.
1010
From the root of your main project, add the subtree:
1111

12-
$ git subtree add --prefix=libs/mocks [email protected]:wordpress-mobile/WordPressMocks.git develop
12+
$ git subtree add --prefix=libs/mocks [email protected]:wordpress-mobile/WordPressMocks.git trunk
1313

1414
This will create a new directory, `libs/mocks`, containing the contents of this repository.
1515

@@ -49,7 +49,7 @@ Here `8282` is the port to run the server on. It can now be accessed from `http:
4949

5050
You can fetch the latest changes made to this library into your project using:
5151

52-
$ git subtree pull --prefix=libs/mocks [email protected]:wordpress-mobile/WordPressMocks.git develop --squash
52+
$ git subtree pull --prefix=libs/mocks [email protected]:wordpress-mobile/WordPressMocks.git trunk --squash
5353

5454
And you can push your own changes upstream to `WordPressMocks` using:
5555

@@ -61,17 +61,17 @@ Note: You can add this repository as a remote to simplify the `git subtree push`
6161

6262
This will allow to use this form instead:
6363

64-
$ git subtree pull --prefix=libs/mocks mockslib develop --squash
65-
66-
67-
## Creating a mock file
64+
$ git subtree pull --prefix=libs/mocks mockslib trunk --squash
6865

69-
The JSON files used by WireMock to handle requests and are located in `src/main/assets`. To generate one of these files
66+
67+
## Creating a mock file
68+
69+
The JSON files used by WireMock to handle requests and are located in `src/main/assets`. To generate one of these files
7070
you're first going to want to set up [Charles Proxy](https://www.charlesproxy.com/) (or similar) to work with your Android emulator.
71-
If you've never done this I found
72-
[this article](https://medium.com/@daptronic/the-android-emulator-and-charles-proxy-a-love-story-595c23484e02) to be a
71+
If you've never done this I found
72+
[this article](https://medium.com/@daptronic/the-android-emulator-and-charles-proxy-a-love-story-595c23484e02) to be a
7373
good place to start. Once you've done that you'll want to walk through the specfic flow you're testing and store the JSON contents
74-
of the necessary responses in the `jsonBody` field of the `response` field in the mock file.
74+
of the necessary responses in the `jsonBody` field of the `response` field in the mock file.
7575

7676
Here's an example of what this might look like,
7777

@@ -93,10 +93,10 @@ Here's an example of what this might look like,
9393
}
9494
}
9595
}
96-
```
96+
```
9797

98-
These files are used to match network requests while the tests are being run. For more on request matching with
99-
WireMock check out [their documentation](http://wiremock.org/docs/request-matching/).
98+
These files are used to match network requests while the tests are being run. For more on request matching with
99+
WireMock check out [their documentation](http://wiremock.org/docs/request-matching/).
100100

101101
## License ##
102102

0 commit comments

Comments
 (0)