Skip to content

Commit 8fdeb4b

Browse files
committed
Update links for repositories moved to the swiftlang org on GitHub
1 parent b86d22e commit 8fdeb4b

File tree

27 files changed

+58
-58
lines changed

27 files changed

+58
-58
lines changed

BuildSupport/SwiftSyntax/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if(NOT SwiftSyntax_FOUND)
99
SOURCE_DIR "${swift_syntax_path}")
1010
else()
1111
FetchContent_Declare(SwiftSyntax
12-
GIT_REPOSITORY https://github.com/apple/swift-syntax
12+
GIT_REPOSITORY https://github.com/swiftlang/swift-syntax
1313
GIT_TAG main)
1414
endif()
1515
FetchContent_MakeAvailable(SwiftSyntax)

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For more information about making contributions to the Swift project in general
1010

1111
## Reporting issues
1212

13-
Issues are tracked using [SwiftPM GitHub Issue Tracker](https://github.com/apple/swift-package-manager/issues).
13+
Issues are tracked using [SwiftPM GitHub Issue Tracker](https://github.com/swiftlang/swift-package-manager/issues).
1414

1515
Fill the following fields:
1616

@@ -37,7 +37,7 @@ generated and the Xcode build log.
3737

3838
## Setting up the development environment
3939

40-
First, clone a copy of SwiftPM code from https://github.com/apple/swift-package-manager.
40+
First, clone a copy of SwiftPM code from https://github.com/swiftlang/swift-package-manager.
4141

4242
If you are preparing to make a contribution you should fork the repository first and clone the fork which will make opening Pull Requests easier. See "Creating Pull Requests" section below.
4343

@@ -314,7 +314,7 @@ Note there are several Linux and Swift versions options to choose from, e.g.:
314314

315315
## Creating Pull Requests
316316

317-
1. Fork: https://github.com/apple/swift-package-manager
317+
1. Fork: https://github.com/swiftlang/swift-package-manager
318318
2. Clone a working copy of your fork
319319
3. Create a new branch
320320
4. Make your code changes
@@ -421,7 +421,7 @@ SwiftPM uses [Tools Support Core](https://github.com/apple/swift-tools-support-c
421421

422422
If you want to connect with the Swift community you can:
423423
* Use Swift Forums: [https://forums.swift.org/c/development/SwiftPM](https://forums.swift.org/c/development/SwiftPM)
424-
* Contact the CODEOWNERS: https://github.com/apple/swift-package-manager/blob/main/CODEOWNERS
424+
* Contact the CODEOWNERS: https://github.com/swiftlang/swift-package-manager/blob/main/CODEOWNERS
425425

426426
## Additional resources
427427

Documentation/PackageRegistry/Registry.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ JSON schema below.
12731273
```json
12741274
{
12751275
"$schema": "https://json-schema.org/draft/2020-12/schema",
1276-
"$id": "https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md",
1276+
"$id": "https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md",
12771277
"title": "Package Release Metadata",
12781278
"description": "Metadata of a package release.",
12791279
"type": "object",
@@ -1428,5 +1428,5 @@ JSON schema below.
14281428
[offline cache]: https://yarnpkg.com/features/offline-cache "Offline Cache | Yarn - Package Manager"
14291429
[XCFramework]: https://developer.apple.com/videos/play/wwdc2019/416/ "WWDC 2019 Session 416: Binary Frameworks in Swift"
14301430
[SE-0272]: https://github.com/apple/swift-evolution/blob/master/proposals/0272-swiftpm-binary-dependencies.md "Package Manager Binary Dependencies"
1431-
[Swift tools version]: https://github.com/apple/swift-package-manager/blob/9b9bed7eaf0f38eeccd0d8ca06ae08f6689d1c3f/Documentation/Usage.md#swift-tools-version-specification "Swift Tools Version Specification"
1431+
[Swift tools version]: https://github.com/swiftlang/swift-package-manager/blob/9b9bed7eaf0f38eeccd0d8ca06ae08f6689d1c3f/Documentation/Usage.md#swift-tools-version-specification "Swift Tools Version Specification"
14321432
[ISO 8601]: https://www.iso.org/iso-8601-date-and-time-format.html "ISO 8601 Date and Time Format"

Documentation/Usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ SwiftPM can generate boilerplate for custom macros:
8181
The value 42 was produced by the code "a + b"
8282

8383
This creates a package with a `.macro` type target with its required dependencies
84-
on [swift-syntax](https://github.com/apple/swift-syntax), a library `.target`
84+
on [swift-syntax](https://github.com/swiftlang/swift-syntax), a library `.target`
8585
containing the macro's code, and an `.executableTarget` and `.testTarget` for
8686
running the macro. The sample macro, `StringifyMacro`, is documented in the Swift
8787
Evolution proposal for [Expression Macros](https://github.com/apple/swift-evolution/blob/main/proposals/0382-expression-macros.md)

Documentation/libSwiftPM.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ A subset of `libSwiftPM` that includes only the data model (without SwiftPM's
1010
build system) is available as `libSwiftPMDataModel`. Any one client should
1111
depend on one or the other, but not both.
1212

13-
The SwiftPM repository contains an [example](https://github.com/apple/swift-package-manager/tree/master/Examples/package-info) that demonstrates the use of
13+
The SwiftPM repository contains an [example](https://github.com/swiftlang/swift-package-manager/tree/master/Examples/package-info) that demonstrates the use of
1414
`libSwiftPM` in a Swift package. Use the following commands to run the example
1515
package:
1616

1717
```sh
18-
$ git clone https://github.com/apple/swift-package-manager
18+
$ git clone https://github.com/swiftlang/swift-package-manager
1919
$ cd swift-package-manager/Examples/package-info
2020
$ swift run
2121
```

Examples/package-info/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
// This just points to the SwiftPM at the root of this repository.
1313
.package(name: "swift-package-manager", path: "../../"),
1414
// You will want to depend on a stable semantic version instead:
15-
// .package(url: "https://github.com/apple/swift-package-manager", .exact("0.4.0"))
15+
// .package(url: "https://github.com/swiftlang/swift-package-manager", .exact("0.4.0"))
1616
],
1717
targets: [
1818
.executableTarget(

NOTICE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Please visit the SwiftPM web site for more information:
66

7-
* https://github.com/apple/swift-package-manager
7+
* https://github.com/swiftlang/swift-package-manager
88

99
Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors
1010

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
829829
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.2")),
830830
.package(url: "https://github.com/apple/swift-driver.git", branch: relatedDependenciesBranch),
831831
.package(url: "https://github.com/apple/swift-crypto.git", .upToNextMinor(from: "3.0.0")),
832-
.package(url: "https://github.com/apple/swift-syntax.git", branch: relatedDependenciesBranch),
832+
.package(url: "https://github.com/swiftlang/swift-syntax.git", branch: relatedDependenciesBranch),
833833
.package(url: "https://github.com/apple/swift-system.git", "1.1.1" ..< "1.4.0"),
834834
.package(url: "https://github.com/apple/swift-collections.git", "1.0.1" ..< "1.2.0"),
835835
.package(url: "https://github.com/apple/swift-certificates.git", "1.0.1" ..< "1.4.0"),

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We’ve designed the system to make it easy to share packages on services like G
66

77
Swift Package Manager includes a build system that can build for macOS and Linux. Starting with Xcode 11, Xcode integrates with SwiftPM to provide support for including packages in iOS, macOS, watchOS, and tvOS applications.
88

9-
The [SourceKit-LSP](https://github.com/apple/sourcekit-lsp) project leverages libSwiftPM and provides [Language Server Protocol](https://langserver.org/) implementation for editors that support LSP.
9+
The [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp) project leverages libSwiftPM and provides [Language Server Protocol](https://langserver.org/) implementation for editors that support LSP.
1010

1111
---
1212

@@ -73,7 +73,7 @@ The Swift package manager uses [llbuild](https://github.com/apple/swift-llbuild)
7373
If you have any trouble with the package manager, help is available. We recommend:
7474

7575
* The [Swift Forums](https://forums.swift.org/c/development/swiftpm/),
76-
* SwiftPM's [bug tracker](https://github.com/apple/swift-package-manager/issues)
76+
* SwiftPM's [bug tracker](https://github.com/swiftlang/swift-package-manager/issues)
7777

7878
When reporting an issue please follow the bug reporting guidelines, they can be found in [contribution guide](./CONTRIBUTING.md#reporting-issues).
7979

Sources/Basics/Errors.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public struct InternalError: Error {
2222
public init(_ description: String) {
2323
assertionFailure(description)
2424
self.description =
25-
"Internal error. Please file a bug at https://github.com/apple/swift-package-manager/issues with this info. \(description)"
25+
"Internal error. Please file a bug at https://github.com/swiftlang/swift-package-manager/issues with this info. \(description)"
2626
}
2727
}
2828

Sources/PackageCollectionsModel/Formats/v1.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To begin, define the top-level metadata about the collection:
2828
Each item in the `packages` array is a package object with the following properties:
2929

3030
* `url`: The URL of the package. Currently only Git repository URLs are supported. URL should be HTTPS and may contain `.git` suffix.
31-
* `identity`: The [identity](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#36-package-identification) of the package if published to registry. **Optional.**
31+
* `identity`: The [identity](https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#36-package-identification) of the package if published to registry. **Optional.**
3232
* `summary`: A description of the package. **Optional.**
3333
* `keywords`: An array of keywords that the package is associated with. **Optional.**
3434
* `readmeURL`: The URL of the package's README. **Optional.**
@@ -102,7 +102,7 @@ A version object has metadata extracted from `Package.swift` and optionally addi
102102
* `name`: License name. [SPDX identifier](https://spdx.org/licenses/) (e.g., `Apache-2.0`, `MIT`, etc.) preferred. Omit if unknown. **Optional.**
103103
* `author`: The package version's author. **Optional.**
104104
* `name`: The author of the package version.
105-
* `signer`: The signer of the package version. **Optional.** Refer to [documentation](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/PackageRegistryUsage.md#package-signing) on package signing for details.
105+
* `signer`: The signer of the package version. **Optional.** Refer to [documentation](https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/PackageRegistry/PackageRegistryUsage.md#package-signing) on package signing for details.
106106
* `type`: The signer type. Currently the only valid value is `ADP` (Apple Developer Program).
107107
* `commonName`: The common name of the signing certificate's subject.
108108
* `organizationalUnitName`: The organizational unit name of the signing certificate's subject.
@@ -111,15 +111,15 @@ A version object has metadata extracted from `Package.swift` and optionally addi
111111

112112
##### Version-specific manifests
113113

114-
Package collection generators should include data from the "default" manifest `Package.swift` as well as [version-specific manifest(s)](https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md#version-specific-manifest-selection).
114+
Package collection generators should include data from the "default" manifest `Package.swift` as well as [version-specific manifest(s)](https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/Usage.md#version-specific-manifest-selection).
115115

116116
The keys of the `manifests` map are Swift tools (semantic) versions:
117117
* For `Package.swift`, the tools version specified in `Package.swift` should be used.
118118
* For version-specific manifests, the tools version specified in the filename should be used. For example, for `[email protected]` it would be `4.2`. The tools version in the manifest must match that in the filename.
119119

120120
##### Version-specific tags
121121

122-
[Version-specific tags](https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md#version-specific-tag-selection) are not
122+
[Version-specific tags](https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/Usage.md#version-specific-tag-selection) are not
123123
supported by package collections.
124124

125125
## Example

Sources/PackageCollectionsModel/PackageCollectionModel+v1.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extension PackageCollectionModel.V1.Collection {
8282
/// The URL of the package. Currently only Git repository URLs are supported.
8383
public let url: URL
8484

85-
/// Package identity for registry (https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#36-package-identification).
85+
/// Package identity for registry (https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#36-package-identification).
8686
public let identity: String?
8787

8888
/// A description of the package.

Sources/PackageDescription/PackageDescription.docc/PackageDescription.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The package manifest also allows you to define executable products, as well as p
4040

4141
For more information about adding a package dependency to your app project and creating Swift packages with Xcode, see [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app), [Creating a Standalone Swift Package with Xcode](https://developer.apple.com/documentation/xcode/creating-a-standalone-swift-package-with-xcode), and [Swift Packages](https://developer.apple.com/documentation/xcode/swift-packages).
4242

43-
Support for Swift packages in Xcode builds on the open-source Swift Package Manager project. To learn more about the Swift Package Manager, visit [Swift.org](https://www.swift.org/package-manager/) and the Swift Package Manager repository on [GitHub](https://github.com/apple/swift-package-manager).
43+
Support for Swift packages in Xcode builds on the open-source Swift Package Manager project. To learn more about the Swift Package Manager, visit [Swift.org](https://www.swift.org/package-manager/) and the Swift Package Manager repository on [GitHub](https://github.com/swiftlang/swift-package-manager).
4444

4545
## Topics
4646

Sources/PackageGraph/Resolution/ResolvedModule.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public struct ResolvedModule {
173173
// Make sure that test products are built for the tools triple if it has tools as direct dependencies.
174174
// Without this workaround, `assertMacroExpansion` in tests can't be built, as it requires macros
175175
// and SwiftSyntax to be built for the same triple as the tests.
176-
// See https://github.com/apple/swift-package-manager/pull/7349 for more context.
176+
// See https://github.com/swiftlang/swift-package-manager/pull/7349 for more context.
177177
var inferredBuildTriple = BuildTriple.destination
178178
loop: for dependency in dependencies {
179179
switch dependency {

Sources/PackageGraph/Resolution/ResolvedProduct.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public struct ResolvedProduct {
127127
// Make sure that test products are built for the tools triple if it has tools as direct dependencies.
128128
// Without this workaround, `assertMacroExpansion` in tests can't be built, as it requires macros
129129
// and SwiftSyntax to be built for the same triple as the tests.
130-
// See https://github.com/apple/swift-package-manager/pull/7349 for more context.
130+
// See https://github.com/swiftlang/swift-package-manager/pull/7349 for more context.
131131
var inferredBuildTriple = BuildTriple.destination
132132
modulesLoop: for module in modules {
133133
for dependency in module.dependencies {

Sources/PackageLoading/ModuleMapGenerator.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ extension ClangModule: ModuleMapProtocol {
6363
/// * Otherwise, if the "include" directory only contains header files and no other subdirectory:
6464
/// Generates: `umbrella "path/to/include"`
6565
///
66-
/// These rules are documented at https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md#creating-c-language-targets. To avoid breaking existing packages, do not change the semantics here without making any change conditional on the tools version of the package that defines the module.
66+
/// These rules are documented at https://github.com/swiftlang/swift-package-manager/blob/master/Documentation/Usage.md#creating-c-language-targets. To avoid breaking existing packages, do not change the semantics here without making any change conditional on the tools version of the package that defines the module.
6767
///
6868
/// Note that a module map generator doesn't require a module to already have been instantiated; it can operate on information that will later be used to instantiate a module.
6969
public struct ModuleMapGenerator {
@@ -89,7 +89,7 @@ public struct ModuleMapGenerator {
8989

9090
/// Inspects the file system at the public-headers directory with which the module map generator was instantiated, and returns the type of module map that applies to that directory. This function contains all of the heuristics that implement module map policy for package targets; other functions just use the results of this determination.
9191
public func determineModuleMapType(observabilityScope: ObservabilityScope) -> ModuleMapType {
92-
// The following rules are documented at https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md#creating-c-language-targets. To avoid breaking existing packages, do not change the semantics here without making any change conditional on the tools version of the package that defines the module.
92+
// The following rules are documented at https://github.com/swiftlang/swift-package-manager/blob/master/Documentation/Usage.md#creating-c-language-targets. To avoid breaking existing packages, do not change the semantics here without making any change conditional on the tools version of the package that defines the module.
9393

9494
let diagnosticsEmitter = observabilityScope.makeDiagnosticsEmitter {
9595
var metadata = ObservabilityMetadata()

Sources/PackageLoading/Target+PkgConfig.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public func pkgConfigArgs(
103103
var (cFlags, libs) = try removeDefaultFlags(cFlags: filtered.cFlags, libs: filtered.libs)
104104

105105
// Patch any paths containing an SDK to the current SDK
106-
// See https://github.com/apple/swift-package-manager/issues/6439
106+
// See https://github.com/swiftlang/swift-package-manager/issues/6439
107107
if let sdkRootPath = sdkRootPath {
108108
cFlags = try patchSDKPaths(in: cFlags, to: sdkRootPath)
109109
libs = try patchSDKPaths(in: libs, to: sdkRootPath)
@@ -316,7 +316,7 @@ public func removeDefaultFlags(cFlags: [String], libs: [String]) throws -> ([Str
316316

317317
/// Replaces any path containing *.sdk with the current SDK to avoid conflicts.
318318
///
319-
/// See https://github.com/apple/swift-package-manager/issues/6439 for details.
319+
/// See https://github.com/swiftlang/swift-package-manager/issues/6439 for details.
320320
public func patchSDKPaths(in flags: [String], to sdkRootPath: AbsolutePath) throws -> [String] {
321321
let sdkRegex = try! RegEx(pattern: #"^.*\.sdk(\/.*|$)"#)
322322

Sources/PackageModel/InstalledLibrariesSupport/LibraryMetadata.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public struct LibraryMetadata: Hashable, Decodable {
2828
case sourceControl(url: SourceControlURL)
2929
}
3030

31-
/// The package from which it was built (e.g., the URL https://github.com/apple/swift-syntax.git)
31+
/// The package from which it was built (e.g., the URL https://github.com/swiftlang/swift-syntax.git)
3232
public let identities: [Identity]
3333
/// The version that was built (e.g., 509.0.2)
3434
public let version: String

Sources/PackageModelSyntax/AddTarget.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ fileprivate let macroTargetDependencies: [TargetDescription.Dependency] = [
360360
fileprivate extension PackageDependency {
361361
/// Source control URL for the swift-syntax package.
362362
static var swiftSyntaxURL: SourceControlURL {
363-
"https://github.com/apple/swift-syntax.git"
363+
"https://github.com/swiftlang/swift-syntax.git"
364364
}
365365

366366
/// Package dependency on the swift-syntax package.

0 commit comments

Comments
 (0)