Skip to content

Commit 9e9f025

Browse files
committed
Update github references.
github.com/google/protobuf is now github.com/protocolbuffers/protobuf, update all the references. There are redirects on github when this happens, but seems better to point folks at the correct thing to avoid confusion.
1 parent 401e774 commit 9e9f025

File tree

10 files changed

+16
-15
lines changed

10 files changed

+16
-15
lines changed

Documentation/CONFORMANCE_TESTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ these tests regularly.
1818

1919
The conformance test suite requires Swift 3.1, standard command-line
2020
tools such as make and awk, and a full source checkout of
21-
[Google's protobuf project](https://github.com/google/protobuf).
21+
[Google's protobuf project](https://github.com/protocolbuffers/protobuf).
2222

2323
The Makefile assumes by default that the protobuf project
2424
is checked out in an adjacent directory.

Documentation/PLUGIN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To use Swift with Protocol buffers, you'll need:
2525
with the latest version of Xcode.
2626

2727
* Google's protoc compiler. You can get recent versions from
28-
[Google's github repository](https://github.com/google/protobuf).
28+
[Google's github repository](https://github.com/protocolbuffers/protobuf).
2929

3030
### Build and Install
3131

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ regenerate-conformance-protos: build ${PROTOC_GEN_SWIFT}
515515
check-for-protobuf-checkout:
516516
@if [ ! -d "${GOOGLE_PROTOBUF_CHECKOUT}/src/google/protobuf" ]; then \
517517
echo "ERROR: ${GOOGLE_PROTOBUF_CHECKOUT} does not appear to be a checkout of"; \
518-
echo "ERROR: github.com/google/protobuf. Please check it out or set"; \
518+
echo "ERROR: github.com/protocolbuffers/protobuf. Please check it out or set"; \
519519
echo "ERROR: GOOGLE_PROTOBUF_CHECKOUT to point to a checkout."; \
520520
exit 1; \
521521
fi

Performance/perf_runner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ fi
4343
# Directory containing this script
4444
readonly script_dir="."
4545

46-
# Change this if your checkout of github.com/google/protobuf is in a different
47-
# location.
46+
# Change this if your checkout of github.com/protocolbuffers/protobuf is in a
47+
# different location.
4848
readonly GOOGLE_PROTOBUF_CHECKOUT=${GOOGLE_PROTOBUF_CHECKOUT:-"$script_dir/../../protobuf"}
4949

5050
function usage() {

Protos/unittest_swift_naming.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ enum EnumFieldNames2 {
910910

911911
// protoc no longer allows enum naming that would differ only in underscores.
912912
// Initial commit:
913-
// https://github.com/google/protobuf/commit/cc8ca5b6a5478b40546d4206392eb1471454460d
913+
// https://github.com/protocolbuffers/protobuf/commit/cc8ca5b6a5478b40546d4206392eb1471454460d
914914
// Change keep proto3 as error, but proto2 to just a warning:
915-
// https://github.com/google/protobuf/pull/2204
915+
// https://github.com/protocolbuffers/protobuf/pull/2204
916916
// So this is in a second enum so it won't cause issues with the '_' one;
917917
// but still ensure things generator correctly.
918918
__ = 1065;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The SwiftProtobuf tests need a version of protoc which supports the
101101
`swift_prefix` option (introduced in protoc 3.2.0).
102102
It may work with earlier versions of protoc.
103103
You can get recent versions from
104-
[Google's github repository](https://github.com/google/protobuf).
104+
[Google's github repository](https://github.com/protocolbuffers/protobuf).
105105

106106
## Building and Installing the Code Generator Plugin
107107

Reference/unittest_swift_naming.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,9 @@ enum SwiftUnittest_Names_EnumFieldNames2: SwiftProtobuf.Enum {
697697

698698
/// protoc no longer allows enum naming that would differ only in underscores.
699699
/// Initial commit:
700-
/// https://github.com/google/protobuf/commit/cc8ca5b6a5478b40546d4206392eb1471454460d
700+
/// https://github.com/protocolbuffers/protobuf/commit/cc8ca5b6a5478b40546d4206392eb1471454460d
701701
/// Change keep proto3 as error, but proto2 to just a warning:
702-
/// https://github.com/google/protobuf/pull/2204
702+
/// https://github.com/protocolbuffers/protobuf/pull/2204
703703
/// So this is in a second enum so it won't cause issues with the '_' one;
704704
/// but still ensure things generator correctly.
705705
case ____ // = 1065

Sources/protoc-gen-swift/FileGenerator.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ class FileGenerator {
6565
//
6666
// The C++ FileDescriptor::GetSourceLocation(), says the location for
6767
// the file is an empty path. That never seems to have comments on it.
68-
// https://github.com/google/protobuf/issues/2249 opened to figure out
69-
// the right way to do this since the syntax entry is optional.
68+
// https://github.com/protocolbuffers/protobuf/issues/2249 opened to
69+
// figure out the right way to do this since the syntax entry is
70+
// optional.
7071
let syntaxPath = IndexPath(index: Google_Protobuf_FileDescriptorProto.FieldNumbers.syntax)
7172
if let syntaxLocation = fileDescriptor.sourceCodeInfoLocation(path: syntaxPath) {
7273
let comments = syntaxLocation.asSourceComment(commentPrefix: "///",

Tests/SwiftProtobufTests/Test_Struct.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Test_Struct: XCTestCase, PBTestHelpers {
6767
do {
6868
let c1 = try ProtobufTestMessages_Proto3_TestAllTypesProto3(jsonString:"{\"optionalStruct\":null}")
6969
// null here decodes to an empty field.
70-
// See github.com/google/protobuf Issue #1327
70+
// See github.com/protocolbuffers/protobuf Issue #1327
7171
XCTAssertEqual(try c1.jsonString(), "{}")
7272
} catch let e {
7373
XCTFail("Didn't decode c1: \(e)")

Tests/SwiftProtobufTests/unittest_swift_naming.pb.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,9 @@ enum SwiftUnittest_Names_EnumFieldNames2: SwiftProtobuf.Enum {
697697

698698
/// protoc no longer allows enum naming that would differ only in underscores.
699699
/// Initial commit:
700-
/// https://github.com/google/protobuf/commit/cc8ca5b6a5478b40546d4206392eb1471454460d
700+
/// https://github.com/protocolbuffers/protobuf/commit/cc8ca5b6a5478b40546d4206392eb1471454460d
701701
/// Change keep proto3 as error, but proto2 to just a warning:
702-
/// https://github.com/google/protobuf/pull/2204
702+
/// https://github.com/protocolbuffers/protobuf/pull/2204
703703
/// So this is in a second enum so it won't cause issues with the '_' one;
704704
/// but still ensure things generator correctly.
705705
case ____ // = 1065

0 commit comments

Comments
 (0)