Skip to content

Commit ba92571

Browse files
authored
Correct license headers (#122)
### Motivation: To correct the license header changes made as part of #117. ### Modifications: * Revert license header changes * License header checks use custom `.license_header_template` ### Result: Correct license headers.
1 parent 54f1894 commit ba92571

16 files changed

+27
-16
lines changed

.github/workflows/pull_request.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ jobs:
88
soundness:
99
name: Soundness
1010
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
11-
with:
12-
license_header_check_project_name: "SwiftPrometheus"
1311

1412
unit-tests:
1513
name: Unit tests

.license_header_template

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@@===----------------------------------------------------------------------===@@
2+
@@
3+
@@ This source file is part of the SwiftPrometheus open source project
4+
@@
5+
@@ Copyright (c) YEARS SwiftPrometheus project authors
6+
@@ Licensed under Apache License v2.0
7+
@@
8+
@@ See LICENSE.txt for license information
9+
@@ See CONTRIBUTORS.txt for the list of SwiftPrometheus project authors
10+
@@
11+
@@ SPDX-License-Identifier: Apache-2.0
12+
@@
13+
@@===----------------------------------------------------------------------===@@

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// This source file is part of the SwiftPrometheus open source project
55
//
6-
// Copyright (c) 2018-$§ Apple Inc. and the SwiftPrometheus project authors
6+
// Copyright (c) 2018-2025 SwiftPrometheus project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Sources/Prometheus/Counter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/Prometheus/Gauge.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/Prometheus/Histogram.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/Prometheus/NIOLock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/Prometheus/NIOLockedValueBox.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/Prometheus/PrometheusCollectorRegistry.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/Prometheus/PrometheusMetricsFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Tests/PrometheusTests/CounterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Tests/PrometheusTests/GaugeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Tests/PrometheusTests/HistogramTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Tests/PrometheusTests/PrometheusCollectorRegistryTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Tests/PrometheusTests/PrometheusMetricsFactoryTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2018-2023 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Tests/PrometheusTests/ValidNamesTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftPrometheus open source project
44
//
5-
// Copyright (c) 2024 Apple Inc. and the SwiftPrometheus project authors
5+
// Copyright (c) 2024 SwiftPrometheus project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

0 commit comments

Comments
 (0)