From afe98de32a130e0033c9b10fa470bb2ff858ed8d Mon Sep 17 00:00:00 2001 From: Feng Xiao Date: Wed, 22 Aug 2018 11:55:30 -0700 Subject: Replace repo links. --- src/README.md | 6 +++--- src/google/protobuf/compiler/java/java_file.cc | 2 +- src/google/protobuf/proto3_arena_unittest.cc | 2 +- src/google/protobuf/util/delimited_message_util.cc | 2 +- src/google/protobuf/util/delimited_message_util.h | 2 +- src/google/protobuf/util/delimited_message_util_test.cc | 2 +- src/google/protobuf/util/field_comparator_test.cc | 2 +- src/google/protobuf/util/internal/protostream_objectwriter.cc | 6 +++--- src/google/protobuf/util/internal/protostream_objectwriter_test.cc | 2 +- src/google/protobuf/util/internal/testdata/books.proto | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/README.md b/src/README.md index e38e59bf..d84176e3 100644 --- a/src/README.md +++ b/src/README.md @@ -29,7 +29,7 @@ install them before proceeding. To get the source, download one of the release .tar.gz or .zip packages in the release page: - https://github.com/google/protobuf/releases/latest + https://github.com/protocolbuffers/protobuf/releases/latest For example: if you only need C++, download `protobuf-cpp-[VERSION].tar.gz`; if you need C++ and Java, download `protobuf-java-[VERSION].tar.gz` (every package @@ -40,7 +40,7 @@ You can also get the source by "git clone" our git repository. Make sure you have also cloned the submodules and generated the configure script (skip this if you are using a release .tar.gz or .zip package): - $ git clone https://github.com/google/protobuf.git + $ git clone https://github.com/protocolbuffers/protobuf.git $ cd protobuf $ git submodule update --init --recursive $ ./autogen.sh @@ -184,7 +184,7 @@ C++ Installation - Windows If you only need the protoc binary, you can download it from the release page: - https://github.com/google/protobuf/releases/latest + https://github.com/protocolbuffers/protobuf/releases/latest In the downloads section, download the zip file protoc-$VERSION-win32.zip. It contains the protoc binary as well as public proto files of protobuf diff --git a/src/google/protobuf/compiler/java/java_file.cc b/src/google/protobuf/compiler/java/java_file.cc index bb48a3be..5dc2dff8 100644 --- a/src/google/protobuf/compiler/java/java_file.cc +++ b/src/google/protobuf/compiler/java/java_file.cc @@ -232,7 +232,7 @@ bool FileGenerator::Validate(string* error) { << "will be ignored by protoc in the future and protoc will always " << "generate full runtime code for Java. To use Java Lite runtime, " << "users should use the Java Lite plugin instead. See:\n" - << " https://github.com/google/protobuf/blob/master/java/lite.md"; + << " https://github.com/protocolbuffers/protobuf/blob/master/java/lite.md"; } return true; } diff --git a/src/google/protobuf/proto3_arena_unittest.cc b/src/google/protobuf/proto3_arena_unittest.cc index 3091aa0d..a03ed423 100644 --- a/src/google/protobuf/proto3_arena_unittest.cc +++ b/src/google/protobuf/proto3_arena_unittest.cc @@ -178,7 +178,7 @@ TEST(Proto3ArenaTest, ReleaseMessage) { } TEST(Proto3ArenaTest, MessageFieldClear) { - // GitHub issue #310: https://github.com/google/protobuf/issues/310 + // GitHub issue #310: https://github.com/protocolbuffers/protobuf/issues/310 Arena arena; TestAllTypes* arena_message = Arena::CreateMessage(&arena); arena_message->mutable_optional_nested_message()->set_bb(118); diff --git a/src/google/protobuf/util/delimited_message_util.cc b/src/google/protobuf/util/delimited_message_util.cc index 3ba930e7..51e99e57 100644 --- a/src/google/protobuf/util/delimited_message_util.cc +++ b/src/google/protobuf/util/delimited_message_util.cc @@ -1,5 +1,5 @@ // Adapted from the patch of kenton@google.com (Kenton Varda) -// See https://github.com/google/protobuf/pull/710 for details. +// See https://github.com/protocolbuffers/protobuf/pull/710 for details. #include diff --git a/src/google/protobuf/util/delimited_message_util.h b/src/google/protobuf/util/delimited_message_util.h index e8a7204a..ffad0a7a 100644 --- a/src/google/protobuf/util/delimited_message_util.h +++ b/src/google/protobuf/util/delimited_message_util.h @@ -1,5 +1,5 @@ // Adapted from the patch of kenton@google.com (Kenton Varda) -// See https://github.com/google/protobuf/pull/710 for details. +// See https://github.com/protocolbuffers/protobuf/pull/710 for details. #ifndef GOOGLE_PROTOBUF_UTIL_DELIMITED_MESSAGE_UTIL_H__ #define GOOGLE_PROTOBUF_UTIL_DELIMITED_MESSAGE_UTIL_H__ diff --git a/src/google/protobuf/util/delimited_message_util_test.cc b/src/google/protobuf/util/delimited_message_util_test.cc index 157a8411..5a311c0d 100644 --- a/src/google/protobuf/util/delimited_message_util_test.cc +++ b/src/google/protobuf/util/delimited_message_util_test.cc @@ -1,5 +1,5 @@ // Adapted from the patch of kenton@google.com (Kenton Varda) -// See https://github.com/google/protobuf/pull/710 for details. +// See https://github.com/protocolbuffers/protobuf/pull/710 for details. #include diff --git a/src/google/protobuf/util/field_comparator_test.cc b/src/google/protobuf/util/field_comparator_test.cc index 4a1729c3..00de96d6 100644 --- a/src/google/protobuf/util/field_comparator_test.cc +++ b/src/google/protobuf/util/field_comparator_test.cc @@ -38,7 +38,7 @@ // This gtest header is put after mathutil.h intentionally. We have to do // this because mathutil.h includes mathlimits.h which requires cmath not // being included to compile on some versions of gcc: -// https://github.com/google/protobuf/blob/818c5eee08840355d70d2f3bdf1a2f17986a5e70/src/google/protobuf/stubs/mathlimits.h#L48 +// https://github.com/protocolbuffers/protobuf/blob/818c5eee08840355d70d2f3bdf1a2f17986a5e70/src/google/protobuf/stubs/mathlimits.h#L48 // and the opensource version gtest.h header includes cmath transitively // somehow. #include diff --git a/src/google/protobuf/util/internal/protostream_objectwriter.cc b/src/google/protobuf/util/internal/protostream_objectwriter.cc index f01a11a6..3d06e12d 100644 --- a/src/google/protobuf/util/internal/protostream_objectwriter.cc +++ b/src/google/protobuf/util/internal/protostream_objectwriter.cc @@ -483,7 +483,7 @@ ProtoStreamObjectWriter* ProtoStreamObjectWriter::StartObject( // stream, we write those values. if (master_type_.name() == kStructType) { // Struct has a map field called "fields". - // https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto + // https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto // "fields": [ Push("fields", Item::MAP, true, true); return this; @@ -494,7 +494,7 @@ ProtoStreamObjectWriter* ProtoStreamObjectWriter::StartObject( // object within that type is a struct type. So start a struct. // // The struct field in Value type is named "struct_value" - // https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto + // https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto // Also start the map field "fields" within the struct. // "struct_value": { // "fields": [ @@ -649,7 +649,7 @@ ProtoStreamObjectWriter* ProtoStreamObjectWriter::StartList( // we have to start the "list_value" within google.protobuf.Value. // // See - // https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto + // https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto // // Render // "": { diff --git a/src/google/protobuf/util/internal/protostream_objectwriter_test.cc b/src/google/protobuf/util/internal/protostream_objectwriter_test.cc index 9020670b..e11dce03 100644 --- a/src/google/protobuf/util/internal/protostream_objectwriter_test.cc +++ b/src/google/protobuf/util/internal/protostream_objectwriter_test.cc @@ -270,7 +270,7 @@ TEST_P(ProtoStreamObjectWriterTest, CustomJsonName) { } // Test that two messages can have different fields mapped to the same JSON -// name. See: https://github.com/google/protobuf/issues/1415 +// name. See: https://github.com/protocolbuffers/protobuf/issues/1415 TEST_P(ProtoStreamObjectWriterTest, ConflictingJsonName) { ResetTypeInfo(TestJsonName1::descriptor()); TestJsonName1 message1; diff --git a/src/google/protobuf/util/internal/testdata/books.proto b/src/google/protobuf/util/internal/testdata/books.proto index 5e08a291..812474bb 100644 --- a/src/google/protobuf/util/internal/testdata/books.proto +++ b/src/google/protobuf/util/internal/testdata/books.proto @@ -196,7 +196,7 @@ message Cyclic { } // Test that two messages can have different fields mapped to the same JSON -// name. See: https://github.com/google/protobuf/issues/1415 +// name. See: https://github.com/protocolbuffers/protobuf/issues/1415 message TestJsonName1 { optional int32 one_value = 1 [json_name = "value"]; } -- cgit v1.2.3