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

Inconsistent documentation vs implementation of transitive argument #56

Closed
aaliddell opened this issue Mar 9, 2019 · 1 comment
Closed

Comments

@aaliddell
Copy link
Contributor

aaliddell commented Mar 9, 2019

For a number of languages, the readme states that transitive has a default of false: https://github.com/stackb/rules_proto/blame/master/python/README.md#L329

Whilst in the bzl file the argument is ignored and is harddoded as true:

transitive = True,

To correct for this, two things need doing:

  • The documentation should be updated to state the default is True for affected languages
  • The rules of affected languages should not use hardcoded true; the value should be pulled from kwargs with a default of true: transitive = kwargs.get("transitive", True)

If this sounds correct, I can send this as a PR?

aaliddell added a commit to aaliddell/rules_proto that referenced this issue Jun 13, 2019
Default behaviour of all languages has presently been True anyway,
so this is just updating the docs to match the implementation.
Closes stackb#56
@pcj
Copy link
Member

pcj commented Nov 16, 2021

Closing stale PRs and issue, please reopen new one if desired.

@pcj pcj closed this as completed Nov 16, 2021
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

No branches or pull requests

2 participants