Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #72242 > unrolled thread

Bug#883194: please convert mountstats and nfsiostat scripts to Python3

Started byDrew Parsons <dparsons@debian.org>
First post2021-06-21 13:30 +0200
Last post2021-06-21 14:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#883194: please convert mountstats and nfsiostat scripts to Python3 Drew Parsons <dparsons@debian.org> - 2021-06-21 13:30 +0200
    Bug#883194: please convert mountstats and nfsiostat scripts to Python3 Diederik de Haas <didi.debian@cknow.org> - 2021-06-21 14:00 +0200

#72242 — Bug#883194: please convert mountstats and nfsiostat scripts to Python3

FromDrew Parsons <dparsons@debian.org>
Date2021-06-21 13:30 +0200
SubjectBug#883194: please convert mountstats and nfsiostat scripts to Python3
Message-ID<CsqhQ-40o-1@gated-at.bofh.it>
Package: nfs-common
Followup-For: Bug #883194
X-Debbugs-Cc: debian-release@lists.debian.org

I was surprised to see python2 pulled in on a new bullseye
installation using nfs.

It's a trivial patch of course to update the hashbangs for mountstats
and nfsiostat in nfs-common 1:1.3.4-5 to python3.

As far as I can see the scripts are python3 compatible.  Upstream
history at
  http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=history;f=tools/mountstats/mountstats.py;hb=d1683f356bd920d93f2db007902b2c46f97a2e49
  http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=history;f=tools/nfs-iostat/nfs-iostat.py;hb=d1683f356bd920d93f2db007902b2c46f97a2e49
indicates the scripts were patched in July 2014 to work with python3

Should Bug#883194 be considered RC and the patch applied now?

[toc] | [next] | [standalone]


#72243

FromDiederik de Haas <didi.debian@cknow.org>
Date2021-06-21 14:00 +0200
Message-ID<CsqKR-4aq-3@gated-at.bofh.it>
In reply to#72242

[Multipart message — attachments visible in raw view] — view raw

On maandag 21 juni 2021 13:20:46 CEST Drew Parsons wrote:
> I was surprised to see python2 pulled in on a new bullseye
> installation using nfs.
> 
> It's a trivial patch of course to update the hashbangs for mountstats
> and nfsiostat in nfs-common 1:1.3.4-5 to python3.

https://salsa.debian.org/kernel-team/nfs-utils/-/merge_requests/4 has been 
submitted 9 months ago, which does exactly that.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web