How to integrate buildozer and buildifier

89 views
Skip to first unread message

gja...@googlemail.com

unread,
Dec 14, 2019, 5:44:46 PM12/14/19
to Copybara OSS
Hello,

First: thank you for copybara. I used it successfully to extract a module of our mono-repo for open sourcing.

But because our internal and external Bazel world differs I now ended up with way too many calls to core.replace. I discovered buildozer and would like to use it to adjust my BUILD.bazel files. After all modifications it would be nice to also format all resulting BUILD.bazel with buildifier, too.

Could you please give me some hints or boilerplate code how to hook up buildozer into copybara?

Thanks,
Gregor

gja...@googlemail.com

unread,
Feb 22, 2020, 2:39:48 PM2/22/20
to Copybara OSS
For the record: On Feb 18, 2020 buildozer and buildifier support appeared in the open source version.

Thanks!

timothy...@gmail.com

unread,
Feb 26, 2020, 11:40:45 PM2/26/20
to Copybara OSS
Reply all
Reply to author
Forward
0 new messages