Skip to content

Commit 4827bbf

Browse files
authored
Enable license header check (#203)
1 parent 04064f6 commit 4827bbf

File tree

120 files changed

+186
-870
lines changed

Some content is hidden

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

120 files changed

+186
-870
lines changed

.github/workflows/soundness.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ jobs:
1212
api_breakage_check_container_image: swift:latest
1313
docs_check_container_image: swift:latest
1414
unacceptable_language_check_enabled: false # Valkey commands contain unacceptable language
15-
license_header_check_enabled: false # Temporarily disable

.license_header_template

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

.licenseignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ Makefile
3232
Dockerfile
3333
**/Dockerfile
3434
Snippets/*
35+
Sources/ValkeyConnectionPool/*
3536
dev/git.commit.template
3637
.unacceptablelanguageignore

Benchmarks/ValkeyBenchmarks/Shared.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
//===----------------------------------------------------------------------===//
2-
//
3-
// This source file is part of the valkey-swift open source project
41
//
2+
// This source file is part of the valkey-swift project
53
// Copyright (c) 2025 the valkey-swift project authors
6-
// Licensed under Apache License v2.0
74
//
85
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of valkey-swift project authors
10-
//
116
// SPDX-License-Identifier: Apache-2.0
127
//
13-
//===----------------------------------------------------------------------===//
14-
158
import Benchmark
169
import Foundation
1710
import NIOCore

Benchmarks/ValkeyBenchmarks/ValkeyBenchmarks.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
//===----------------------------------------------------------------------===//
2-
//
3-
// This source file is part of the valkey-swift open source project
41
//
2+
// This source file is part of the valkey-swift project
53
// Copyright (c) 2025 the valkey-swift project authors
6-
// Licensed under Apache License v2.0
74
//
85
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of valkey-swift project authors
10-
//
116
// SPDX-License-Identifier: Apache-2.0
127
//
13-
//===----------------------------------------------------------------------===//
14-
158
import Benchmark
169
import Foundation
1710
import Logging

Benchmarks/ValkeyBenchmarks/ValkeyClientBenchmarks.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
//===----------------------------------------------------------------------===//
2-
//
3-
// This source file is part of the valkey-swift open source project
41
//
2+
// This source file is part of the valkey-swift project
53
// Copyright (c) 2025 the valkey-swift project authors
6-
// Licensed under Apache License v2.0
74
//
85
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of valkey-swift project authors
10-
//
116
// SPDX-License-Identifier: Apache-2.0
127
//
13-
//===----------------------------------------------------------------------===//
148

159
import Benchmark
1610
import Foundation

Benchmarks/ValkeyBenchmarks/ValkeyConnectionBenchmark.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
//===----------------------------------------------------------------------===//
2-
//
3-
// This source file is part of the valkey-swift open source project
41
//
2+
// This source file is part of the valkey-swift project
53
// Copyright (c) 2025 the valkey-swift project authors
6-
// Licensed under Apache License v2.0
74
//
85
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of valkey-swift project authors
10-
//
116
// SPDX-License-Identifier: Apache-2.0
127
//
13-
//===----------------------------------------------------------------------===//
148

159
import Benchmark
1610
import Logging
File renamed without changes.

Sources/Valkey/Cluster/HashSlot.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
//===----------------------------------------------------------------------===//
21
//
32
// This source file is part of the valkey-swift project
4-
//
5-
// Copyright (c) 2025 the valkey-swift authors
6-
// Licensed under Apache License v2.0
3+
// Copyright (c) 2025 the valkey-swift project authors
74
//
85
// See LICENSE.txt for license information
9-
// See valkey-swift/CONTRIBUTORS.txt for the list of valkey-swift authors
10-
//
116
// SPDX-License-Identifier: Apache-2.0
127
//
13-
//===----------------------------------------------------------------------===//
148

159
import NIOCore
1610

Sources/Valkey/Cluster/HashSlotShardMap.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
//===----------------------------------------------------------------------===//
21
//
32
// This source file is part of the valkey-swift project
4-
//
5-
// Copyright (c) 2025 the valkey-swift authors
6-
// Licensed under Apache License v2.0
3+
// Copyright (c) 2025 the valkey-swift project authors
74
//
85
// See LICENSE.txt for license information
9-
// See valkey-swift/CONTRIBUTORS.txt for the list of valkey-swift authors
10-
//
116
// SPDX-License-Identifier: Apache-2.0
127
//
13-
//===----------------------------------------------------------------------===//
14-
158
/// Represents the mapping of nodes in a Valkey shard, consisting of a primary node and optional replicas.
169
///
1710
/// In a Valkey cluster, each shard consists of one primary node and zero or more replica nodes.

0 commit comments

Comments
 (0)