Issues with .mailmap file

What happens

Even though my credentials are in the .mailmap file, I can’t finish the build process succesfully.

What do you understand or find about that problem

At first I thought that was the git confugration but it is ok. Then I looked at the .mailmap file in the repository but it is ok too.
Maybe the reason is because the first commit that I did was with git config --global user.name = edy89.

Did you try any workaround? What did you do?

I have tried a lot of things but nothing has solved my problem:

  • I recloned the repository
  • I deleted the credentials from the .mailmap file pushing, adding credentials and pushing again
  • I changed my credentials to edy89 <edy_89@utp.edu.co> edy89 <edy_89@utp.edu.co>
  • Checking the .mailmap config with commands like: git shortlog -se git check-mailmap 'Edison Colorado <edy_89@utp.edu.co>'

Why does the workaround fail?

I could note that the first commit that I did, was with the git config --global user.name = edy89:

but even when I realized and changed my git configuration, the problem never was solved and when I run the build process, it is always asking me "Please add a .mailmap entry for: edy89 <edy_89@utp.edu.co> even knowing that my git config for user.name is Edison Colorado <edy_89@utp.edu.co> Edison Colorado <edy_89@utp.edu.co> now…

Evidences




Screenshot 2023-07-07 at 7.21.58 PM

pipeline: https://gitlab.com/autonomicjump/challenges/-/pipelines/925157974/
specific job: https://gitlab.com/autonomicjump/challenges/-/jobs/4618101645

I need help with

I need help getting the repository to recognize my .mailmap configuration as Edison Colorado <edy_89@utp.edu.co> Edison Colorado <edy_89@utp.edu.co> and can finally finish the /lintGitMailMap job task succesfully, it is the last thing to make a MR :pray:

Hi,

In case you have made the previous commit with other data, you must add again in this commit in the .mailmap the current data.

Regards,

Hello again and thanks for answer… That’s the problem! I already did: https://gitlab.com/autonomicjump/challenges/-/commit/7eaaf955fa1f85684ddc8028c0e9e43ef5488eee
this is the last commit where I put the correct format into the .mailmap file but it still failing, what else can I do?

I was referring to if you were approved for a Mergue request but I see that you were not, before committing make sure that your data is correct. What you could do is clone the repository again.

I re-cloned the repository, checked the .mailmap file if my user configuration was there and then I ask for a MR but it failed for the same reason I guess… :pensive:


pipeline: https://gitlab.com/autonomicjump/challenges/-/pipelines/926653688/

*There is another way to re-start whole process? (e.g create another branch)

Please consider doing the steps correctly:

  1. you upload your branch, and if all goes well.

  2. Make the merge request.

Remember that as it is your first commit, in case the .mailmap asks you to add in a specific way your user, you must do it. Don’t forget to run the test locally to save time. I also see that you are mistitling the commit.