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: README.md
+13-11
Original file line number
Diff line number
Diff line change
@@ -39,31 +39,31 @@ Specifically, `_RegexParser` contains the parser for regular expression literals
39
39
40
40
### Branching scheme
41
41
42
-
#### Development branch
43
-
44
42
The `main` branch is the branch for day-to-day development. Generally, you should create PRs against this branch.
45
43
46
-
#### Swift integration branches
47
-
48
44
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).
49
45
46
+
This package's `main` branch will automatically integrate with Swift's `main` branch.
A pair of corresponding branches are expected to build successfully together and pass all tests.
57
55
58
-
### Integration workflow
56
+
### Running Package CI and full Swift CI
59
57
60
58
To integrate the latest changes in apple/swift-experimental-string-processing to apple/swift, carefully follow the workflow:
61
59
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.
65
66
- 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.
67
67
- 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):
68
68
```
69
69
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
75
75
@swift-ci please test
76
76
```
77
77
- 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.
0 commit comments