Skip to content

fix: scopes args file#21

Closed
iamricard wants to merge 1 commit intobufbuild:mainfrom
iamricard:main
Closed

fix: scopes args file#21
iamricard wants to merge 1 commit intobufbuild:mainfrom
iamricard:main

Conversation

@iamricard
Copy link
Copy Markdown

This PR changes the proto plugin to take into account the name of target
being built to generate the args file. Before this patch, the rules that
use the plugin will generate clashing args files (path/to/rule/args).
This is fine if you run only one test at a time, but if you happen to
have a _lint and a _breaking test in the same bazel package, an
error pops up because both targets are trying to execute actions writing
the same file.

This PR changes the proto plugin to take into account the name of target
being built to generate the args file. Before this patch, the rules that
use the plugin will generate clashing args files (`path/to/rule/args`).
This is fine if you run only one test at a time, but if you happen to
have a `_lint` and a `_breaking` test in the same bazel package, an
error pops up because both targets are trying to execute actions writing
the same file.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 20, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Ricard Solé seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@srikrsna-buf
Copy link
Copy Markdown
Member

Thank you for the PR!

I can reproduce the issue and also confirm that this fixes the issue. I'll merge once the cla is signed.

Thanks again!

@iamricard
Copy link
Copy Markdown
Author

Thank you for the PR!

I can reproduce the issue and also confirm that this fixes the issue. I'll merge once the cla is signed.

Thanks again!

👋 yeah sorry about the delay. i’m getting the CLA reviewed internally so that i can get it signed. hopefully it’ll get approved soon ☺️

@iamricard
Copy link
Copy Markdown
Author

hey @srikrsna-buf Datadog’s legal team does not approve the “Intellectual Property Assignment” clause. Being that I would have been contributing as a Datadog Employee your agreement is requiring Datadog to “designate and appoint Buf Technologies and its duly authorized officers and agents as [Datadog’s] agent and attorney-in-fact” which is unacceptable under these circumstances.

so i'm closing the PR, sorry for the trouble!

@iamricard iamricard closed this Jul 25, 2022
@srikrsna-buf srikrsna-buf mentioned this pull request Sep 21, 2022
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.

3 participants