We have some duplication of users.
User.group(:username).having("COUNT(*) > 1").count { "thion"=>2, "Ostrzy"=>2, "szymo"=>2, "jandudulski"=>2, "michlask"=>2, "venticco"=>2, "tallica"=>2, "proapi"=>2 }
The problems is how we create the users. We missed the case that github users can have multiple emails and the emails form commits could be wrong.
We should take precedence of creating user by username not by email and introduce multiple emails support for user.
We have some duplication of users.
User.group(:username).having("COUNT(*) > 1").count { "thion"=>2, "Ostrzy"=>2, "szymo"=>2, "jandudulski"=>2, "michlask"=>2, "venticco"=>2, "tallica"=>2, "proapi"=>2 }
The problems is how we create the users. We missed the case that github users can have multiple emails and the emails form commits could be wrong.
We should take precedence of creating user by username not by email and introduce multiple emails support for user.