srchub-old

Issue 51: Commits not following my account after email change, and email change back


Reported by austin j, Jun, 14 2014 11:33:08 PM

Steps to reproduce the problem:
1. Change email
2. Commit (using old email)
3. Change email back

Expected result:
"Step-2" commits reattach to your account, or never leave 
in the first place

Actual result:
"Step-2" commits don't record to your account

Comment 1 by austin j, Jun, 15 2014 4:36:12 PM

The repositories affected are: 

https://srchub.org/p/Obskewer/

https://srchub.org/p/pCalculator/

Comment 2 by Natalie Adams, Jun, 15 2014 4:36:43 PM

The issue is that srchub doesn't know that's you if you commit 
without adding your old email as a secondary email.

I fixed the repos - but I can write a cron job that scans the 
commits for user's emails. However, this still requires a user to 
add their email as an alternate email to their profile.
Owner: nadams

Comment 3 by austin j, Jun, 15 2014 4:39:03 PM

Thanks, I appreciate it.

Comment 4 by Natalie Adams, Aug, 30 2015 6:45:26 PM

This was fixed in 
https://srchub.org/p/srchub-git/source/commit/5c61ef6d52ccc64b57b7722
d9efdefcd4ce1c888/

Basically if you change your email, make a commit using the old 
email the system will set no author relationship to the commit. In 
this new code if you change or add an email - it will attempt to 
find commits with no related author and your email as the committing 
author's email and set you as the author (which in turn will show up 
on your user page).

This fix will only work for hg and git (due to the accepted format 
of Name <email>). I should note though for SVN this is a non 
issue because the committing author name is their srchub username 
and you can't change that (currently - and no plans to do it).
Status: Fixed

Created: 10 years 6 months ago by austin j

Updated: 9 years 3 months ago

Status: Fixed

Owner: Natalie Adams

Labels:
Type:Defect
Priority:Medium

Page rendered in 0.02773s using 49 queries.