[aur-general] Change package name?
bts at square-r00t.net
Wed Jan 8 03:56:52 UTC 2020
On 1/7/20 22:41, Brian Allred via aur-general wrote:
> Hi all,
> yochananmarqos made a good point on my gpmdp
> <https://aur.archlinux.org/packages/gpmdp/> package. It's a -bin package,
> but I didn't originally submit it as such. Is there a way to change its
> name without losing the comment history and changelog? I can resubmit as
> gpmdp-bin if necessary, just wanted to check first.
The way I did it with one of my packages (I forget which, but one of the
packages' upstream switched source version control backends so the
package name had to change to reflect it) was I:
1.) Created a new package for the "target" name (for example,
foobar-git) and submitted to AUR under new name
2.) On old package (e.g. foobar-hg), I submitted an AUR merge request to
merge *into* foobar-git. This is important! Make sure you marge the OLD
into the NEW, not the other way around. While not guaranteed, it should
be a pretty quick approval because you own both the old and new packages.
3.) Once the merge request completes, ta-da! Do a fresh pull in your
local "foobar-git" repo and doublecheck to make sure the PKGBUILD,
.SRCINFO, etc. match the desired package name.
It's a pretty simple process, just not really documented anywhere to my
GPG info: https://square-r00t.net/gpg-info
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 899 bytes
Desc: OpenPGP digital signature
More information about the aur-general