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

Determine co-author anonymous email by remote origin address #27

Open
3 tasks done
wevtimoteo opened this issue Jun 18, 2020 · 1 comment · Fixed by #46
Open
3 tasks done

Determine co-author anonymous email by remote origin address #27

wevtimoteo opened this issue Jun 18, 2020 · 1 comment · Fixed by #46
Labels
Milestone

Comments

@wevtimoteo
Copy link
Member

wevtimoteo commented Jun 18, 2020

Currently, our utility only considers GitHub anonymous emails. We should check if git remote origin address contains GitHub or GitLab to build proper source provider anonymous email.

Sub tasks:

  • Command add accepts two arguments
  • Command add works without arguments
  • Store the authors email commiter
$ git shortlog --summary --email --committer
     
     3  👻 <[email protected]>
 
     1  👻 Doo <[email protected]>

Notes:

Decide how and when we are going to store the co-authors status from git shortlog --summary --email --committer
 command.

Currently stored data on git config ⬇️:

[pair]
	
     coauthor = 👻

We are proposing something like ⬇️ :

[pair]
	
     coauthor = 👻 <[email protected]>
 
@wevtimoteo wevtimoteo added this to the v1.1.0 milestone Jun 18, 2020
@wevtimoteo wevtimoteo changed the title Check if remote contains GitHub or GitLab to determine co-author anonymous email Determine co-author anonymous email by origin address Jun 19, 2020
@wevtimoteo wevtimoteo changed the title Determine co-author anonymous email by origin address Determine co-author anonymous email by remote origin address Jul 23, 2020
@wevtimoteo wevtimoteo modified the milestones: v1.1.0, v1.0.0 Jul 23, 2020
@wevtimoteo
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant