Re: Addition in lintian to warn about debian/pyversions file

2018-05-14 Thread Thomas Goirand
On 05/14/2018 02:41 AM, Joseph Herlant wrote:
> Hi guys,
> 
> FYI I am requesting a new lintian tag to warn about the presence of
> the debian/pyversions file as it is supposed to be obsolete since
> dh_python2 [1].

As Ondrej wrote, there's only a few packages having this. How about we
just do a few NMUs as a team to fix that completely in the archive?

Ondrej, what's the list of packages?

Cheers,

Thomas Goirand (zigo)



Re: Addition in lintian to warn about debian/pyversions file

2018-05-14 Thread Ondrej Novy
Hi,

2018-05-14 12:14 GMT+02:00 Thomas Goirand :

> As Ondrej wrote, there's only a few packages having this. How about we
> just do a few NMUs as a team to fix that completely in the archive?
>

(imho) lintian tag is still good idea. In future we can change it to
"error" to prevent re-entering archive.

Ondrej, what's the list of packages?
>

I didn't write count and I don't have list :)

-- 
Best regards
 Ondřej Nový

Email: n...@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B


Re: Addition in lintian to warn about debian/pyversions file

2018-05-14 Thread Joseph Herlant
Hi,

On Mon, May 14, 2018 at 3:14 AM, Thomas Goirand  wrote:
> As Ondrej wrote, there's only a few packages having this. How about we
> just do a few NMUs as a team to fix that completely in the archive?

I was actually thinking about integrating that removal to Ondřej's
next mass-update (along with debian/pycompat) and if the packages are
not released in the next 2 months or so, I was planning to do some
team uploads on them (I saw some that have not been touched in a while
and that would benefit from a big cleanup).

On Mon, May 14, 2018 at 3:24 AM, Ondrej Novy  wrote:
> I didn't write count and I don't have list :)

The lintian tag would help getting the number easily! ;)

One of my thoughts about introducing it on info level is that we
should probably update https://wiki.debian.org/Python/Policy (I'll
start a separate thread on that) before having it on error level as
the page still shows examples with old/deprecated build systems.

Another reason to put that in lintian is that we still have all the
openstack python package to migrate to DPMT and those have a bunch of
pycompat and pyversions file that a lintian note about it would help
not forgetting that when we migrate those (I'll try to do some when I
got more spare time).


Thanks,
Joseph



Remove wiki version of the python policy?

2018-05-14 Thread Joseph Herlant
Hi guys,

I noticed that https://wiki.debian.org/Python/Policy is full of
obsolete ways to do.
Is it worth updating it or should I just remove everything there and
redirect to https://www.debian.org/doc/packaging-manuals/python-policy/
?

It's ranked 3rd in Google when looking for "Debian Python Policy", so
there might still be more people than it should ending up there.

Thanks for your help,
Joseph



Re: Remove wiki version of the python policy?

2018-05-14 Thread Scott Kitterman
On Monday, May 14, 2018 10:55:36 AM Joseph Herlant wrote:
> Hi guys,
> 
> I noticed that https://wiki.debian.org/Python/Policy is full of
> obsolete ways to do.
> Is it worth updating it or should I just remove everything there and
> redirect to https://www.debian.org/doc/packaging-manuals/python-policy/
> ?
> 
> It's ranked 3rd in Google when looking for "Debian Python Policy", so
> there might still be more people than it should ending up there.
> 
> Thanks for your help,
> Joseph

I think it can go.

Scott K



Re: Addition in lintian to warn about debian/pyversions file

2018-05-14 Thread Scott Kitterman
On Monday, May 14, 2018 10:51:45 AM Joseph Herlant wrote:
> Hi,
> 
> On Mon, May 14, 2018 at 3:14 AM, Thomas Goirand  wrote:
> > As Ondrej wrote, there's only a few packages having this. How about we
> > just do a few NMUs as a team to fix that completely in the archive?
> 
> I was actually thinking about integrating that removal to Ondřej's
> next mass-update (along with debian/pycompat) and if the packages are
> not released in the next 2 months or so, I was planning to do some
> team uploads on them (I saw some that have not been touched in a while
> and that would benefit from a big cleanup).
> 
> On Mon, May 14, 2018 at 3:24 AM, Ondrej Novy  wrote:
> > I didn't write count and I don't have list :)
> 
> The lintian tag would help getting the number easily! ;)
> 
> One of my thoughts about introducing it on info level is that we
> should probably update https://wiki.debian.org/Python/Policy (I'll
> start a separate thread on that) before having it on error level as
> the page still shows examples with old/deprecated build systems.
> 
> Another reason to put that in lintian is that we still have all the
> openstack python package to migrate to DPMT and those have a bunch of
> pycompat and pyversions file that a lintian note about it would help
> not forgetting that when we migrate those (I'll try to do some when I
> got more spare time).

I don't think deleting pycompat and pyversions is worth an upload.  They are 
obsolete and should be removed, but don't actually hurt anything.

Scott K



Re: Remove wiki version of the python policy?

2018-05-14 Thread Ben Finney
Scott Kitterman  writes:

> On Monday, May 14, 2018 10:55:36 AM Joseph Herlant wrote:
> > Hi guys,
> > 
> > I noticed that https://wiki.debian.org/Python/Policy is full of
> > obsolete ways to do.
> > Is it worth updating it or should I just remove everything there and
> > redirect to https://www.debian.org/doc/packaging-manuals/python-policy/
> > ?
>
> I think it can go.

I don't see how a “redirect” (which I understand to be automatic, not
controlled by the visitor) to a URL outside the wiki would be good.

Joseph, do you mean simply replacing the article content with a “now the
policy is in the packaging manuals” external link?

-- 
 \“The whole area of [treating source code as intellectual |
  `\property] is almost assuring a customer that you are not going |
_o__)   to do any innovation in the future.” —Gary Barnett |
Ben Finney



Re: Remove wiki version of the python policy?

2018-05-14 Thread Joseph Herlant
Hi,

On Mon, May 14, 2018, 10:01 PM Ben Finney  wrote:

> I don't see how a “redirect” (which I understand to be automatic, not
> controlled by the visitor) to a URL outside the wiki would be good.
>
> Joseph, do you mean simply replacing the article content with a “now the
> policy is in the packaging manuals” external link?
>

Yes, that's what I meant, sorry for the confusion.

Joseph


Re: Remove wiki version of the python policy?

2018-05-14 Thread Ben Finney
Joseph Herlant  writes:

> Hi,
>
> On Mon, May 14, 2018, 10:01 PM Ben Finney  wrote:
>
> > Joseph, do you mean simply replacing the article content with a “now
> > the policy is in the packaging manuals” external link?
>
> Yes, that's what I meant, sorry for the confusion.

Okay. Yes, that sounds fine to me.

Hopefully just pointing (not redirecting) to the canonical location will
be enough to gradually teach search engines the correct answer :-)

-- 
 \  “I would rather be exposed to the inconveniences attending too |
  `\  much liberty than those attending too small a degree of it.” |
_o__)—Thomas Jefferson, 1791-12-23 |
Ben Finney