opensearch-project / performance-analyzer

📈 Get detailed performance metrics from your cluster independently of the Java Virtual Machine (JVM)
https://opensearch.org/docs/latest/monitoring-plugins/pa/index/
Apache License 2.0
32 stars 66 forks source link

QoL: git shows lots of untracked files in repository after building PA #589

Closed kartva closed 7 months ago

kartva commented 8 months ago

What is the bug?

$ git ls-files --others --exclude-standard | wc -l
137

There are currently 137 untracked files that appear when the project is built/run.

------------------------------------------------------------
Gradle 7.6.1
------------------------------------------------------------

Build time:   2023-02-24 13:54:42 UTC
Revision:     3905fe8ac072bbd925c70ddbddddf4463341f4b4

Kotlin:       1.7.10
Groovy:       3.0.13
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.8.1 (Eclipse Adoptium 17.0.8.1+1)
OS:           Linux 5.15.90.1-microsoft-standard-WSL2 amd64

This is annoying to see in the git log all the time, and could potentially affect Git performance if the number of files increases in the future.

Adding /bin/ to .gitignore fixes the issue.