-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
circleci: support telemetry #137382
circleci: support telemetry #137382
Conversation
Why would we enable it if it's off by default? |
Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request. |
f183953
to
d5a29ab
Compare
This is linked to a pull-request in one of our public repository: CircleCI-Public/circleci-cli#958 |
@SMillerDev It isn't off by default: the first time you will run the CLI it will ask you if you approve us collecting telemetry with CLI. In the pr, you can see I added the |
340f720
to
8a7e3bd
Compare
45d0378
to
d0a82d0
Compare
We added telemetry to our CLI. This changes the way it needs to be build: now it must be given another ldflag. This commit adds the flag. We also switched our default branch from 'master' to 'main'.
The comment was suggesting moving the declaration of the environment variable "CIRCLECI_CLI_TELEMETRY_OPTOUT" outside of the command calls
To give a bit more context to the PR, the most important part for us is the line -X github.com/CircleCI-Public/circleci-cli/telemetry.SegmentEndpoint=https://api.segment.io The line will allow the binaries built with it to send telemetry events to our telemetry server |
🤖 An automated task has requested creation of a replacement PR. |
Replacement PR dispatched
* circleci: change build to support telemetry We added telemetry to our CLI. This changes the way it needs to be build: now it must be given another ldflag. This commit adds the flag. We also switched our default branch from 'master' to 'main'. * circleci: Addressed pr comment The comment was suggesting moving the declaration of the environment variable "CIRCLECI_CLI_TELEMETRY_OPTOUT" outside of the command calls Closes #137382. Signed-off-by: BrewTestBot <[email protected]>
✅ Replacement PR created at #138184. |
Replacement for #137382
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?