Roll chromium_revision 95336cb92b..191d55580e (557816:557824)
Change log:95336cb92b..191d55580eFull diff:95336cb92b..191d55580eRoll chromium third_party 4e16929f46..3a8f2a9e1e Change log:4e16929f46..3a8f2a9e1eChanged dependencies: * src/tools:c44a3f5eca..f524a53b81DEPS diff:95336cb92b..191d55580e/DEPS No update to Clang. TBR=titovartem@google.com, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e Reviewed-on: https://webrtc-review.googlesource.com/76120 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23205}
This commit is contained in:
66
third_party/protobuf/generate_changelog.py
vendored
Executable file
66
third_party/protobuf/generate_changelog.py
vendored
Executable file
@ -0,0 +1,66 @@
|
||||
#!/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>")
|
||||
Reference in New Issue
Block a user