Re: kio-extras and the KF5/KF6 period

2023-06-20 Thread Sune Vuorela
On 2023-06-20, David Redondo  wrote:
> Harald and I prototyped another solution to build a Qt
>  5 and Qt 6 version out of the same repo and employed it on
> plasma-integration: https://invent.kde.org/plasma/plasma-integration/-/
> merge_requests/91

Did I miss something or is this just branching but without having git to
help us move stuff between versions?

/Sune



Re: kio-extras and the KF5/KF6 period

2023-06-20 Thread Harald Sitter
On Tue, Jun 20, 2023 at 3:46 PM Luigi Toscano  wrote:
>
> Harald Sitter ha scritto:
> > On Tue, Jun 20, 2023 at 2:58 PM Luigi Toscano  
> > wrote:
> >>
> >> David Redondo ha scritto:
> >>> Am Mittwoch, 17. Mai 2023, 00:02:18 CEST schrieb Albert Astals Cid:
>  kio-extras provides plugins for kio.
> 
>  So KF5 applications want a KF5 kio-extras and KF6 applications want a KF6
>  kio- extras.
> 
>  If we're going to support a period on which we ship both Kf5 and KF6 
>  based
>  applications we need to:
> 
>  Make sure kf5 and kf6 are coinstallable.
> 
>  a) release two tarballs, one for each KF
>  b) release one tarball that compiles both for kf5 and kf6
>  c) just release the kf6 tarball, stop releasing the kf5 tarball but ask
>  distributions to still install it
> 
> 
> >>>
> >>> Harald and I prototyped another solution to build a Qt
> >>>  5 and Qt 6 version out of the same repo and employed it on
> >>> plasma-integration: https://invent.kde.org/plasma/plasma-integration/-/
> >>> merge_requests/91
> >>> This has the advantage of having the code for both versions in
> >>> the same place and the Qt5 version being not stuck on some old
> >>>  version. Also the translations can be shared automatically since
> >>> they use the same catalog.
> >>> There is one case  where Qt uses unversioned targets and one
> >>> unversioned ecm variable but cadavidn be easily worked around.
> >>
> >>
> >> This is good for example for phonon, and in the future and in retrospective
> >> for stuff like qtcurve, but not much for kio-extras, where the codebases
> >> started to diverge.
> >
> > I don't quite follow, as you can see it uses two different source
> > directories cause the goal was to split qt5 and 6 implementations due
> > to impl divergence. So in point of fact divergence is intended and
> > possible. We basically have two source directories in the same branch
> > and build. We believe a similar technique can be used with repos with
> > little divergence just as well as for ones with huge divergence.
>
> The situation of kio-extras is a bit different, as the translations are not
> fully shared between the two branches and I'd prefer to keep them separate.

Hm. They need to have a different catalog name anyway so they don't
overlap between kio-extras6 and 5 builds. We could still do that in
one branch, couldn't we? e.g.

- /qt6/smb/ (produces kio6_smb.pot)
- /qt5/smb/ (produces kio5_smb.pot)

HS


Re: Reminder: KF6 Meeting

2023-06-20 Thread Volker Krause
Rescheduled to next week due to too many of the usual suspects being on the 
road or otherwise busy, sorry.

On Monday, 19 June 2023 18:26:59 CEST Volker Krause wrote:
> Hello everyone,
> 
> please remember the KF6 meeting tomorrow, Tuesday 17:00 CEST:
> https://meet.kde.org/b/ada-mi8-aem
> 
> Topics and notes are collected here:
> https://invent.kde.org/teams/frameworks-devs/kf6-workboard/-/issues/45
> 
> Thank you,
> Volker



signature.asc
Description: This is a digitally signed message part.


Re: kio-extras and the KF5/KF6 period

2023-06-20 Thread Luigi Toscano
Harald Sitter ha scritto:
> On Tue, Jun 20, 2023 at 2:58 PM Luigi Toscano  
> wrote:
>>
>> David Redondo ha scritto:
>>> Am Mittwoch, 17. Mai 2023, 00:02:18 CEST schrieb Albert Astals Cid:
 kio-extras provides plugins for kio.

 So KF5 applications want a KF5 kio-extras and KF6 applications want a KF6
 kio- extras.

 If we're going to support a period on which we ship both Kf5 and KF6 based
 applications we need to:

 Make sure kf5 and kf6 are coinstallable.

 a) release two tarballs, one for each KF
 b) release one tarball that compiles both for kf5 and kf6
 c) just release the kf6 tarball, stop releasing the kf5 tarball but ask
 distributions to still install it


>>>
>>> Harald and I prototyped another solution to build a Qt
>>>  5 and Qt 6 version out of the same repo and employed it on
>>> plasma-integration: https://invent.kde.org/plasma/plasma-integration/-/
>>> merge_requests/91
>>> This has the advantage of having the code for both versions in
>>> the same place and the Qt5 version being not stuck on some old
>>>  version. Also the translations can be shared automatically since
>>> they use the same catalog.
>>> There is one case  where Qt uses unversioned targets and one
>>> unversioned ecm variable but cadavidn be easily worked around.
>>
>>
>> This is good for example for phonon, and in the future and in retrospective
>> for stuff like qtcurve, but not much for kio-extras, where the codebases
>> started to diverge.
> 
> I don't quite follow, as you can see it uses two different source
> directories cause the goal was to split qt5 and 6 implementations due
> to impl divergence. So in point of fact divergence is intended and
> possible. We basically have two source directories in the same branch
> and build. We believe a similar technique can be used with repos with
> little divergence just as well as for ones with huge divergence.

The situation of kio-extras is a bit different, as the translations are not
fully shared between the two branches and I'd prefer to keep them separate.

Full blessing for other repositories where the difference is minimal.

--
Luigi


Re: kio-extras and the KF5/KF6 period

2023-06-20 Thread Harald Sitter
On Tue, Jun 20, 2023 at 2:58 PM Luigi Toscano  wrote:
>
> David Redondo ha scritto:
> > Am Mittwoch, 17. Mai 2023, 00:02:18 CEST schrieb Albert Astals Cid:
> >> kio-extras provides plugins for kio.
> >>
> >> So KF5 applications want a KF5 kio-extras and KF6 applications want a KF6
> >> kio- extras.
> >>
> >> If we're going to support a period on which we ship both Kf5 and KF6 based
> >> applications we need to:
> >>
> >> Make sure kf5 and kf6 are coinstallable.
> >>
> >> a) release two tarballs, one for each KF
> >> b) release one tarball that compiles both for kf5 and kf6
> >> c) just release the kf6 tarball, stop releasing the kf5 tarball but ask
> >> distributions to still install it
> >>
> >>
> >
> > Harald and I prototyped another solution to build a Qt
> >  5 and Qt 6 version out of the same repo and employed it on
> > plasma-integration: https://invent.kde.org/plasma/plasma-integration/-/
> > merge_requests/91
> > This has the advantage of having the code for both versions in
> > the same place and the Qt5 version being not stuck on some old
> >  version. Also the translations can be shared automatically since
> > they use the same catalog.
> > There is one case  where Qt uses unversioned targets and one
> > unversioned ecm variable but cadavidn be easily worked around.
>
>
> This is good for example for phonon, and in the future and in retrospective
> for stuff like qtcurve, but not much for kio-extras, where the codebases
> started to diverge.

I don't quite follow, as you can see it uses two different source
directories cause the goal was to split qt5 and 6 implementations due
to impl divergence. So in point of fact divergence is intended and
possible. We basically have two source directories in the same branch
and build. We believe a similar technique can be used with repos with
little divergence just as well as for ones with huge divergence.

HS


Re: kio-extras and the KF5/KF6 period

2023-06-20 Thread Luigi Toscano
David Redondo ha scritto:
> Am Mittwoch, 17. Mai 2023, 00:02:18 CEST schrieb Albert Astals Cid:
>> kio-extras provides plugins for kio.
>>
>> So KF5 applications want a KF5 kio-extras and KF6 applications want a KF6
>> kio- extras.
>>
>> If we're going to support a period on which we ship both Kf5 and KF6 based
>> applications we need to:
>>
>> Make sure kf5 and kf6 are coinstallable.
>>
>> a) release two tarballs, one for each KF
>> b) release one tarball that compiles both for kf5 and kf6
>> c) just release the kf6 tarball, stop releasing the kf5 tarball but ask
>> distributions to still install it
>>
>>
> 
> Harald and I prototyped another solution to build a Qt
>  5 and Qt 6 version out of the same repo and employed it on
> plasma-integration: https://invent.kde.org/plasma/plasma-integration/-/
> merge_requests/91
> This has the advantage of having the code for both versions in 
> the same place and the Qt5 version being not stuck on some old
>  version. Also the translations can be shared automatically since 
> they use the same catalog.
> There is one case  where Qt uses unversioned targets and one
> unversioned ecm variable but cadavidn be easily worked around.


This is good for example for phonon, and in the future and in retrospective
for stuff like qtcurve, but not much for kio-extras, where the codebases
started to diverge.


-- 
Luigi


Re: kio-extras and the KF5/KF6 period

2023-06-20 Thread David Redondo
Am Mittwoch, 17. Mai 2023, 00:02:18 CEST schrieb Albert Astals Cid:
> kio-extras provides plugins for kio.
> 
> So KF5 applications want a KF5 kio-extras and KF6 applications want a KF6
> kio- extras.
> 
> If we're going to support a period on which we ship both Kf5 and KF6 based
> applications we need to:
> 
> Make sure kf5 and kf6 are coinstallable.
> 
> a) release two tarballs, one for each KF
> b) release one tarball that compiles both for kf5 and kf6
> c) just release the kf6 tarball, stop releasing the kf5 tarball but ask
> distributions to still install it
> 
> 

Harald and I prototyped another solution to build a Qt
 5 and Qt 6 version out of the same repo and employed it on
plasma-integration: https://invent.kde.org/plasma/plasma-integration/-/
merge_requests/91
This has the advantage of having the code for both versions in 
the same place and the Qt5 version being not stuck on some old
 version. Also the translations can be shared automatically since 
they use the same catalog.
There is one case  where Qt uses unversioned targets and one
unversioned ecm variable but cadavidn be easily worked around.

David