On 9/1/23 23:57, Robin Candau wrote:
Not necessarily. If the package has an official website, it should be
used in the URL var instead of the repo.
So in this case, the URL should contain the official website URL of the
package [1] and the source array should contain the GitHub repo [2].

On 10/1/23 00:00, Polarian wrote:
The url is meant solely for the project URL, such as information on
the project etc, some projects use different URLS for downloads, such
as CI/CD etc, and thus the source and the URL DO NOT need to be the
same!

Allow me to rephrase :)

I meant these two URIs should be related to the same fork i.e. Git
remote. If Sharafat in the end decides to use Tatsh/kate-wakatime, then
surely [1] will be the best option (good job finding it btw); but if
wakatime/kate-wakatime is used for source in the end, I don't think [1]
would still be appropriate as url?

Let me know if this isn't true of course.

On 9/1/23 23:57, Robin Candau wrote:
Even though there's no package named "kate-wakatime" (yet), I think the
"kate-wakatime-git" package could (should?) still conflicts with it, in
case there's one someday.

On 10/1/23 00:00, Polarian wrote:
as for the conflicts option, it does not hurt conflicting a package
which you know will conflict your package if created, but this is
personal opinion

TIL! Thank you.

[1] https://tatsh.github.io/kate-wakatime

On 9/1/23 23:57, Robin Candau wrote:
Le 09/01/2023 à 13:48, Frederick Zhang a écrit :
And I just realised:

url="https://github.com/wakatime/$pkgname";
     source=("git+https://github.com/Tatsh/kate-wakatime";)

I think it's better to use the same repository for URL and source.
Not necessarily. If the package has an official website, it should be
used in the URL var instead of the repo.
So in this case, the URL should contain the official website URL of the
package [1] and the source array should contain the GitHub repo [2].

     conflicts=('kate-wakatime')

Is there already a package named kate-wakatime somewhere? I searched
both official repository and AUR but failed to find one.
Even though there's no package named "kate-wakatime" (yet), I think the
"kate-wakatime-git" package could (should?) still conflicts with it, in
case there's one someday.

[1] https://tatsh.github.io/kate-wakatime
[2] https://github.com/Tatsh/kate-wakatime

--
Regards,
Antiz (Robin C.)



On 10/1/23 00:00, Polarian wrote:
Hello,

The url is meant solely for the project URL, such as information on the project 
etc, some projects use different URLS for downloads, such as CI/CD etc, and 
thus the source and the URL DO NOT need to be the same!

as for the conflicts option, it does not hurt conflicting a package which you 
know will conflict your package if created, but this is personal opinion

--
Frederick Zhang

PGP: 8BFB EA5B 4C44 BFAC C8EC 5F93 1F92 8BE6 0D8B C11D

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to