Skip to content

Commit 88ef7d5

Browse files
committed
Now, main is used for development and automatically forwards to apple/swift/main
1 parent 2ac5bb5 commit 88ef7d5

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

Diff for: README.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -39,31 +39,31 @@ Specifically, `_RegexParser` contains the parser for regular expression literals
3939

4040
### Branching scheme
4141

42-
#### Development branch
43-
4442
The `main` branch is the branch for day-to-day development. Generally, you should create PRs against this branch.
4543

46-
#### Swift integration branches
47-
4844
Branches whose name starts with `swift/` are Swift integration branches similar to those in [apple/llvm-project](https://github.com/apple/llvm-project). For each branch, dropping the `swift/` prefix is the corresponding branch in [apple/swift](https://github.com/apple/swift).
4945

46+
This package's `main` branch will automatically integrate with Swift's `main` branch.
47+
5048
| apple/swift branch | apple/swift-experimental-string-processing branch |
5149
| ------------------- | ----------------------------------------------------- |
52-
| main | swift/main |
50+
| main | main |
5351
| release/5.7 | swift/release/5.7 |
5452
| ... | swift/... |
5553

5654
A pair of corresponding branches are expected to build successfully together and pass all tests.
5755

58-
### Integration workflow
56+
### Running Package CI and full Swift CI
5957

6058
To integrate the latest changes in apple/swift-experimental-string-processing to apple/swift, carefully follow the workflow:
6159

62-
- Create pull requests.
63-
- Create a branch from a commit on `main` that you would like to integrate into `swift/main`.
64-
- Create a pull request in apple/swift-experimental-string-processing from that branch to `swift/main`, e.g. "[Integration] main (<commit>) -> swift/main".
60+
- Run package CI
61+
- In the pull request, trigger package CI using
62+
```
63+
@swift-ci please test
64+
```
65+
- Run full Swift CI for any changes to public or SPI interfaces or the `_RegexParser` module.
6566
- If apple/swift needs to be modified to work with the latest `main` in apple/swift-experimental-string-processing, create a pull request in apple/swift. **Note:** Since CI in apple/swift-experimental-string-processing has not yet been set up to run full toolchain tests, you should create a PR in apple/swift regardless; if the integartion does not require changing apple/swift, create a dummy PR in apple/swift by changing the README and just not merge it in the end.
66-
- Trigger CI.
6767
- In the apple/swift-experimental-string-processing pull request, trigger CI using the following command (replacing `<PR NUMBER>` with the apple/swift pull request number, if any):
6868
```
6969
apple/swift#<PR NUMBER> # use this line only if there is an corresponding apple/swift PR
@@ -75,7 +75,9 @@ To integrate the latest changes in apple/swift-experimental-string-processing to
7575
@swift-ci please test
7676
```
7777
- Merge when approved.
78-
- Merge the pull request in apple/swift-experimental-string-processing as a **merge commit**.
78+
- Merge the PR in apple/swift-experimental-string-processing:
79+
- as a squash or rebase if against main (the development branch).
80+
- as a merge commit if it's a merge from main to swift/release/x.y.
7981
- Merge the pull request in apple/swift (if any).
8082
8183
### Development notes

0 commit comments

Comments
 (0)