Re: Package naming for vkbasalt-cli

2023-04-27 Thread Sandro

On 27-04-2023 15:03, Ian McInerney wrote:

Albeit, I don't mind naming it python-vkbasalt-cli and providing a
python3-vkbasalt-cli subpackage and a provides vkbasalt = ...

I did the same for python-fvs, which looks to be primarily a library
with an added utility [1]


I had the same question when packaging up git-revise (a Python-based
program that is a git extension, so it is an executable script), and the
advice I received was if the package is on PyPi, then it is probably best
to use a python-* name to make it discoverable (
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/QYWJ7UUEBSSQ5QAPJSVDWPLM5KOYRZW5/).
I decided to name the source RPM python-git-revise (instead of just
git-revise), and then included a subpackage with the shortname so that it
was still searchable/installable easily.


Yes. I'm leaning towards the same approach. Only vkbasalt-cli is not on 
PyPI, yet.


-- Sandro
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Package naming for vkbasalt-cli

2023-04-27 Thread Ian McInerney
On Thu, Apr 27, 2023 at 1:27 PM Sandro  wrote:

> On 27-04-2023 10:48, Petr Viktorin wrote:
> > That sounds good. You could also do it the other way around.
>
> I think that depends on the main purpose of the package. Is it primarily
> an app or primarily a library. In this case it seems the utility is
> prevalent.
>
> Albeit, I don't mind naming it python-vkbasalt-cli and providing a
> python3-vkbasalt-cli subpackage and a provides vkbasalt = ...
>
> I did the same for python-fvs, which looks to be primarily a library
> with an added utility [1]
>

I had the same question when packaging up git-revise (a Python-based
program that is a git extension, so it is an executable script), and the
advice I received was if the package is on PyPi, then it is probably best
to use a python-* name to make it discoverable (
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/QYWJ7UUEBSSQ5QAPJSVDWPLM5KOYRZW5/).
I decided to name the source RPM python-git-revise (instead of just
git-revise), and then included a subpackage with the shortname so that it
was still searchable/installable easily.

-Ian


>
> > In this case, it looks like `vkbasalt-cli` is developed independently of
> > vkbasalt itself, is that right? If there's a chance that an “official”
> > vkbasalt CLI appears in the future, consider using only
> > `python-vkbasalt-cli`, to prevent future confusion.
> > But I guess if that ever happened, the fact that vkbasalt-cli provides
> > `/usr/bin/vkbasalt` would be a bigger issue.
>
> Well, I submitted the package for review [2] and have been told that
> vkbasalt not being published on PyPI is an issue wrt naming parity.
> So, I filed a bug requesting publication on PyPI [3], but I haven't
> heard back from upstream, yet. If upstream remains unresponsive, I would
> need to either publish it myself or get the name reserved as described
> in PyPI parity [4].
>
> AFAICT, the package is developed independently of vkbasalt and
> specifically for Bottles.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=2187061
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=2188653
> [3] https://gitlab.com/TheEvilSkeleton/vkbasalt-cli/-/issues/10
> [4]
>
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_pypi_parity
>
> -- Sandro
> ___
> python-devel mailing list -- python-devel@lists.fedoraproject.org
> To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Package naming for vkbasalt-cli

2023-04-27 Thread Sandro

On 27-04-2023 10:48, Petr Viktorin wrote:

That sounds good. You could also do it the other way around.


I think that depends on the main purpose of the package. Is it primarily 
an app or primarily a library. In this case it seems the utility is 
prevalent.


Albeit, I don't mind naming it python-vkbasalt-cli and providing a 
python3-vkbasalt-cli subpackage and a provides vkbasalt = ...


I did the same for python-fvs, which looks to be primarily a library 
with an added utility [1]



In this case, it looks like `vkbasalt-cli` is developed independently of
vkbasalt itself, is that right? If there's a chance that an “official”
vkbasalt CLI appears in the future, consider using only
`python-vkbasalt-cli`, to prevent future confusion.
But I guess if that ever happened, the fact that vkbasalt-cli provides
`/usr/bin/vkbasalt` would be a bigger issue.


Well, I submitted the package for review [2] and have been told that 
vkbasalt not being published on PyPI is an issue wrt naming parity.
So, I filed a bug requesting publication on PyPI [3], but I haven't 
heard back from upstream, yet. If upstream remains unresponsive, I would 
need to either publish it myself or get the name reserved as described 
in PyPI parity [4].


AFAICT, the package is developed independently of vkbasalt and 
specifically for Bottles.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=2187061
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2188653
[3] https://gitlab.com/TheEvilSkeleton/vkbasalt-cli/-/issues/10
[4] 
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_pypi_parity


-- Sandro
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Package naming for vkbasalt-cli

2023-04-27 Thread Petr Viktorin

Hi!

On 21. 04. 23 12:46, Sandro wrote:

Hi,

I need to package vkbasalt-cli [1] as a dependency for Bottles. Bottles 
will use the Python library, but vkbasalt-cli also provides a command 
for independent/direct usage.


My plan is to name the Fedora package 'vkbasalt-cli' in line with 
upstream and add a virtual provide for 'python3-vkbasalt-cli'.


Could someone confirm that this is the right approach for vkbasalt-cli?

Thanks in advance,

That sounds good. You could also do it the other way around.

In this case, it looks like `vkbasalt-cli` is developed independently of 
vkbasalt itself, is that right? If there's a chance that an “official” 
vkbasalt CLI appears in the future, consider using only 
`python-vkbasalt-cli`, to prevent future confusion.
But I guess if that ever happened, the fact that vkbasalt-cli provides 
`/usr/bin/vkbasalt` would be a bigger issue.

___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Package naming for vkbasalt-cli

2023-04-21 Thread Sandro

On 21-04-2023 12:46, Sandro wrote:

I need to package vkbasalt-cli [1] as a dependency for Bottles. Bottles
will use the Python library, but vkbasalt-cli also provides a command
for independent/direct usage.


And here is the missing link:

[1] https://gitlab.com/TheEvilSkeleton/vkbasalt-cli
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue