#5 Preserving the user
Closed: Fixed Opened by vivekanand1101.

The basic idea is, how do you link a github user to corresponding pagure user. As discussed with @pingou, the common and unique thing that might be true for most of the users is their email id. But, github doesn't give away the email in their issue comments. If someone mirrors code on pagure to github, github uses the email id in the commit to recognize the corresponding github user.


Since we switched to using the git repos of issues from the pagure api, this problem has been solved. We have broken the process in two steps, the first one collects the info about all the users for whom we don't have emails and creates a csv file which needs to filled manually, In the second step, we do the actual import of the issues to the a local repository. On pushing the local repo, pagure creates the user it doesn't already have in the db.

@vivekanand1101 changed the status to Fixed

Metadata