-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
687 additions
and
574 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,27 @@ To run thanks, you'll need stable Rust. | |
There is no need to configure anything; thanks will run everything on its own, simply `cargo run | ||
--release` and the site will be placed in `output`. | ||
|
||
## Identities (or "help, I'm showing up multiple times") | ||
|
||
Thanks aggregates data from commits and PR reviews. | ||
It bases identities on the email addresses from the commits and GitHub usernames from approvals (which it maps to email addresses via rust-lang/team). | ||
It then uses the `.mailmap` in the rust-lang/rust repository to canonicalize the identities. | ||
|
||
If you show up multiple times, it's likely that you have contributed under multiple email addresses and haven't added them to the mailmap. | ||
To do this, add yourself to the mailmap `.mailmap` like the example here: | ||
|
||
``` | ||
Ferris <[email protected]> | ||
Ferris <[email protected]> <[email protected]> | ||
Ferris <[email protected]> <[email protected]> | ||
``` | ||
|
||
If you change your GitHub username or someone mistyped your GitHub username in an `r=` comment, you can re-map it by adding an entry in `src/reviewers.rs`. | ||
This is also useful if your GitHub username is not present in rust-lang/team or you encrypted the email there. | ||
|
||
Use the `DEBUG_EMAILS=1` environment variable locally to display the email address in the output, | ||
which is useful for debugging these missing mailmap entries. | ||
|
||
## Refresh time | ||
|
||
Thanks is configured to run every night to update the latest statistics. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ categories = ["parsing"] | |
license = "MIT OR Apache-2.0" | ||
|
||
[dependencies] | ||
unicase = "2.6.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.