-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
WIP: proof of concept for license splicing #685
base: master
Are you sure you want to change the base?
Conversation
This is quite annoying.
Sigh... |
@aiuto this workflow looks good, especially considering the restrictions we have. It all works locally for me. What should the next steps be? It might be useful to get a third opinion on the direction we are heading in while finishing up the prototype |
I don't know. I don't really like that you need a third setup function for this repository. I want to get the @license_checker repository injected by one of the first rules, so that all the examples don't have to change. My thought is that I could point to rules_jvm_external for the checker as a default, and add an optional rule that rewrites the dependency reader to point to the other repository. But... you could certainly use what I have here to test the license injection at your scale. |
I'm quite confused about what's happening here. Is there an issue/context for this FR? |
Hi @jin we are trying to find a good way to allow users of rules_jvm_external to apply rules_license |
Hi @aiuto, circling back to this. In this approach, why couldn't we make it so it is backward compatible where users not using a license classifier can avoid adding I'm thinking that the optimal case would be for a user to:
|
@danielmachlab This is proof of concept of the license lookup indirection.
I am not happy that we can't get a fallback repository. But, it could be done in setup,
with the requirement that you call setup.