All of lore.kernel.org
 help / color / mirror / Atom feed
* standardizing HOMEPAGE values in python3 recipes
@ 2020-06-16 10:36 Robert P. J. Day
  2020-06-16 19:43 ` [oe] " Adrian Bunk
  2020-06-19  0:05 ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Robert P. J. Day @ 2020-06-16 10:36 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list


  given the current flurry of python recipe cleanup, just want to
verify a couple things that could/should be standardized.

  first, HOMEPAGE values of the form:

  https://pypi.python.org/pypi/astroid

can be adjusted to reflect the result of the redirection, as in:

  https://pypi.org/project/astroid

also, as i read it, recipe HOMEPAGE values should *not* refer to the
pypi page, as that is already set automatically by pypi.bbclass.
rather, the HOMEPAGE should refer to the actual source home page,
which in the case of the astroid package would be:

  https://github.com/PyCQA/astroid

does this make sense?

rday

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] standardizing HOMEPAGE values in python3 recipes
  2020-06-16 10:36 standardizing HOMEPAGE values in python3 recipes Robert P. J. Day
@ 2020-06-16 19:43 ` Adrian Bunk
  2020-06-16 22:08   ` Robert P. J. Day
  2020-06-19  0:05 ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2020-06-16 19:43 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OpenEmbedded Development mailing list

On Tue, Jun 16, 2020 at 06:36:50AM -0400, Robert P. J. Day wrote:
> 
>   given the current flurry of python recipe cleanup, just want to
> verify a couple things that could/should be standardized.
> 
>   first, HOMEPAGE values of the form:
> 
>   https://pypi.python.org/pypi/astroid
> 
> can be adjusted to reflect the result of the redirection, as in:
> 
>   https://pypi.org/project/astroid
> 
> also, as i read it, recipe HOMEPAGE values should *not* refer to the
> pypi page, as that is already set automatically by pypi.bbclass.
> rather, the HOMEPAGE should refer to the actual source home page,
> which in the case of the astroid package would be:
> 
>   https://github.com/PyCQA/astroid
> 
> does this make sense?

When the source is on github this is supposed to be linked from PyPi.

My personal impression is that meta data like the HOMEPAGE field is 
usually poorly maintained, keeping an automatically set "good enough" 
value (the PyPi link) would IMHO be the best default option.

> rday

cu
Adrian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] standardizing HOMEPAGE values in python3 recipes
  2020-06-16 19:43 ` [oe] " Adrian Bunk
@ 2020-06-16 22:08   ` Robert P. J. Day
  2020-06-16 22:11     ` akuster
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2020-06-16 22:08 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: OpenEmbedded Development mailing list

On Tue, 16 Jun 2020, Adrian Bunk wrote:

> On Tue, Jun 16, 2020 at 06:36:50AM -0400, Robert P. J. Day wrote:
> >
> >   given the current flurry of python recipe cleanup, just want to
> > verify a couple things that could/should be standardized.
> >
> >   first, HOMEPAGE values of the form:
> >
> >   https://pypi.python.org/pypi/astroid
> >
> > can be adjusted to reflect the result of the redirection, as in:
> >
> >   https://pypi.org/project/astroid
> >
> > also, as i read it, recipe HOMEPAGE values should *not* refer to the
> > pypi page, as that is already set automatically by pypi.bbclass.
> > rather, the HOMEPAGE should refer to the actual source home page,
> > which in the case of the astroid package would be:
> >
> >   https://github.com/PyCQA/astroid
> >
> > does this make sense?
>
> When the source is on github this is supposed to be linked from
> PyPi.
>
> My personal impression is that meta data like the HOMEPAGE field is
> usually poorly maintained, keeping an automatically set "good
> enough" value (the PyPi link) would IMHO be the best default option.

  i'm inclined to agree, but i will at least lay down some standards
for a few people as to how to craft recipes from now on.

rday

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] standardizing HOMEPAGE values in python3 recipes
  2020-06-16 22:08   ` Robert P. J. Day
@ 2020-06-16 22:11     ` akuster
  0 siblings, 0 replies; 5+ messages in thread
From: akuster @ 2020-06-16 22:11 UTC (permalink / raw)
  To: Robert P. J. Day, Adrian Bunk; +Cc: OpenEmbedded Development mailing list

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]



On 6/16/20 3:08 PM, Robert P. J. Day wrote:
> On Tue, 16 Jun 2020, Adrian Bunk wrote:
>
>> On Tue, Jun 16, 2020 at 06:36:50AM -0400, Robert P. J. Day wrote:
>>>   given the current flurry of python recipe cleanup, just want to
>>> verify a couple things that could/should be standardized.
>>>
>>>   first, HOMEPAGE values of the form:
>>>
>>>   https://pypi.python.org/pypi/astroid
>>>
>>> can be adjusted to reflect the result of the redirection, as in:
>>>
>>>   https://pypi.org/project/astroid
>>>
>>> also, as i read it, recipe HOMEPAGE values should *not* refer to the
>>> pypi page, as that is already set automatically by pypi.bbclass.
>>> rather, the HOMEPAGE should refer to the actual source home page,
>>> which in the case of the astroid package would be:
>>>
>>>   https://github.com/PyCQA/astroid
>>>
>>> does this make sense?
>> When the source is on github this is supposed to be linked from
>> PyPi.
>>
>> My personal impression is that meta data like the HOMEPAGE field is
>> usually poorly maintained, keeping an automatically set "good
>> enough" value (the PyPi link) would IMHO be the best default option.
>   i'm inclined to agree, but i will at least lay down some standards
> for a few people as to how to craft recipes from now on.

Beyond: http://www.openembedded.org/wiki/Styleguide ?
>
> rday
>
> 


[-- Attachment #2: Type: text/html, Size: 2617 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] standardizing HOMEPAGE values in python3 recipes
  2020-06-16 10:36 standardizing HOMEPAGE values in python3 recipes Robert P. J. Day
  2020-06-16 19:43 ` [oe] " Adrian Bunk
@ 2020-06-19  0:05 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2020-06-19  0:05 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OpenEmbedded Development mailing list

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]

On Tue, Jun 16, 2020 at 3:36 AM Robert P. J. Day <rpjday@crashcourse.ca>
wrote:

>
>   given the current flurry of python recipe cleanup, just want to
> verify a couple things that could/should be standardized.
>
>   first, HOMEPAGE values of the form:
>
>   https://pypi.python.org/pypi/astroid
>
> can be adjusted to reflect the result of the redirection, as in:
>
>   https://pypi.org/project/astroid


Both Links above point to pypi.org while not
Ideal using pypi.python.org is still functional

<https://pypi.org/project/astroid>
>
> also, as i read it, recipe HOMEPAGE values should *not* refer to the
> pypi page, as that is already set automatically by pypi.bbclass.
> rather, the HOMEPAGE should refer to the actual source home page,
> which in the case of the astroid package would be:
>
>   https://github.com/PyCQA/astroid
>
> does this make sense?


Yeah if there is anything beyond pypi link to be used
Then it should be set but I think pypi is commonly used for majority of
recipes


>
> rday
> 
>

[-- Attachment #2: Type: text/html, Size: 2134 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-19  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 10:36 standardizing HOMEPAGE values in python3 recipes Robert P. J. Day
2020-06-16 19:43 ` [oe] " Adrian Bunk
2020-06-16 22:08   ` Robert P. J. Day
2020-06-16 22:11     ` akuster
2020-06-19  0:05 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.