From dave.flamangoes@gmail.com  Tue Jun  9 01:20:58 2020
Received: (at 1476) by bugs.x2go.org; 8 Jun 2020 23:21:02 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham
	autolearn_force=no version=3.4.2
Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id BF19A5DAE7
	for <1476@bugs.x2go.org>; Tue,  9 Jun 2020 01:20:57 +0200 (CEST)
Received: by mail-il1-f175.google.com with SMTP id i1so17341628ils.11
        for <1476@bugs.x2go.org>; Mon, 08 Jun 2020 16:20:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=YvoZtpggoPmhDVDuj1tkjpy3ZTJLsHUtkpwlDJZb8mQ=;
        b=SWVlydCtF4XLZlZmbI9HAi9MZKh6qBPC+BuRJNGhrT91n+hOpSkd1ysTNNJrAI5F6M
         tKi4AFe2TWLJA2QUTow5HLAXScDcynrF4SmUlBb0D+W/dqKAPggn9SnWT8KFdNSElF9I
         AzipZdlbMgi3URrBYe8OT6eSnhxktHLgl3EsJJaNz1oaP5k3zhrV+6N4AKfSvgYX4aLH
         tiRKoxNsjVFO1FBCrZsUrTsa3mK7uopTmKUmNguuKlmMvnT97klzcCM4/YD9H7X+PcBR
         9GtVb/n4+LF/NzlEUOwbmfCBX41A8vvCjrw1p5XKeMRQhXH7UePqffKgLGHxDA1xY0c1
         ffPw==
X-Gm-Message-State: AOAM5321z4hn5MpmkWlXbap2YTuQhOzI4q7WRudlKp500GJMujLiOwvL
	pWn90phih8xTPls6TKkTH0h1fwvB59TsX+yjsGo=
X-Google-Smtp-Source: ABdhPJwRvPB8apaJwv7kdd5Ln9XVHqMNm3F3OPFHhiWe4Y14BLxi9RAeZ3LTBwa039Q0bovUSVRxpwpAgnR67uIWhjU=
X-Received: by 2002:a92:bad1:: with SMTP id t78mr24950165ill.146.1591658456290;
 Mon, 08 Jun 2020 16:20:56 -0700 (PDT)
MIME-Version: 1.0
References: <CAL4gekBJSL8f_uv8pHNNrsHiWvy_31YCvi+tzG4XzJ76n6Gc6A@mail.gmail.com>
 <20200608075446.Horde.GCbByAWEYdCZIPr7R8dhv9L@mail.das-netzwerkteam.de>
In-Reply-To: <20200608075446.Horde.GCbByAWEYdCZIPr7R8dhv9L@mail.das-netzwerkteam.de>
From: Dave Chamberlin-Kidd <dave@flamangoes.co.uk>
Date: Tue, 9 Jun 2020 00:20:44 +0100
Message-ID: <CAL4gekBEPEEODTNvOQxfMy0+C7K3BarTxYRUCOoLLhAyqcjULA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1476: x2goclient interface code needs refactoring
 to make it more accessible and make improvements easier to implement and test
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 1476@bugs.x2go.org
Content-Type: multipart/alternative; boundary="000000000000e419f805a79adcb5"

--000000000000e419f805a79adcb5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Cheers Mike. No problem.

On Mon, 8 Jun 2020, 08:54 Mike Gabriel, <mike.gabriel@das-netzwerkteam.de>
wrote:

> Hi Dave,
>
> On  So 07 Jun 2020 17:49:21 CEST, Dave Chamberlin-Kidd wrote:
>
> > Package: x2goclient
> > Version: 4.1.2.3
> > Severity: wishlist
> > Tag: patch
> >
> > There are a number of minor issues, oddities and limitations with the
> > current x2goclient gui which would be good to fix, resolve and improve
> on.
> > Like all projects however the core team have more important issues to
> > resolve. The code in its current state is difficult to understand and
> amend
> > and as it has no tests it is risky for developers to make functional
> > changes unless they spend a lot of time getting to know the code and
> doing
> > extensive manual testing.
> >
> > Attached are 10 small refactorings which start extracting out some of t=
he
> > code into smaller functions. As the code is separated out it becomes
> easier
> > to understand and change.
> >
> > There are no functional changes in these patches, nor do they attempt o=
r
> > claim to fix any known issues. On their own the benefit of these patche=
s
> is
> > limited however the hope is that over time I will be able to submit mor=
e
> > refactorings as I learn more and then start fixing issues and improving
> the
> > UI. Extracting out functions is just one of many techniques that can my
> experience it's a good one to start
> > with. It should also be noted that sometimes code is extracted "as is"
> even
> > when it is clear further refactoring can be done to improve things, thi=
s
> is
> > by design in order to keep risk and size of patches to a minimum.
> >
> > Cheers
> > Dave
>
> Thanks for your patches. As the GitLab server for X2Go is in reach,
> I'd like to postpone patch review until its there. I'd be happy if you
> could file a merge request then and we dive into your proposals.
>
> Thanks+Greets,
> Mike
> --
>
> DAS-NETZWERKTEAM
> c\o Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde
> Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde
> mobile: +49 (1520) 1976 148
> landline: +49 (4351) 850 8940
>
> GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
> mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
>
>

--000000000000e419f805a79adcb5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Cheers Mike. No problem.<br><br><div class=3D"gmail_=
quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 8 Jun 2020, 08:54 Mike=
 Gabriel, &lt;<a href=3D"mailto:mike.gabriel@das-netzwerkteam.de">mike.gabr=
iel@das-netzwerkteam.de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">Hi Dave,<br>
<br>
On=C2=A0 So 07 Jun 2020 17:49:21 CEST, Dave Chamberlin-Kidd wrote:<br>
<br>
&gt; Package: x2goclient<br>
&gt; Version: 4.1.2.3<br>
&gt; Severity: wishlist<br>
&gt; Tag: patch<br>
&gt;<br>
&gt; There are a number of minor issues, oddities and limitations with the<=
br>
&gt; current x2goclient gui which would be good to fix, resolve and improve=
 on.<br>
&gt; Like all projects however the core team have more important issues to<=
br>
&gt; resolve. The code in its current state is difficult to understand and =
amend<br>
&gt; and as it has no tests it is risky for developers to make functional<b=
r>
&gt; changes unless they spend a lot of time getting to know the code and d=
oing<br>
&gt; extensive manual testing.<br>
&gt;<br>
&gt; Attached are 10 small refactorings which start extracting out some of =
the<br>
&gt; code into smaller functions. As the code is separated out it becomes e=
asier<br>
&gt; to understand and change.<br>
&gt;<br>
&gt; There are no functional changes in these patches, nor do they attempt =
or<br>
&gt; claim to fix any known issues. On their own the benefit of these patch=
es is<br>
&gt; limited however the hope is that over time I will be able to submit mo=
re<br>
&gt; refactorings as I learn more and then start fixing issues and improvin=
g the<br>
&gt; UI. Extracting out functions is just one of many techniques that can=
=C2=A0my experience it&#39;s a good one to start<br>
&gt; with. It should also be noted that sometimes code is extracted &quot;a=
s is&quot; even<br>
&gt; when it is clear further refactoring can be done to improve things, th=
is is<br>
&gt; by design in order to keep risk and size of patches to a minimum.<br>
&gt;<br>
&gt; Cheers<br>
&gt; Dave<br>
<br>
Thanks for your patches. As the GitLab server for X2Go is in reach,=C2=A0 <=
br>
I&#39;d like to postpone patch review until its there. I&#39;d be happy if =
you=C2=A0 <br>
could file a merge request then and we dive into your proposals.<br>
<br>
Thanks+Greets,<br>
Mike<br>
-- <br>
<br>
DAS-NETZWERKTEAM<br>
c\o Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde<br>
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde<br>
mobile: +49 (1520) 1976 148<br>
landline: +49 (4351) 850 8940<br>
<br>
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22=C2=A0 0782 9AF4 6B30 2577 1B31<=
br>
mail: <a href=3D"mailto:mike.gabriel@das-netzwerkteam.de" target=3D"_blank"=
 rel=3D"noreferrer">mike.gabriel@das-netzwerkteam.de</a>, <a href=3D"http:/=
/das-netzwerkteam.de" rel=3D"noreferrer noreferrer" target=3D"_blank">http:=
//das-netzwerkteam.de</a><br>
<br>
</blockquote></div></div></div>

--000000000000e419f805a79adcb5--

