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

build cleaner? #6871

Open
cnsgsz opened this issue Dec 8, 2018 · 9 comments
Open

build cleaner? #6871

cnsgsz opened this issue Dec 8, 2018 · 9 comments
Labels
P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) team-Bazel General Bazel product/strategy issues type: feature request

Comments

@cnsgsz
Copy link

cnsgsz commented Dec 8, 2018

Is it possible to automatically update the dependencies of build rules, etc? It could be a huge productivity boost for users.

@jin
Copy link
Member

jin commented Dec 10, 2018

The language rulesets typically provide their own tools, like gazelle for Go rules. Could you elaborate more on what you would like to see in this tool?

@jin jin added type: feature request untriaged team-Bazel General Bazel product/strategy issues labels Dec 10, 2018
@cnsgsz
Copy link
Author

cnsgsz commented Dec 12, 2018

Yes, tools like gazelle is what I'm looking for. Is there an equivalent for c++ and Python? Thanks!

@petroseskinder
Copy link
Member

petroseskinder commented Dec 12, 2018 via email

@cnsgsz
Copy link
Author

cnsgsz commented Dec 12, 2018

I see. Thanks for the suggestion! awesomebazel.com is awesome!

Is this the one for python you have in mind? https://github.com/tuomasr/pazel

What is particularly hard about c++? Is there one for c++ used in google internally and if so is it feasible to open source that? Thanks!

@aiuto aiuto added P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) and removed untriaged labels Feb 21, 2019
@yzhao1012
Copy link

There is already an internal version working inside Google, might route this to the internal build cleaner maintainer for more input.

@regisd
Copy link
Contributor

regisd commented Jan 15, 2021

https://github.com/bazelbuild/buildtools/blob/master/unused_deps/unused_deps.go can help

@antspy
Copy link

antspy commented Jan 31, 2023

Hi,

Any update on this?

@fruffy-g
Copy link

We would also like to use this to check open-source contributions. Is there a build cleaner available for C++?

@meisterT
Copy link
Member

People who interested in this issue, might be interested in this BazelCon presentation: https://www.youtube.com/watch?v=ScB0XiFrcOE&list=PLxNYxgaZ8Rsefrwb_ySGRi_bvQejpO_Tj&index=24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) team-Bazel General Bazel product/strategy issues type: feature request
Projects
None yet
Development

No branches or pull requests

9 participants