Skip to content

Commit c12d4df

Browse files
authored
Merge branch 'main' into patch-1
2 parents b1923a4 + 626048e commit c12d4df

File tree

204 files changed

+681
-648
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+681
-648
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
# Contributing to Swift Evolution
1+
# Welcome to the Swift community!
22

3-
<https://www.swift.org/code-of-conduct/>
3+
Contributions to Swift are welcomed and encouraged! Please see the [Contributing to Swift guide](swift.org/contributing) and check out the [structure of the community](https://www.swift.org/community/#community-structure).
44

5-
Pull requests that make minor editorial and administrative changes to this repository are always welcome, including fixing typos and grammar mistakes, repairing links, and maintaining document and repository metadata.
5+
To be a truly great community, Swift needs to welcome developers from all walks of life, with different backgrounds, and with a wide range of experience. A diverse and friendly community will have more great ideas, more unique perspectives, and produce more great code. We will work diligently to make the Swift community welcoming to everyone.
66

7-
Pull requests that add new proposals must follow the [Swift evolution process](process.md), including the proposal having first been pitched on the [evolution forums](https://forums.swift.org/c/evolution/pitches/5).
7+
To give clarity of what is expected of our members, Swift has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates our values well. For more, see the [Code of Conduct](https://www.swift.org/code-of-conduct/).
88

9-
Pull requests that make substantive changes to existing proposals should only be made with the permission of the proposal authors. Substantive changes to a proposal in the Accepted or Rejected states are discouraged and require the approval of the appropriate evolution workgroup. Substantive changes to a proposal in the Active Review state require the approval of the appropriate evolution workgroup and should be advertised in the review thread.
9+
## Contributing to Swift Evolution
1010

11-
Pull requests that add or substantively change vision documents require the approval of the appropriate evolution workgroup.
11+
This repository is not your standard codebase. It houses Swift evolution proposals and related process documents, mostly composed of markdown and text files. Pull requests that make minor editorial and administrative changes are always welcome, including fixing typos and grammar mistakes, repairing links, and maintaining document and repository metadata. Other pull requests must follow the [Swift evolution process](process.md):
1212

13-
Pull requests that substantively change the documented evolution process require the approval of the Core Team.
13+
- New proposals and substantive changes to existing proposals should be [pitched on the evolution forums](https://forums.swift.org/c/evolution/pitches/5) before a PR is opened here.
14+
- Substantive changes to existing proposals require the permission of the proposal authors.
15+
- Substantive changes to existing proposals require the approval of the appropriate evolution workgroup if the proposal is in an Active Review, Accepted, or Rejected state.
16+
- New vision documents and substantive changes to existing vision documents require the approval of the appropriate evolution workgroup.
17+
- Substantive changes to the evolution process require the approval of the Core Team.
18+
- Conversations about the substance of a proposal should be held in an appropriate forums thread rather than in PR comments. This centralizes the discussion and allows more of the community to participate.

process.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Please state explicitly whether you believe that the proposal should be accepted
9595

9696
1. Expand the rough sketch into a formal proposal using the [proposal template](proposal-templates/0000-swift-template.md).
9797
1. In the [swift-evolution repository][swift-evolution-repo], open a [draft pull request][draft-pr] that adds your proposal to the [proposals directory](/proposals).
98-
1. Anounce the pull request on the forums and edit the root post to link out to the pull request.
98+
1. Announce the pull request on the forums and edit the root post to link out to the pull request.
9999
1. Refine the formal proposal in the open as you receive further feedback on the forums or the pull request.
100100
A ripe proposal is expected to address commentary from present and past
101101
discussions of the idea.
@@ -117,7 +117,7 @@ Please state explicitly whether you believe that the proposal should be accepted
117117
existing types and protocols that can be implemented without access to
118118
standard library internals or other non-public features.
119119
For more information about the kinds of changes that can be implemented in
120-
the preview package, see [SE-0264](https://github.com/apple/swift-evolution/blob/main/proposals/0264-stdlib-preview-package.md).
120+
the preview package, see [SE-0264](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0264-stdlib-preview-package.md).
121121

122122
1. **Request a review**
123123

@@ -205,8 +205,8 @@ A given proposal can be in one of several states:
205205
If the proposal's implementation spans multiple version numbers,
206206
write the version number for which the implementation will be complete.
207207

208-
[swift-evolution-repo]: https://github.com/apple/swift-evolution "Swift evolution repository"
209-
[swift-evolution-staging]: https://github.com/apple/swift-evolution-staging "Swift evolution staging repository"
208+
[swift-evolution-repo]: https://github.com/swiftlang/swift-evolution "Swift evolution repository"
209+
[swift-evolution-staging]: https://github.com/swiftlang/swift-evolution-staging "Swift evolution staging repository"
210210
[proposal-reviews]: https://forums.swift.org/c/evolution/proposal-reviews "'Proposal reviews' category of the Swift forums"
211211
[status-page]: https://apple.github.io/swift-evolution/
212212
[preview-package]: https://github.com/apple/swift-standard-library-preview/
@@ -250,7 +250,7 @@ answer in your review:
250250

251251
More information about the Swift evolution process is available at
252252

253-
> <https://github.com/apple/swift-evolution/blob/main/process.md>
253+
> <https://github.com/swiftlang/swift-evolution/blob/main/process.md>
254254
255255
Thank you,
256256

proposal-templates/0000-swift-template.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
* Authors: [Author 1](https://github.com/swiftdev), [Author 2](https://github.com/swiftdev)
55
* Review Manager: TBD
66
* Status: **Awaiting implementation** or **Awaiting review**
7-
* Vision: *if applicable* [Vision Name](https://github.com/apple/swift-evolution/visions/NNNNN.md)
7+
* Vision: *if applicable* [Vision Name](https://github.com/swiftlang/swift-evolution/visions/NNNNN.md)
88
* Roadmap: *if applicable* [Roadmap Name](https://forums.swift.org/...)
99
* Bug: *if applicable* [apple/swift#NNNNN](https://github.com/apple/swift/issues/NNNNN)
10-
* Implementation: [apple/swift#NNNNN](https://github.com/apple/swift/pull/NNNNN) or [apple/swift-evolution-staging#NNNNN](https://github.com/apple/swift-evolution-staging/pull/NNNNN)
10+
* Implementation: [apple/swift#NNNNN](https://github.com/apple/swift/pull/NNNNN) or [swiftlang/swift-evolution-staging#NNNNN](https://github.com/swiftlang/swift-evolution-staging/pull/NNNNN)
1111
* Upcoming Feature Flag: *if applicable* `MyFeatureName`
1212
* Previous Proposal: *if applicable* [SE-XXXX](XXXX-filename.md)
13-
* Previous Revision: *if applicable* [1](https://github.com/apple/swift-evolution/blob/...commit-ID.../proposals/NNNN-filename.md)
13+
* Previous Revision: *if applicable* [1](https://github.com/swiftlang/swift-evolution/blob/...commit-ID.../proposals/NNNN-filename.md)
1414
* Review: ([pitch](https://forums.swift.org/...))
1515

1616
When filling out this template, you should delete or replace all of
@@ -63,7 +63,7 @@ that and specify the experimental feature flag. If the implementation
6363
is spread across multiple PRs, just link to the most important ones.
6464

6565
`Upcoming Feature Flag` should be the feature name used to identify this
66-
feature under [SE-0362](https://github.com/apple/swift-evolution/blob/main/proposals/0362-piecemeal-future-features.md#proposals-define-their-own-feature-identifier).
66+
feature under [SE-0362](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0362-piecemeal-future-features.md#proposals-define-their-own-feature-identifier).
6767
Not all proposals need an upcoming feature flag. You should think about
6868
whether one would be useful for your proposal as part of filling this
6969
field out.
@@ -249,7 +249,7 @@ be part of the current proposal. It's important to make focused,
249249
self-contained proposals that can be incrementally implemented and
250250
reviewed, but it's also good when proposals feel "complete" rather
251251
than leaving significant gaps in their design. For example, when
252-
[SE-0193](https://github.com/apple/swift-evolution/blob/main/proposals/0193-cross-module-inlining-and-specialization.md)
252+
[SE-0193](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0193-cross-module-inlining-and-specialization.md)
253253
introduced the `@inlinable` attribute, it also included the
254254
`@usableFromInline` attribute so that declarations used in inlinable
255255
functions didn't have to be `public`. This was a relatively small

proposal-templates/0000-swiftpm-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Implementation: [apple/swift-package-manager#NNNNN](https://github.com/apple/swift-package-manager/pull/NNNNN)
1111
* Decision Notes: [Rationale](https://forums.swift.org/), [Additional Commentary](https://forums.swift.org/)
1212
* Bugs: [SR-NNNN](https://bugs.swift.org/browse/SR-NNNN), [SR-MMMM](https://bugs.swift.org/browse/SR-MMMM)
13-
* Previous Revision: [1](https://github.com/apple/swift-evolution/blob/...commit-ID.../proposals/NNNN-filename.md)
13+
* Previous Revision: [1](https://github.com/swiftlang/swift-evolution/blob/...commit-ID.../proposals/NNNN-filename.md)
1414
* Previous Proposal: [SE-XXXX](XXXX-filename.md)
1515

1616
## Introduction

proposals/0003-remove-var-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ this language change.
9797
This proposal originally included removal of `var` bindings for all
9898
refutable patterns as well as function parameters.
9999

100-
[Original SE-0003 Proposal](https://github.com/apple/swift-evolution/blob/8cd734260bc60d6d49dbfb48de5632e63bf200cc/proposals/0003-remove-var-parameters-patterns.md)
100+
[Original SE-0003 Proposal](https://github.com/swiftlang/swift-evolution/blob/8cd734260bc60d6d49dbfb48de5632e63bf200cc/proposals/0003-remove-var-parameters-patterns.md)
101101

102102
Removal of `var` from refutable patterns was reconsidered due to the
103103
burden it placed on valid mutation patterns already in use in Swift 2

proposals/0016-initializers-for-converting-unsafe-pointers-to-ints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Status: **Implemented (Swift 3.0)**
77
* Decision Notes: [Rationale](https://forums.swift.org/t/accepted-se-0016-adding-initializers-to-int-and-uint-to-convert-from-unsafepointer-and-unsafemutablepointer/2005)
88
* Bug: [SR-1115](https://bugs.swift.org/browse/SR-1115)
9-
* Previous Revision: [1](https://github.com/apple/swift-evolution/blob/ae2d7c24fff7cbdff754d9a4339e4fb02df5c690/proposals/0016-initializers-for-converting-unsafe-pointers-to-ints.md)
9+
* Previous Revision: [1](https://github.com/swiftlang/swift-evolution/blob/ae2d7c24fff7cbdff754d9a4339e4fb02df5c690/proposals/0016-initializers-for-converting-unsafe-pointers-to-ints.md)
1010

1111
## Introduction
1212

proposals/0025-scoped-access-level.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Review Manager: [Doug Gregor](https://github.com/DougGregor)
77
* Decision Notes: [Rationale](https://forums.swift.org/t/se-0025-scoped-access-level-next-steps/1797/131)
88
* Bug: [SR-1275](https://bugs.swift.org/browse/SR-1275)
9-
* Previous revision: [1](https://github.com/apple/swift-evolution/blob/e4328889a9643100177aef19f6f428855c5d0cf2/proposals/0025-scoped-access-level.md)
9+
* Previous revision: [1](https://github.com/swiftlang/swift-evolution/blob/e4328889a9643100177aef19f6f428855c5d0cf2/proposals/0025-scoped-access-level.md)
1010

1111
## Introduction
1212

proposals/0032-sequencetype-find.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Status: **Implemented (Swift 3.0)**
77
* Decision Notes: [Rationale](https://forums.swift.org/t/accepted-se-0032-add-find-method-to-sequence/2462)
88
* Bug: [SR-1519](https://bugs.swift.org/browse/SR-1519)
9-
* Previous Revisions: [1](https://github.com/apple/swift-evolution/blob/d709546002e1636a10350d14da84eb9e554c3aac/proposals/0032-sequencetype-find.md)
9+
* Previous Revisions: [1](https://github.com/swiftlang/swift-evolution/blob/d709546002e1636a10350d14da84eb9e554c3aac/proposals/0032-sequencetype-find.md)
1010

1111
## Introduction
1212

proposals/0045-scan-takewhile-dropwhile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Status: **Implemented (Swift 3.1)**
77
* Decision Notes: [Rationale](https://forums.swift.org/t/accepted-with-modifications-se-0045-add-scan-prefix-while-drop-while-and-unfold-to-the-stdlib/2466)
88
* Bug: [SR-1516](https://bugs.swift.org/browse/SR-1516)
9-
* Previous Revisions: [1](https://github.com/apple/swift-evolution/blob/b39d653f7e3d5e982b562664343f26c826652291/proposals/0045-scan-takewhile-dropwhile.md), [2](https://github.com/apple/swift-evolution/blob/baec22a8a5ddaa0407086380da32b5cad2144800/proposals/0045-scan-takewhile-dropwhile.md), [3](https://github.com/apple/swift-evolution/blob/d709546002e1636a10350d14da84eb9e554c3aac/proposals/0045-scan-takewhile-dropwhile.md)
9+
* Previous Revisions: [1](https://github.com/swiftlang/swift-evolution/blob/b39d653f7e3d5e982b562664343f26c826652291/proposals/0045-scan-takewhile-dropwhile.md), [2](https://github.com/swiftlang/swift-evolution/blob/baec22a8a5ddaa0407086380da32b5cad2144800/proposals/0045-scan-takewhile-dropwhile.md), [3](https://github.com/swiftlang/swift-evolution/blob/d709546002e1636a10350d14da84eb9e554c3aac/proposals/0045-scan-takewhile-dropwhile.md)
1010

1111
## Introduction
1212

proposals/0057-importing-objc-generics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Review Manager: [Chris Lattner](https://github.com/lattner)
66
* Status: **Implemented (Swift 3.0)**
77
* Decision Notes: [Rationale](https://forums.swift.org/t/accepted-se-0057-importing-objective-c-lightweight-generics/2185)
8-
* Previous Revision: [Originally Accepted Proposal](https://github.com/apple/swift-evolution/blob/3abbed3edd12dd21061181993df7952665d660dd/proposals/0057-importing-objc-generics.md)
8+
* Previous Revision: [Originally Accepted Proposal](https://github.com/swiftlang/swift-evolution/blob/3abbed3edd12dd21061181993df7952665d660dd/proposals/0057-importing-objc-generics.md)
99

1010

1111
## Introduction
@@ -190,7 +190,7 @@ classes without fundamentally changing the Swift model.
190190

191191
## Revision history
192192

193-
The [originally accepted proposal](https://github.com/apple/swift-evolution/blob/3abbed3edd12dd21061181993df7952665d660dd/proposals/0057-importing-objc-generics.md)
193+
The [originally accepted proposal](https://github.com/swiftlang/swift-evolution/blob/3abbed3edd12dd21061181993df7952665d660dd/proposals/0057-importing-objc-generics.md)
194194
included a mechanism by which Objective-C generic classes could implement
195195
an informal protocol to provide reified generic arguments to Swift clients:
196196

0 commit comments

Comments
 (0)