Hi Svilen,

> I would like both the author and committer changed to:
> s-k <none>
>
> […]
>
> Could someone with the appropriate AUR permissions help apply this
> or advise on the process? I can provide the amended commit through
> whichever method you prefer.


Done!

This was a special case because your deletion request had already been accepted.

For the record, here’s how to do it as an AUR moderator for a package that has been deleted:

1. Clone the deleted PKGBUILD.

2. ssh [email protected] restore $PKGNAME

   (to enable pushing. For a list of commands, run `ssh aur@… help`.)

3. Use `git-filter-branch` or, if just one single commit:

   git -c user.name=… -c user.email=… commit --amend --author='… <…>'

   to perform whatever kind of history rewrite was requested.
   See also [1].

4. git log --pretty=fuller

   (to double-check the rewrite has been done correctly.)

5. Force push using maintainer privileges, see [1].

6. ssh aur@… adopt $PKGNAME

7. ssh aur@… set-comaintainers $PKGNAME $REQUESTOR

8. ssh aur@… disown $PKGNAME


Regards
Claudia


[1]: https://wiki.archlinux.org/title/Package_Maintainer_guidelines#Rewriting_git_history

Attachment: OpenPGP_0xD11E9FC4F7C9DA3C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to