Good afternoon everyone.
This is most likely a case for Paul but roping everyone in just in case.
I was trying to push libnl2.0 to [1] but got this weird error message [2]. I googled the issue and I am not the only one facing this problem [3]. A temporary work around seems to be to forge the committer identy in the project's "refs/meta/config", which for us will most likely be "refs/for/linaro_libnl2_0"
Have you guys seen something similar?
Thanks, Mathieu
[1]. http://android.git.linaro.org/git-ro/platform/external/libnl.git (linaro_libnl2_0) [2]. https://pastebin.linaro.org/view/663d784c [3]. https://groups.google.com/forum/?fromgroups=#%21topic/repo-discuss/iaE6lF-DI...
Merry Christmas!
On Fri, 20 Dec 2013 13:47:26 -0700 Mathieu Poirier mathieu.poirier@linaro.org wrote:
Good afternoon everyone.
This is most likely a case for Paul but roping everyone in just in case.
I was trying to push libnl2.0 to [1] but got this weird error message [2].
remote: ERROR: In commit 3607dbfa54e7ca775a89078f64bdcb150ea9306b remote: ERROR: committer email address tgr@deb.localdomain remote: ERROR: does not match your user account. remote: ERROR: remote: ERROR: The following addresses are currently registered: remote: ERROR: mathieu.poirier@linaro.org
I googled the issue and I am not the only one facing this problem [3]. A temporary work around seems to be to forge the committer identy in the project's "refs/meta/config", which for us will most likely be "refs/for/linaro_libnl2_0"
Have you guys seen something similar?
Sorry for the delay with response - I kinda went on vacation.
Yes, that's expected and correct behavior - Gerrit just checks that author/committer is correct, which is surely important for change control and history. So, on a new machine, you can just set Linaro email in git config globally: https://help.github.com/articles/setting-your-email-in-git
I personally don't do that (set globally), because I commit to lotsa projects and don't want to risk situation that @linaro.org email pops up in context with a project which received cease-and-desist order like http://www.techdirt.com/articles/20110112/10294112638/sony-gets-restraining-... ;-).
So, instead I set it per repository, just like you did, and have a script for that:
===== linaro-git-set-email.sh ===== #!/bin/sh git config user.name "Paul Sokolovsky" git config user.email "paul.sokolovsky@linaro.org" ===================================
Of course, I often miss to run it at right times, and end up with commits from local email in Linaro repos. To fix that, I use another script like this: https://help.github.com/articles/changing-author-info
Hope this helps.
Thanks, Mathieu
[1]. http://android.git.linaro.org/git-ro/platform/external/libnl.git (linaro_libnl2_0) [2]. https://pastebin.linaro.org/view/663d784c [3]. https://groups.google.com/forum/?fromgroups=#%21topic/repo-discuss/iaE6lF-DI...
linaro-android@lists.linaro.org