Skip to content

Commit

Permalink
refactor(spm): Stop setting the homepage URL
Browse files Browse the repository at this point in the history
As it is not generally correct to use the repository URL as the
homepage, just do not do it.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Jan 17, 2024
1 parent 920fd0c commit dac1854
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-argument-parser"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -51,7 +51,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-crypto"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -79,7 +79,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-llbuild"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -107,7 +107,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/braze-inc/braze-ios-sdk"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -135,7 +135,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/grpc/grpc-swift"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-algorithms"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -196,7 +196,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-atomics"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -224,7 +224,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-collections"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -252,7 +252,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-crypto"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -280,7 +280,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-http-types"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -308,7 +308,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-log"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -336,7 +336,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-metrics"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -364,7 +364,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-nio"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -392,7 +392,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-nio-extras"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -420,7 +420,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-nio-http2"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -448,7 +448,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-nio-ssl"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -476,7 +476,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-nio-transport-services"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -504,7 +504,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/apple/swift-numerics"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -532,7 +532,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/swift-server/async-http-client"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -560,7 +560,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/swift-server/swift-backtrace"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -588,7 +588,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/vapor/async-kit"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -616,7 +616,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/vapor/console-kit"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -644,7 +644,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/vapor/multipart-kit"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -672,7 +672,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/vapor/routing-kit"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down Expand Up @@ -700,7 +700,7 @@ packages:
declared_licenses: []
declared_licenses_processed: {}
description: ""
homepage_url: "https://github.com/vapor/websocket-kit"
homepage_url: ""
binary_artifact:
url: ""
hash:
Expand Down
2 changes: 1 addition & 1 deletion plugins/package-managers/spm/src/main/kotlin/SpmModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract class SpmDependency {
sourceArtifact = RemoteArtifact.EMPTY,
authors = setOfNotNull(author),
declaredLicenses = emptySet(), // SPM files do not declare any licenses.
homepageUrl = repositoryUrl.removeSuffix(".git")
homepageUrl = ""
)
}
}
Expand Down

0 comments on commit dac1854

Please sign in to comment.