Commit Graph
18 Commits
Author SHA1 Message Date
Jaleel AkbashevandRick Newton-Rogers bdbabb2827 Removed Docker references as repo moved to Github actions (#3227)
### Motivation:

A bit confusing to see docker mentioned in Readme file, when in reality
you can't run docker compose anymore.

### Modifications:

Updated README and CONTRIBUTING files, removed some scripts.

### Result:

No mentions of docker so users are not confused.

Co-authored-by: Rick Newton-Rogers <rnro@apple.com>
2025-05-05 12:08:27 +01:00
Michael GechtandCory Benfield 4d2fb577b9 Update documentation comments (#2998)
Updates to documentation comments in `NIOFileSystem`.

### Motivation:

I've been reviewing some parts of `NIOFileSystem` and came across a
variety of formatting of documentation comments.

### Modifications:

I've adopted a stricter 100-character limit (arbitrary, really; it could
be longer or shorter and is totally not consistent with the rest of the
repository). Also updated a bunch of grammar in comments. Fixed a few
typos along the way.

### Result:

- Updated comments have a better flow while reading, and aren't as
abrupt as before.
- Fewer typos in comments

---------

Co-authored-by: Cory Benfield <lukasa@apple.com>
2024-11-26 14:48:29 +00:00
George Barnett 29490005ab Improve docs around running act for formatting (#2965)
Motivation:

The contibuting guide gives an incorrect command to run to invoke the
formatting job locally.

Modifications:

- Change the job name to 'soundness'
- Add a note about setting the container architecture

Result:

Better docs
2024-11-06 15:11:33 +00:00
Ali AliandFranz Busch 08af85ae4b Fix broken swift format link (#2948)
Trying to fix swift format link in contributions.md

Someone please let me know what the process is for running `swift
format` locally now that the script has been moved out of the repo.

Co-authored-by: Franz Busch <f.busch@apple.com>
2024-10-31 11:47:47 +00:00
Franz Busch 2fe3d92cf5 Drop support for Swift 5.8 (#2924)
# Motivation

We only support the last three Swift released versions which are at this
time 5.9, 5.10 and 6.

# Modification

This PR drops anything related to Swift 5.8.

# Result

Version support aligned.
2024-10-17 12:22:10 +00:00
Matt Hope ba6245748f Update repository docs for swift-version support and recent CI check changes (#2815)
Make sure repository docs represent the current status quo

Motivation:

Some parts of the docs were out of date and confusing/wrong.

Modifications:

Made references to supported versions appropriate for the current mainline version supported (5.10) and the retained support for 5.9 and 5.8.
In addition made that operating mode an explicit statement of commitment, along with the use of nightlies of pre release versions..

Now that more checks are present as GitHub Actions they are easier for users to run directly with act, so provided some links and one liners to do that.

The old references to swift-format were no longer hopeful, they became true!

Added myself as a committer at the same time

Result:

Docs should be more accurate and helpful. Intent of the matrix for support should be clearer
2024-08-01 10:27:59 +00:00
Peter Adams 17b729f7be Remove advice to generate linux tests. (#2807)
Motivation:

This is no longer needed in the currently supported versions of swift.
Advice is misleading as script no longer exists.

Modifications:

Remove contributing advice to generate linux tests.

Result:

Happy contributors, less confusion.
2024-07-25 12:15:01 +00:00
Rick Newton-Rogers 67553a7d6d Bump minimum Swift version to 5.7 (#2524)
* Bump minimum Swift version to 5.7

Motivation:

Now that Swift 5.9 is GM we should update the supported versions and
remove 5.6

Modifications:

* Update `Package.swift`
* Remove `#if swift(>=5.7)` guards
* Delete the 5.6 docker compose file and make a 5.10 one
* Update integration test script
* Update docs

Result:

Remove support for Swift 5.6, add 5.10

* fix indentation issues

* 5.9 docker image use release image
2023-10-02 11:38:07 +01:00
David Nadoba 6720612111 Drop Swift 5.5 (#2406)
* Drop Swift 5.5

* Use `swift-atomics` 1.1.0 with `Sendable` adoption
2023-04-17 08:40:35 +01:00
David Nadoba c7b4989b02 Remove #if compiler(>=5.5) (#2292)
### Motivation
We only support Swift 5.5.2+.

### Modification
Remove all `#if swift(>=5.5)` conditional compilation blocks.

### Result
less branching
2022-10-13 07:17:46 -07:00
George Barnett fcca969463 Raise minimum supported Swift version from 5.4 to 5.5 (#2267)
Motivation:

SwiftNIO periodically drops support for older Swift versions. Now that
5.7 has been released, 5.4 will be dropped.

Modifications:

- Remove 5.4 specific Package.swift and docker-compose
- Update the 5.7 docker-compose to use the released 5.7 and move from
  focal (2004) to jammy (2204)
- Remove unused swiftformat from Dockerfile
- Update tools version in syscall wrapper tests to 5.5
- Update docs

Results:

Minimum Swift version is 5.5
2022-09-29 11:47:44 +01:00
Fabian FettandCory Benfield dc8a317a24 Drop support for Swift 5.2 and 5.3 (#2080)
* Drop support for 5.2 and 5.3

As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.

In this commit we drop support for Swift 5.2 and 5.3. We update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic.

* Added Versions paragraph to Security document

* Apply suggestions from code review

Co-authored-by: Cory Benfield <lukasa@apple.com>

Co-authored-by: Cory Benfield <lukasa@apple.com>
2022-04-20 11:48:41 +01:00
David Evans b0effbcfd9 Make Swift 5.2 the minimum requirement (#1860)
Make Swift 5.2 the minimum requirement, dropping support for Swift 5.0 and 5.1.

Motivation:

Whenever we have problems, Swift 5.0 and 5.1 seem to be the culprits. Dropping support for these very old versions will require less maintenance and free up our time to work on new features.

Modifications:

Set the tools version in Package.swift to 5.2
Remove CI configurations for 5.0 and 5.1
Update the various readmes to reflect that this change will be rolled out in NIO 2.30.0
Result:

Swift 5.2 is the minimum version of Swift required to use NIO.
2021-06-18 21:02:41 +01:00
Cory Benfield e7880565aa We use main as our development branch now. (#1651) 2020-09-24 18:02:44 +01:00
Peter Adams a3a8b3f799 Detail the best way to request a re-review (#1522)
Motivation:

It is unclear how to engage with the core team after changes have been requested.

Modifications:

Add a short note to the CONTRIBUTING guide.

Result:

Increased clarity on how to interact.
2020-05-18 08:04:01 +01:00
Peter AdamsandCory Benfield 5779ddd54b Extra information to contributors (#1491)
Motivation:

The more contributors know what's expected of them upfront the less likely they are to consume reviewer time and experience a harsh review.

Modifications:

Add some extra commentary to CONTRIBUTORS.md
Add a docker compose example with specific ubuntu/swift versions to README.md

Result:

Contributors will be more informed.

Co-authored-by: Cory Benfield <lukasa@apple.com>
2020-05-16 11:02:27 +01:00
Helge Heß 6b182f4f5a Make clear generate_linux_tests must be run (#113)
Motivation:

The path of the script to invoke was wrong,
also highlight that this is absolutely required
for a PR.

Modifications:

Some bold, some text, some proper path.

Result:

CI will be super happy as less people will
fail to generate proper Linux tests.
2018-03-08 18:36:31 +09:00
Johannes Weiß 64cf63d72f initial commit 2017-04-20 12:13:14 +01:00