Skip to content

Add a note on executable google-java-format#414

Open
suztomo wants to merge 1 commit into
google:masterfrom
suztomo:note_on_executable
Open

Add a note on executable google-java-format#414
suztomo wants to merge 1 commit into
google:masterfrom
suztomo:note_on_executable

Conversation

@suztomo

@suztomo suztomo commented Nov 5, 2019

Copy link
Copy Markdown
Member

Google-java-format-diff expects an executable google-java-format (link), but this repository does not contain such file. This PR explains how to create such executable in README.md.

@suztomo suztomo changed the title Add a note on executable google-java-format. Add a note on executable google-java-format Nov 5, 2019
@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@suztomo suztomo force-pushed the note_on_executable branch from 67dcbdb to 18c8e48 Compare November 5, 2019 16:12
@suztomo

suztomo commented Nov 5, 2019

Copy link
Copy Markdown
Member Author

@googlebot I fixed it.

@googlebot

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes and removed cla: no labels Nov 5, 2019
@cushon

cushon commented Dec 17, 2019

Copy link
Copy Markdown
Collaborator

Google-java-format-diff expects an executable google-java-format (link), but this repository does not contain such file

I think this was addressed in #44.

@suztomo

suztomo commented Dec 17, 2019

Copy link
Copy Markdown
Member Author

The issue 44 was addressed by adding flag to specify the location of the executable. Still this repository is missing how to create the executable.

@cushon

cushon commented Dec 17, 2019

Copy link
Copy Markdown
Collaborator

there's also fa113c6

@suztomo

suztomo commented Dec 17, 2019

Copy link
Copy Markdown
Member Author

That command line option lets users specify a custom JAR file, without using an executable. This does not describe how to create the executable.

@cushon

cushon commented Dec 18, 2019

Copy link
Copy Markdown
Collaborator

aren't the two approaches equivalent?

@suztomo

suztomo commented Dec 18, 2019

Copy link
Copy Markdown
Member Author

Yes the effect of two approaches (the custom JAR approach and the executable-in-PATH approach) is the same. This equivalence should not block enhancing the document for one approach. By the way, I like the executable-in-PATH approach because the command line parameter is shorter for google-java-format-diff.py.

@suztomo

suztomo commented May 1, 2020

Copy link
Copy Markdown
Member Author

@eaftan Thank you for checking. Would you merge this PR? I don’t have write access.

@eaftan

eaftan commented May 1, 2020

Copy link
Copy Markdown
Contributor

@suztomo I'm testing a new sync workflow. By approving this PR, I had hoped it would be automatically pulled into an internal CL, which we could then approve and submit internally. Then that change would be synced outward and this PR closed. But approving this didn't create the internal CL. Let me poke it and see if I can make it work.

@eaftan eaftan closed this May 1, 2020
@eaftan eaftan reopened this May 1, 2020
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.

4 participants