Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/protobuf/generate_changelog.py

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/protobuf/examples/CMakeLists.txt ('k') | third_party/protobuf/generate_descriptor_proto.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/generate_changelog.py
diff --git a/third_party/protobuf/generate_changelog.py b/third_party/protobuf/generate_changelog.py
deleted file mode 100755
index d90a9b7043107168d8312f4dd657b9c4b5551170..0000000000000000000000000000000000000000
--- a/third_party/protobuf/generate_changelog.py
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/env python
-
-"""Generates a friendly list of changes per language since the last release."""
-
-import sys
-import os
-
-class Language(object):
- def __init__(self, name, pathspec):
- self.name = name
- self.pathspec = pathspec
-
-languages = [
- Language("C++", [
- "':(glob)src/google/protobuf/*'",
- "src/google/protobuf/compiler/cpp",
- "src/google/protobuf/io",
- "src/google/protobuf/util",
- "src/google/protobuf/stubs",
- ]),
- Language("Java", [
- "java",
- "javanano",
- "src/google/protobuf/compiler/cpp",
- ]),
- Language("Python", [
- "javanano",
- "src/google/protobuf/compiler/python",
- ]),
- Language("JavaScript", [
- "js",
- "src/google/protobuf/compiler/js",
- ]),
- Language("PHP", [
- "php",
- "src/google/protobuf/compiler/php",
- ]),
- Language("Ruby", [
- "ruby",
- "src/google/protobuf/compiler/ruby",
- ]),
- Language("Csharp", [
- "csharp",
- "src/google/protobuf/compiler/csharp",
- ]),
- Language("Objective C", [
- "objectivec",
- "src/google/protobuf/compiler/objectivec",
- ]),
-]
-
-if len(sys.argv) < 2:
- print("Usage: generate_changelog.py <previous release>")
- sys.exit(1)
-
-previous = sys.argv[1]
-
-for language in languages:
- print(language.name)
- sys.stdout.flush()
- os.system(("git log --pretty=oneline --abbrev-commit %s...HEAD %s | " +
- "sed -e 's/^/ - /'") % (previous, " ".join(language.pathspec)))
- print("")
-
-print("To view a commit on GitHub: " +
- "https://github.com/google/protobuf/commit/<commit id>")
« no previous file with comments | « third_party/protobuf/examples/CMakeLists.txt ('k') | third_party/protobuf/generate_descriptor_proto.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698