You are not logged in.

#1 2015-07-07 14:28:47

SteveR
Member
Registered: 2015-07-07
Posts: 3

[SOLVED] AUR4 packages submitted with wrong identity

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

#2 2015-07-07 16:40:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] AUR4 packages submitted with wrong identity

I think you should ask about this on the AUR mailing list.

Offline

#3 2015-07-07 17:30:19

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] AUR4 packages submitted with wrong identity

Search for "git revert commit".

Offline

#4 2015-07-07 21:06:08

SteveR
Member
Registered: 2015-07-07
Posts: 3

Re: [SOLVED] AUR4 packages submitted with wrong identity

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

#5 2015-07-08 05:31:58

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] AUR4 packages submitted with wrong identity

It happened to me too, but I don't mind.

Did you post at the ML?

Offline

#6 2015-07-08 07:48:18

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [SOLVED] AUR4 packages submitted with wrong identity

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

#7 2015-07-08 13:57:44

SteveR
Member
Registered: 2015-07-07
Posts: 3

Re: [SOLVED] AUR4 packages submitted with wrong identity

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

Board footer

Powered by FluxBB