From kde-core-devel Sun Dec 14 17:02:27 2014 From: "Albert Astals Cid" Date: Sun, 14 Dec 2014 17:02:27 +0000 To: kde-core-devel Subject: Re: Review Request 120761: Added support for NFSv3, major refactoring, fixed bugs Message-Id: <20141214170227.31947.20459 () probe ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=141857659305242 --===============8252925971753813203== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On nov. 16, 2014, 2:24 p.m., Christoph Feck wrote: > > Albert, this is a backport of https://git.reviewboard.kde.org/r/120343/ > > > > David Faure already approved a backport to KDE 4 there, but was not sure if release team is okey with the backport. > > Albert Astals Cid wrote: > I've the feeling i've already weighted in my opinion on this, but i'll give it again :) > kde-runtime 4.14 is not having more releases so imho doesn't make sense in commiting there. kde-runtime Applications/14.12 is in beta stage and master is open for new features, i'll leave to someone else to decide if this is a bugfix or a feature. Mathias can you please commit this to kde-runtime master branch? - Albert ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120761/#review70438 ----------------------------------------------------------- On nov. 16, 2014, 2:23 p.m., Mathias Tillman wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/120761/ > ----------------------------------------------------------- > > (Updated nov. 16, 2014, 2:23 p.m.) > > > Review request for KDE Runtime and Albert Astals Cid. > > > Repository: kde-runtime > > > Description > ------- > > This patch adds proper support for NFSv3 in the kio module, it still supports NFSv2 servers of course. I implemented it in such a way that it loops through the versions trying to find a compatible one. > I also found when working with it that the code was far from optimal, so I have done some major refactoring and optimisation work which also fixes a couple of bugs. That's why the patch is so big. > > This is a backport of https://git.reviewboard.kde.org/r/120343/. > > > Diffs > ----- > > kioslave/nfs/rpc_mnt2_xdr.c PRE-CREATION > kioslave/nfs/rpc_mnt3.h PRE-CREATION > kioslave/nfs/rpc_mnt3_xdr.c PRE-CREATION > kioslave/nfs/rpc_nfs2_prot.h PRE-CREATION > kioslave/nfs/rpc_nfs2_prot_xdr.c PRE-CREATION > kioslave/nfs/rpc_nfs3_prot.h PRE-CREATION > kioslave/nfs/rpc_nfs3_prot.x PRE-CREATION > kioslave/nfs/rpc_nfs3_prot_xdr.c PRE-CREATION > kioslave/nfs/nfsv2.h PRE-CREATION > kioslave/nfs/nfsv2.cpp PRE-CREATION > kioslave/nfs/nfsv3.h PRE-CREATION > kioslave/nfs/nfsv3.cpp PRE-CREATION > kioslave/nfs/nfs_prot.h 5ed218f20d2fda219adda6899a1321fc3d384d1e > kioslave/nfs/nfs_prot.x > kioslave/nfs/nfs_prot_xdr.c cd1354668d40616a0a0864bc6b3d68ccc5ef3e4f > kioslave/nfs/mount_xdr.c 433a8596884bdb4fe05795c74de21767ed88d6eb > kioslave/nfs/nfs.protocol 4781b3ca1424473c913e7ee265ee6fffa50cce39 > kioslave/nfs/mount.h c3b8c217f3574c8afd2410ad2b50ec98828e31bb > kioslave/nfs/mount.x > kioslave/nfs/kio_nfs.h ec52564f5fa2c5ce38f354bbe94b86a75fb7f6b0 > kioslave/nfs/kio_nfs.cpp 3f94b9129bf9f126aef1e4356dc533420151ae2a > kioslave/nfs/CMakeLists.txt b973a736393388af5d66b8b7d6b055f497f3bdf8 > kioslave/nfs/README 9d92d73104ede629e617aeb8e117802ebf4190c2 > kioslave/nfs/TODO 6e5525127454c936f829028c521999ba4f046c08 > > Diff: https://git.reviewboard.kde.org/r/120761/diff/ > > > Testing > ------- > > I've tried browsing NFS servers that are compatible with both version 2 and 3, as well as one server that was only compatible with version 3 (see bug #309113). > In addition to that I've tried most things I can think of like copying, changing permissions, creating files and directories etc. > > Due to its size it will most likely require more testing, but my tests have so far been successful. > > > Thanks, > > Mathias Tillman > > --===============8252925971753813203== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120761/

On novembre 16th, 2014, 2:24 p.m. UTC, Christoph Feck wrote:

Albert, this is a backport of https://git.reviewboard.kde.org/r/120343/

David Faure already approved a backport to KDE 4 there, but was not sure if release team is okey with the backport.

On novembre 16th, 2014, 4:45 p.m. UTC, Albert Astals Cid wrote:

I've the feeling i've already weighted in my opinion on this, but i'll give it again :) kde-runtime 4.14 is not having more releases so imho doesn't make sense in commiting there. kde-runtime Applications/14.12 is in beta stage and master is open for new features, i'll leave to someone else to decide if this is a bugfix or a feature.

Mathias can you please commit this to kde-runtime master branch?


- Albert


On novembre 16th, 2014, 2:23 p.m. UTC, Mathias Tillman wrote:

Review request for KDE Runtime and Albert Astals Cid.
By Mathias Tillman.

Updated nov. 16, 2014, 2:23 p.m.

Repository: kde-runtime

Description

This patch adds proper support for NFSv3 in the kio module, it still supports NFSv2 servers of course. I implemented it in such a way that it loops through the versions trying to find a compatible one. I also found when working with it that the code was far from optimal, so I have done some major refactoring and optimisation work which also fixes a couple of bugs. That's why the patch is so big.

This is a backport of https://git.reviewboard.kde.org/r/120343/.

Testing

I've tried browsing NFS servers that are compatible with both version 2 and 3, as well as one server that was only compatible with version 3 (see bug #309113). In addition to that I've tried most things I can think of like copying, changing permissions, creating files and directories etc.

Due to its size it will most likely require more testing, but my tests have so far been successful.

Diffs

  • kioslave/nfs/rpc_mnt2_xdr.c (PRE-CREATION)
  • kioslave/nfs/rpc_mnt3.h (PRE-CREATION)
  • kioslave/nfs/rpc_mnt3_xdr.c (PRE-CREATION)
  • kioslave/nfs/rpc_nfs2_prot.h (PRE-CREATION)
  • kioslave/nfs/rpc_nfs2_prot_xdr.c (PRE-CREATION)
  • kioslave/nfs/rpc_nfs3_prot.h (PRE-CREATION)
  • kioslave/nfs/rpc_nfs3_prot.x (PRE-CREATION)
  • kioslave/nfs/rpc_nfs3_prot_xdr.c (PRE-CREATION)
  • kioslave/nfs/nfsv2.h (PRE-CREATION)
  • kioslave/nfs/nfsv2.cpp (PRE-CREATION)
  • kioslave/nfs/nfsv3.h (PRE-CREATION)
  • kioslave/nfs/nfsv3.cpp (PRE-CREATION)
  • kioslave/nfs/nfs_prot.h (5ed218f20d2fda219adda6899a1321fc3d384d1e)
  • kioslave/nfs/nfs_prot.x ()
  • kioslave/nfs/nfs_prot_xdr.c (cd1354668d40616a0a0864bc6b3d68ccc5ef3e4f)
  • kioslave/nfs/mount_xdr.c (433a8596884bdb4fe05795c74de21767ed88d6eb)
  • kioslave/nfs/nfs.protocol (4781b3ca1424473c913e7ee265ee6fffa50cce39)
  • kioslave/nfs/mount.h (c3b8c217f3574c8afd2410ad2b50ec98828e31bb)
  • kioslave/nfs/mount.x ()
  • kioslave/nfs/kio_nfs.h (ec52564f5fa2c5ce38f354bbe94b86a75fb7f6b0)
  • kioslave/nfs/kio_nfs.cpp (3f94b9129bf9f126aef1e4356dc533420151ae2a)
  • kioslave/nfs/CMakeLists.txt (b973a736393388af5d66b8b7d6b055f497f3bdf8)
  • kioslave/nfs/README (9d92d73104ede629e617aeb8e117802ebf4190c2)
  • kioslave/nfs/TODO (6e5525127454c936f829028c521999ba4f046c08)

View Diff

--===============8252925971753813203==--