Closed lakshmansai closed 1 year ago
Thanks for the PR. I'll review in detail next week.
Could you add a few comments to help me review?
Like I'd this only adding back previous code or has some been rewritten?
Can you add a comment as to how you think the previous default behavior can be restored for people who have moved to the current style? I think this flips the defaults back, doesn't it?
I have added back the previous code didn't rewrite.
The defaults are not changed, depending on the options provided to generate command output files will be generated.
AFAIK options provided in README.md like -s to generate bazel files have been deleted in the PR https://github.com/bazeltools/bazel-deps/pull/321 So I don't think people have moved to the new style.
only the deleted options are added back so new options like resolved-output will still be working.
Would be great to get that one forward.
For now without -s
option, the tool is broken for us.
Thanks.
It's hard to review this because the PR is so large and many of the changes are just formatting changes.
This will break us, unfortunately, since the sha file arg -s
is required here, but not even an option in the previous version.
I'll merge this and fix it up for us.
Thanks for taking the time.
Fixes Issue https://github.com/bazeltools/bazel-deps/issues/325
Ran all unit test cases
Tested generation of build files by running the command
Compared the output by running the old version of bazel-deps and with this diff.