Skip to content

Move to gogoproto - #715

Merged
fabxc merged 3 commits into
masterfrom
gogoproto
Apr 18, 2017
Merged

Move to gogoproto#715
fabxc merged 3 commits into
masterfrom
gogoproto

Conversation

@fabxc

@fabxc fabxc commented Apr 18, 2017

Copy link
Copy Markdown
Contributor

@stuartnelson3 @mxinden

This moves our generated protobuf to gogoproto, which allows us to get rid of the awkward time types. I'd like to get this in before a release of the notification fixes.

This switches the nflog to generate Go code via gogoproto and thereby
use standard library timestamp types.
Comment thread scripts/genproto.sh Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we reference etcd here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stolen script ;)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the license on this file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

etcd script: https://github.com/coreos/etcd/blob/master/scripts/genproto.sh

Actually just took it as a skeleton to play around in. No license on this file.
What's the proper way to proceed here in your opinion?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The source repo is all Apache 2.0, so I'd just add a one-line note of where it was originally taken from and under what license.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@stuartnelson3 stuartnelson3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Barring the raised license concern, looks cool to me

This generates the protobuf Go code with gogoproto and switches to
standard library time types.

@brian-brazil brian-brazil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread scripts/genproto.sh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

taken

@fabxc
fabxc merged commit cb8729a into master Apr 18, 2017
@fabxc
fabxc deleted the gogoproto branch April 18, 2017 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants