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

normalize git remote urls for anonymized telemetry #1279

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

EverlastingBugstopper
Copy link
Contributor

this PR adds normalization logic to the remote URLs reported to apollo's telemetry service. CI providers like GitLab include username and passwords in their remote URLs, which makes their hashes non-unique. we now use the same normalization techniques used to provide GitContext to the Apollo Studio GraphQL API which should give us stronger insights into the number of unique projects using rover.

@EverlastingBugstopper EverlastingBugstopper self-assigned this Aug 31, 2022
@EverlastingBugstopper EverlastingBugstopper added this to the vNext milestone Aug 31, 2022
@EverlastingBugstopper EverlastingBugstopper added the fix 🩹 fixes a bug label Aug 31, 2022
Copy link
Member

@abernix abernix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. and ci checks seem like a circleci spurious failure. i nudged it to retry.

@EverlastingBugstopper EverlastingBugstopper merged commit 8c649ef into main Aug 31, 2022
@EverlastingBugstopper EverlastingBugstopper deleted the avery/remove-username-info branch August 31, 2022 19:56
EverlastingBugstopper added a commit that referenced this pull request Sep 6, 2022
# [0.8.2] - 2022-09-06

## 🚀 Features

- **Check commands exit with failure when downstream tasks fail - @sachindshinde, #1280**

  Historically, `rover graph check` and `rover subgraph check` have aggregated errors for operation checks and/or composition checks. Checks are expanding in Studio and will continue to expand over time, starting with downstream contract checks for `rover subgraph check`. When these tasks fail, Rover will throw an error and link to the checks page in Studio which will contiain more information on the exact failure.

- **Detect improper VS Code API key pastes on Windows - @EverlastingBugstopper, #1026, 1268**

  We have added new error messages and recovery suggestions for malformed API keys caused by invalid copy+pastes in VS Code on Windows.

- **Adds `--watch` to `introspect` commands - @EverlastingBugstopper, #1207**

  If you pass the `--watch` flag to `rover graph introspect` or `rover subgraph introspect`, the GraphQL server will be introspected once every second, printing updates to the terminal as the introspection response changes. This could be used to bootstrap development workflows when combined with `--output json` and a tool like `jq`.

## 🐛 Fixes

- **Trim double quotes in multilingual descriptions - @lrlna, #1245 fixes #1244 and #1114**

  `rover graph introspect` no longer crashes if a field description contains cyrillic symbols.

- **Fix link to ELv2 license information - @EverlastingBugstopper, #1262 fixes #1261**

## 🛠 Maintenance

- **Link directly to API Keys page in Studio - @abernix, #1202**

  The `rover config auth` command will now provide a link that takes you directly to the "API Keys" page where you can create a Personal API Key, rather than a page that requires you to click through to another page.

- **Skip Apollo Studio integration tests for fork PRs - @EverlastingBugstopper, #Issue #, 1216**

  Our CI pipeline skips Apollo Studio integration tests for forked repositories because they don't have access to the Apollo Studio organization that we use to run them.

- **Updates MacOS CI pipeline to use xcode 13.4 - @EverlastingBugstopper, #1211**

- **Normalize git remote URLs for anonymized telemetry - @EverlastingBugstopper, #1279**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants