Skip to content

Commit d4c79d9

Browse files
committed
Use swift/main for development
1 parent b5764dd commit d4c79d9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ Specifically, `_RegexParser` contains the parser for regular expression literals
3939

4040
### Branching scheme
4141

42-
#### Development branch
43-
44-
The `main` branch is the branch for day-to-day development. Generally, you should create PRs against this branch.
45-
46-
#### Swift integration branches
42+
The `swift/main` branch is the branch for day-to-day development. Generally, you should create PRs against this branch.
4743

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

@@ -55,15 +51,17 @@ Branches whose name starts with `swift/` are Swift integration branches similar
5551

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

58-
### Integration workflow
54+
### Running Package CI and full Swift CI
5955

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

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".
58+
- Run package CI
59+
- In the pull request, trigger package CI using
60+
```
61+
@swift-ci please test
62+
```
63+
- Run full Swift CI for any changes to public or SPI interfaces or the `_RegexParser` module.
6564
- 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.
6765
- 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):
6866
```
6967
apple/swift#<PR NUMBER> # use this line only if there is an corresponding apple/swift PR
@@ -75,7 +73,9 @@ To integrate the latest changes in apple/swift-experimental-string-processing to
7573
@swift-ci please test
7674
```
7775
- Merge when approved.
78-
- Merge the pull request in apple/swift-experimental-string-processing as a **merge commit**.
76+
- Merge the PR in apple/swift-experimental-string-processing:
77+
- as a squash or rebase if against swift/main (the development branch).
78+
- as a merge commit if it's a merge from swift/main to swift/release/x.y.
7979
- Merge the pull request in apple/swift (if any).
8080
8181
### Development notes

0 commit comments

Comments
 (0)