Skip to content

Commit daef88b

Browse files
authored
prepare to open source (#47)
motivation: cleanup naming and collatoral in preperation to open sourcing the library changes: * rename "bootstrap" to "lifecycle" * contributors list
1 parent b5ead64 commit daef88b

22 files changed

+76
-75
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
22
33
4+
Konrad `ktoso` Malawski <[email protected]> <[email protected]>

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Code of Conduct
2-
To be a truly great community, SwiftServiceBootstrap needs to welcome developers from all walks of life,
2+
To be a truly great community, SwiftServiceLifecycle needs to welcome developers from all walks of life,
33
with different backgrounds, and with a wide range of experience. A diverse and friendly
44
community will have more great ideas, more unique perspectives, and produce more great
5-
code. We will work diligently to make the SwiftServiceBootstrap community welcoming to everyone.
5+
code. We will work diligently to make the SwiftServiceLifecycle community welcoming to everyone.
66

7-
To give clarity of what is expected of our members, SwiftServiceBootstrap has adopted the code of conduct
7+
To give clarity of what is expected of our members, SwiftServiceLifecycle has adopted the code of conduct
88
defined by [contributor-covenant.org](https://www.contributor-covenant.org). This document is used across many open source
99
communities, and we think it articulates our values well. The full text is copied below:
1010

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ that your contributions are licensed under the Apache 2.0 license (see
1010

1111
Please ensure to specify the following:
1212

13-
* SwiftServiceBootstrap commit hash
14-
* Contextual information (e.g. what you were trying to achieve with SwiftServiceBootstrap)
13+
* SwiftServiceLifecycle commit hash
14+
* Contextual information (e.g. what you were trying to achieve with SwiftServiceLifecycle)
1515
* Simplest possible steps to reproduce
1616
* More complex the steps are, lower the priority will be.
1717
* A pull request with failing test case is preferred, but it's just fine to paste the test case into the issue description.
@@ -24,10 +24,10 @@ Please ensure to specify the following:
2424
### Example
2525

2626
```
27-
SwiftServiceBootstrap commit hash: 22ec043dc9d24bb011b47ece4f9ee97ee5be2757
27+
SwiftServiceLifecycle commit hash: 22ec043dc9d24bb011b47ece4f9ee97ee5be2757
2828
2929
Context:
30-
While load testing my HTTP web server written with SwiftServiceBootstrap, I noticed
30+
While load testing my HTTP web server written with SwiftServiceLifecycle, I noticed
3131
that one file descriptor is leaked per request.
3232
3333
Steps to reproduce:
@@ -50,7 +50,7 @@ My system has IPv6 disabled.
5050

5151
## Writing a Patch
5252

53-
A good SwiftServiceBootstrap patch is:
53+
A good SwiftServiceLifecycle patch is:
5454

5555
1. Concise, and contains as few changes as needed to achieve the end result.
5656
2. Tested, ensuring that any tests provided failed before the patch and pass after it.
@@ -65,9 +65,9 @@ We require that your commit messages match our template. The easiest way to do t
6565

6666
### Make sure Tests work on Linux
6767

68-
SwiftServiceBootstrap uses XCTest to run tests on both macOS and Linux. While the macOS version of XCTest is able to use the Objective-C runtime to discover tests at execution time, the Linux version is not.
68+
SwiftServiceLifecycle uses XCTest to run tests on both macOS and Linux. While the macOS version of XCTest is able to use the Objective-C runtime to discover tests at execution time, the Linux version is not.
6969
For this reason, whenever you add new tests **you have to run a script** that generates the hooks needed to run those tests on Linux, or our CI will complain that the tests are not all present on Linux. To do this, merely execute `ruby ./scripts/generate_linux_tests.rb` at the root of the package and check the changes it made.
7070

7171
## How to contribute your work
7272

73-
Please open a pull request at https://github.com/swift-server/swift-service-bootstrap. Make sure the CI passes, and then wait for code review.
73+
Please open a pull request at https://github.com/swift-server/swift-service-lifecycle. Make sure the CI passes, and then wait for code review.

CONTRIBUTORS.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
For the purpose of tracking copyright, this is the list of individuals and
2-
organizations who have contributed source code to SwiftServiceBootstrap.
2+
organizations who have contributed source code to SwiftServiceLifecycle.
33

44
For employees of an organization/company where the copyright of work done
55
by employees of that company is held by the company itself, only the company
@@ -12,7 +12,7 @@ needs to be listed here.
1212
### Contributors
1313

1414
- Johannes Weiss <[email protected]>
15-
- Konrad `ktoso` Malawski <[email protected]>
15+
- Konrad `ktoso` Malawski <[email protected]>
1616
- Tomer Doron <[email protected]>
1717
- Yim Lee <[email protected]>
1818

Sources/Lifecycle/Lifecycle.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftServiceBootstrap open source project
3+
// This source file is part of the SwiftServiceLifecycle open source project
44
//
5-
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceBootstrap project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceLifecycle project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftServiceBootstrap project authors
9+
// See CONTRIBUTORS.txt for the list of SwiftServiceLifecycle project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

Sources/Lifecycle/Locks.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftServiceBootstrap open source project
3+
// This source file is part of the SwiftServiceLifecycle open source project
44
//
5-
// Copyright (c) 2020 Apple Inc. and the SwiftServiceBootstrap project authors
5+
// Copyright (c) 2020 Apple Inc. and the SwiftServiceLifecycle project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftServiceBootstrap project authors
9+
// See CONTRIBUTORS.txt for the list of SwiftServiceLifecycle project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

Sources/LifecycleNIOCompat/Bridge.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftServiceBootstrap open source project
3+
// This source file is part of the SwiftServiceLifecycle open source project
44
//
5-
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceBootstrap project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceLifecycle project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftServiceBootstrap project authors
9+
// See CONTRIBUTORS.txt for the list of SwiftServiceLifecycle project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

Tests/LifecycleTests/ComponentLifecycleTests+XCTest.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftServiceBootstrap open source project
3+
// This source file is part of the SwiftServiceLifecycle open source project
44
//
5-
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceBootstrap project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceLifecycle project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftServiceBootstrap project authors
9+
// See CONTRIBUTORS.txt for the list of SwiftServiceLifecycle project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

Tests/LifecycleTests/ComponentLifecycleTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftServiceBootstrap open source project
3+
// This source file is part of the SwiftServiceLifecycle open source project
44
//
5-
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceBootstrap project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceLifecycle project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftServiceBootstrap project authors
9+
// See CONTRIBUTORS.txt for the list of SwiftServiceLifecycle project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

Tests/LifecycleTests/Helpers.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftServiceBootstrap open source project
3+
// This source file is part of the SwiftServiceLifecycle open source project
44
//
5-
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceBootstrap project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the SwiftServiceLifecycle project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftServiceBootstrap project authors
9+
// See CONTRIBUTORS.txt for the list of SwiftServiceLifecycle project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

0 commit comments

Comments
 (0)