Re: [aur-general] Fwd: Replacing package

2019-08-05 Thread Eli Schwartz via aur-general
On 8/5/19 6:02 PM, Rhys Perry via aur-general wrote:
> I have a package (i3-gaps-rounded) and would like to rename it to
> i3-gaps-rounded-git in order to comply with standards. What would I have to
> add to the PKGBUILD of each packages in order to force people who have
> installed i3-gaps-rounded to move to i3-gaps-rounded-git?

Renaming the package is not sufficient to comply with the standards
anyway. Why does it clone a git repository in prepare() instead of using
the source=() array? Why does it then play strange games with git
archive, gzip and tar just to copy the source code from one directory to
another?

Why does it use "pkgver=latest"?

Some of these are grounds for removing the package from the AUR. Please
read the entirety of
https://wiki.archlinux.org/index.php/VCS_package_guidelines and fix the
package entirely. If it is meant to download development versions, from
git master, then it *also* needs to be renamed, yes.

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [aur-general] Fwd: Replacing package

2019-08-05 Thread Eli Schwartz via aur-general
On 8/5/19 6:19 PM, Chris Billington via aur-general wrote:
> On Mon, Aug 5, 2019 at 6:02 PM Rhys Perry via aur-general <
> aur-general@archlinux.org> wrote:
> 
>> I have a package (i3-gaps-rounded) and would like to rename it to
>> i3-gaps-rounded-git in order to comply with standards. What would I have to
>> add to the PKGBUILD of each packages in order to force people who have
>> installed i3-gaps-rounded to move to i3-gaps-rounded-git?

> provides=(i3-wm i3-gaps-rounded)
> replaces=(i3-gaps-rounded)

While it is technically true that the "replaces" metadata would "force
people who had one, to install the other", the proper answer is "do not
force people to do that if they were expecting a stable version,
replaces are for when software is renamed".

The other answer is "the AUR is not a sync repository and therefore does
not support replaces, it is possible there are AUR helpers which
implement it though" (or they would, if the RPC interface actually
supported that sort of search).




-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [aur-general] Fwd: Replacing package

2019-08-05 Thread Chris Billington via aur-general
provides=(i3-wm i3-gaps-rounded)
replaces=(i3-gaps-rounded)


On Mon, Aug 5, 2019 at 6:02 PM Rhys Perry via aur-general <
aur-general@archlinux.org> wrote:

> I have a package (i3-gaps-rounded) and would like to rename it to
> i3-gaps-rounded-git in order to comply with standards. What would I have to
> add to the PKGBUILD of each packages in order to force people who have
> installed i3-gaps-rounded to move to i3-gaps-rounded-git?
>


[aur-general] Fwd: Replacing package

2019-08-05 Thread Rhys Perry via aur-general
I have a package (i3-gaps-rounded) and would like to rename it to
i3-gaps-rounded-git in order to comply with standards. What would I have to
add to the PKGBUILD of each packages in order to force people who have
installed i3-gaps-rounded to move to i3-gaps-rounded-git?