Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
goprotobuf -> gogoprotobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
rafrombrc committed Aug 1, 2014
1 parent 1575e33 commit eb72fbf
Show file tree
Hide file tree
Showing 19 changed files with 1,098 additions and 28 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ Bug Handling
Features
--------

* Switched from using goprotobuf to gogoprotobuf with marshal_all and
unmarshal_all extensions for significant performance increase.

* Added stats graph sandbox filter to make it easier to generate graphs of
statsd / graphite metrics (issue #966).

Expand Down
2 changes: 1 addition & 1 deletion client/encoders.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package client

import (
"code.google.com/p/goprotobuf/proto"
"code.google.com/p/gogoprotobuf/proto"
"crypto/hmac"
"crypto/md5"
"crypto/sha1"
Expand Down
6 changes: 3 additions & 3 deletions cmake/externals.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ if (INCLUDE_DOCUMENTATION)
endif()

hg_clone(https://code.google.com/p/go-uuid default)
hg_clone(https://code.google.com/p/goprotobuf default)
add_custom_command(TARGET goprotobuf POST_BUILD
COMMAND ${GO_EXECUTABLE} install code.google.com/p/goprotobuf/protoc-gen-go)
git_clone(https://code.google.com/p/gogoprotobuf d228c1a206c3)
add_custom_command(TARGET gogoprotobuf POST_BUILD
COMMAND ${GO_EXECUTABLE} install code.google.com/p/gogoprotobuf/protoc-gen-gogo)

include(plugin_loader OPTIONAL)

Expand Down
2 changes: 1 addition & 1 deletion cmake/message_proto.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ if(NOT PROTOBUF_EXECUTABLE)
endif()

execute_process(
COMMAND ${PROTOBUF_EXECUTABLE} --go_out=. message.proto
COMMAND ${PROTOBUF_EXECUTABLE} --gogo_out=. -I=.:../build/heka/src/code.google.com/p/gogoprotobuf/gogoproto:../build/heka/src/code.google.com/p/gogoprotobuf/protobuf message.proto

This comment has been minimized.

Copy link
@awalterschulze

awalterschulze Sep 25, 2016

You could change this to

COMMAND ${PROTOBUF_EXECUTABLE} --gogofast_out=. message.proto
WORKING_DIRECTORY "${SRC_DIR}/message"
)
2 changes: 1 addition & 1 deletion cmd/heka-cat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protobuf logs.
package main

import (
"code.google.com/p/goprotobuf/proto"
"code.google.com/p/gogoprotobuf/proto"
"encoding/json"
"flag"
"fmt"
Expand Down
Loading

0 comments on commit eb72fbf

Please sign in to comment.