You are not logged in.
Hi,
as today is the last day to keep maintainership for AUR4 packages I quickly folllowed the instructions under "Submitting packages to aur4.archlinux.org".
Afterwards, I was quite surprised the git logs showed my true name and email instead of the identity I use to maintain the packages in the old aur. I am completely new to git and I don't remember to ever having configured it before. (Now I know i missed to do a "git config", but it's too late.)
Is there a possibility to reset the three packages I maintain to their initial state in aur4 and let me push again from scratch?
Thanks in advance for your help.
Last edited by SteveR (2015-07-08 13:58:10)
Offline
I think you should ask about this on the AUR mailing list.
Offline
Search for "git revert commit".
Offline
Thanks karol and Awebb for your answers.
Unfortunately, "git revert" is rejected by the AUR (but as far as I understand it, even if it worked, the commit history would have been kept anyway).
It seems it is impossible to reset a erroneous package contribution in AUR4. Which gives me a huge headache as I never ever wanted to make my contributions under my real identity, for personal reasons. (I could imagine I'm not the only git newbie falling into this trap.)
Offline
It happened to me too, but I don't mind.
Did you post at the ML?
Offline
Yeah; someone figured force-pushes shouldn't be allowed, I disagree with this as well. I have setup a script which I use instead of git:
local cmd=$1 args=; shift
[[ $cmd == 'push' ]] && { git $cmd $*; return; }
[[ $cmd == 'commit' ]] && { args="--author='Spider.007 <aur AT spider007.net>'"; }
GIT_COMMITTER_NAME='Spider.007' GIT_COMMITTER_EMAIL='aur AT spider007.net' git $cmd "$args" $*
# Display committer & author for verification
git --no-pager log --pretty='Committer: %cn <%ce> | Author: %an <%ae>'Last edited by Spider.007 (2015-07-08 07:48:47)
Offline
Awebb and karol, you were right with the suggestion to post on the ML - I got the answer: "You can send an email to aur-support@archlinux.org with links to the repositories and the identity (user name and email address) you would like to use. We will amend the commits for you."
And they did.
(FYI, before that, I had also tried the tutorial which works for github, but not for aur4: https://help.github.com/articles/changing-author-info/ )
Spider.007, thanks for the script, I'll adapt it for my needs to prevent such errors in the future.
Thank you all for your assistance!
Offline