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
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -39,11 +39,7 @@ Specifically, `_RegexParser` contains the parser for regular expression literals
39
39
40
40
### Branching scheme
41
41
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.
47
43
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
@@ -55,15 +51,17 @@ Branches whose name starts with `swift/` are Swift integration branches similar
55
51
56
52
A pair of corresponding branches are expected to build successfully together and pass all tests.
57
53
58
-
### Integration workflow
54
+
### Running Package CI and full Swift CI
59
55
60
56
To integrate the latest changes in apple/swift-experimental-string-processing to apple/swift, carefully follow the workflow:
61
57
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.
65
64
- 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
65
- 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
66
```
69
67
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
75
73
@swift-ci please test
76
74
```
77
75
- 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.
0 commit comments