Open
Description
Git relies on email as the primary user identity. This may not work for us for a number of reasons:
- The email used to commit is a dummy email - we cannot contact the person
- The email is shared - we can't tell which commit belongs to whom or contact the person
- The email is work email - the dev may not want to be contacted on that email
- The email is no longer accessible - we cannot contact the person
The directory uses the public key included in the submission as the main identity of the person, which then can be mapped to multiple Git emails and a single primary email.
The app should try its best to get the right IDs with minimal risk to the user (1st) and minimal friction (2nd):
- Check what user details are stored in Git config.
- Tell the user what was found
- Allow overwrites from the CLI args
- Cache known details so that if they change in Git config the old IDs can still be used for processing the old code
- Update ReadMe with --gist details
- Remove requirement to have primary_email email
- Use public profile URL instead of anon where available
- Include private projects in stm-gh updates
- Remove private projects from the public profile when the public a/c is disconnected via --gist ""
The directory should only send any emails to addresses that were either manually verified or were provided in the CLI param as the preferred contact.