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

protoc: Add options to redirect input/output to files. #513

Conversation

callpraths
Copy link

When using protoc to encode/decode protobufs, the input/output was from
stdin/stdout only. This patch adds command line flags to specify files to read
the protobuf from and and write the encoded/decoded protobuf to.

When using protoc to encode/decode protobufs, the input/output was from
stdin/stdout only. This patch adds command line flags to specify files to read
the protobuf from and and write the encoded/decoded protobuf to.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@vapier
Copy link

vapier commented Oct 22, 2015

i refreshed my CL w/your test fix. poking the Google team to get the CLA issue ironed out.

@haberman
Copy link
Member

Hi there, are you still in need of this functionality?

@vapier
Copy link

vapier commented Feb 17, 2016

yes, we rely on it in Chromium OS. the tests are passing locally, so i'm not sure why they're failing in Travis.

@pgrosu
Copy link

pgrosu commented Feb 17, 2016

There seem to be several differences of software versions on Travis for just the csharp build between PRs. For instance:

Raw log for PR #1241:

https://s3.amazonaws.com/archive.travis-ci.org/jobs/109357166/log.txt

Raw log for this PR (#513):

https://s3.amazonaws.com/archive.travis-ci.org/jobs/67462307/log.txt

It might not hurt re-building it, since you'll see there is a lot of historical commits for both travis.sh and travis.yml:

https://github.com/google/protobuf/commits/master/travis.sh

https://github.com/google/protobuf/commits/master/.travis.yml

Hope it helps,
~p

@xfxyjwf xfxyjwf closed this Jun 23, 2018
adellahlou pushed a commit to adellahlou/protobuf that referenced this pull request Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants