Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Proto files (and generated ones) #35

Merged
merged 4 commits into from
Apr 30, 2021

Conversation

haug-den-lucas
Copy link
Contributor

@haug-den-lucas haug-den-lucas commented Apr 14, 2021

Hi,

this pullrequest updates the following:

  • Updated the proto files using the given link.
  • Regenerated the proto files using a newer version of protoc and protogen for go
  • Updated README

@AlekSi
Copy link
Collaborator

AlekSi commented Apr 14, 2021

Hi @Ich5003. It seems that Travis CI is mostly dead now. Will you be able to send a PR to migrate this repo to GitHub Actions?

@haug-den-lucas
Copy link
Contributor Author

haug-den-lucas commented Apr 14, 2021

Github Actions should work, see .github/workflows/go.yml
I never used Goveralls, maybe you can fix this before merging.
@AlekSi

@haug-den-lucas
Copy link
Contributor Author

@AlekSi Has this PR any chances of getting merged?

@AlekSi AlekSi changed the base branch from master to update-proto April 30, 2021 04:31
@AlekSi AlekSi merged commit 7d1f306 into qedus:update-proto Apr 30, 2021
@AlekSi
Copy link
Collaborator

AlekSi commented Apr 30, 2021

@Ich5003 I merged it into a temporary branch to trigger CI. Will do minor tweaks and create a new PR

@AlekSi
Copy link
Collaborator

AlekSi commented Apr 30, 2021

#37

- **New Code**:

```protobuf
option go_package = "OSMPBF";
Copy link
Collaborator

Choose a reason for hiding this comment

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

I added this to Makefile to make .proto files diff smaller:

protoc --go_out=. \
	--go_opt=paths=source_relative \
	--go_opt=Mfileformat.proto=github.com/qedus/osmpbf/OSMPBF \
	--go_opt=Mosmformat.proto=github.com/qedus/osmpbf/OSMPBF \
	*.proto

- **Added Code**:

```protobuf
option optimize_for = LITE_RUNTIME;
Copy link
Collaborator

Choose a reason for hiding this comment

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

It does not affect Go code generator: golang/protobuf#788

@AlekSi AlekSi mentioned this pull request Apr 30, 2021
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.

2 participants