Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@igorbernstein2
Copy link
Contributor

#48 introduced a bug where the exclude path (which is relative to a tracked path) is compared to a source path (which is relative to the source root).
This issue was unnoticed because it works ok when the source path has a single component like in firestore:
https://github.com/googleapis/nodejs-firestore/blob/89afae/synth.py#L19

But breaks when the source path has multiple components like in bigtable:
https://github.com/googleapis/google-cloud-java/blob/264643/google-cloud-clients/google-cloud-bigtable/synth.py#L30

And when the cwd doesn't match the tracked path

googleapis#48 introduced a bug where the exclude path (which is relative to a tracked path) is compared to a source path (which is relative to the source root).
This issue was unnoticed because it works ok when the source path has a single component like in firestore:
https://github.com/googleapis/nodejs-firestore/blob/89afae/synth.py#L19

But breaks when the source path has multiple components like in bigtable:
https://github.com/googleapis/google-cloud-java/blob/264643/google-cloud-clients/google-cloud-bigtable/synth.py#L30

And when the cwd doesn't match the tracked path
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 25, 2019
@igorbernstein2 igorbernstein2 requested a review from crwilcox April 25, 2019 20:34
@igorbernstein2
Copy link
Contributor Author

This is currently blocking:
googleapis/google-cloud-java#5034

@busunkim96 busunkim96 merged commit db08896 into googleapis:master Apr 29, 2019
@igorbernstein2
Copy link
Contributor Author

Thanks for reviewing! Does anything else need to happen for this to be picked up by the next client regen?

@busunkim96
Copy link
Contributor

@igorbernstein2 Autosynth runs synthtool from the master, so nothing else should be necessary. If it's okay to wait the changes should show up on the synth PRs tomorrow morning. (If this needs to go out today we ca re-trigger the Node.js synth job.)

Sorry for the delay in reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants