<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Woups, sorry, it's more a scala dev
concerned, but there is no reason not to share it here, so here
come the translation:<br>
<br>
Hello everybody, <br>
<br>
As explained in <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.rudder-project.org/redmine/issues/8655">http://www.rudder-project.org/redmine/issues/8655</a>
and above, I believe we should switch Scala version of Rudder 3.1
to 2.11, because: <br>
<ul>
<li>the 3.1 Rudder branch will have to be supported for a long
time, say at least 12/18 months, perhaps more depending how
the need of some customers, <br>
</li>
<li>the current Liftweb version, 2.5, used in 3.1 is no more
supported, even for security patch - only 2.6 get them</li>
<ul>
<li>there is a bunch of other Scala lib that don't support
scala 2.10 anymore, so the problem may not be bounded to
Lift</li>
</ul>
<li>Scala 2.10 will come soon to EOL. Support was already
postponed one time, it won't happen anymore</li>
<ul>
<li>on the contrary, Scala 2.11 will be supported for a long
time. The next major Scala, coming in a couple of month,
will be Java 8 only, so the will keep both version in
parallel for some time. So the Scala ecosystem version
support should be stable for some time, exactly what we want
for 3.1</li>
</ul>
<li>we already did the migration to Scala 2.11 / lift 2.6 for
Rudder 3.2, so we know where we are going, <br>
</li>
<li>the port is trivial : appart for changing version related
dependencies, there is two line of codes to change. And only
one line of code is different than in 3.2 (a default parameter
value that we want to keep not modified in 3.1), cf pull
request</li>
<li>the win for dev in compilation time and context switching
are huge. <br>
</li>
</ul>
<p>I tested the migration on my dev env, and everything works as
expecting. So the pros clearly overweight the cons (essentially
unknonw unknow bound to migration) for me. <br>
</p>
What do you think ?<br>
<br>
<br>
On 08/07/2016 14:59, Francois Armand wrote:<br>
</div>
<blockquote
cite="mid:0063ce68-2a5c-1c36-e88d-768f29740ca2@normation.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Plop les gens, <br>
</p>
<p>L'idée me trotte depuis un moment dans la tete, je vous la
soumet: <br>
</p>
<p>Pour les raisons invoquées dans <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.rudder-project.org/redmine/issues/8655">http://www.rudder-project.org/redmine/issues/8655</a>
et que je remet à la suite, je pense que l'on devrait passer en
Scala 2.11 pour la branche 3.1.<br>
</p>
<ul>
<li>on va supporter la branche 3.1 encore un moment, au moins
12/18 mois je pense, plus suivant ce que fait BMW (et un peu
IT-CE),<br>
</li>
<li>la version utilisée de lift, la 2.5, en 3.1 n'est plus
supportée, même pour les patchs de sécu (hors il se trouve
qu'il y en a un en 2.6),</li>
<ul>
<li>et il y a d'autres lib qui ne sont plus mise à jour pour
scala 2.10<br>
</li>
</ul>
<li>la version 2.10 de scala ne sera bientôt plus suppporté. Ils
ont déjà étendu son support une fois, mais (a priori) ne le
feront plus,</li>
<ul>
<li>mais par contre, la version 2.11 sera supportée encore
longtemps, le 2.12 n'est pas encore sortie et sera java 8
only - donc ils vont continuer à garder la 2.11 pour éviter
de forcer des migrations. Donc l'ecosystème sera stable
pendant pas mal de temps, exactement ce qu'on veut pour la
3.1. <br>
</li>
</ul>
<li>on a déjà fait la migration une fois (en étant plus
ambitieux) pour Rudder 3.2, donc on sait où on va. </li>
<li>le port est trivial (à part les dépendances, 2 lignes de
code, et en tout une seule ligne n'est pas quelque chose que
l'on retrouve en 3.2, pour changer une valeur par défaut qui a
changé entre lift 2.5 et 2.6, pour conserver la même), cf:</li>
<ul>
<li><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/Normation/rudder-parent-pom/pull/25/files">https://github.com/Normation/rudder-parent-pom/pull/25/files</a></li>
<li><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/Normation/rudder/pull/1128/files">https://github.com/Normation/rudder/pull/1128/files</a><br>
</li>
</ul>
<li>les gains en temps de compilation & de switch de context
pour les dev sont monumentaux,</li>
</ul>
<p>J'ai testé, ca fonctionne tout comme attendu, et les gains
dépasse à mes yeux très largement le risque associé à toute
migration. <br>
</p>
Qu'en pensez-vous ?<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<style type="text/css"><!--
a.redlink:link { color: #1782E6; text-decoration: none; }
a.redlink:visited { color: #1782E6; text-decoration: none; }
.sig { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: small; }
.sigsmall { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: x-small; }
--></style>
<table border="0" cellpadding="0" cellspacing="2" width="380">
<tbody>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><b><img alt=""
src="cid:part5.DE6607F9.D439790D@normation.com"
align="left" height="50" hspace="10" width="50"> <span
class="sig">François ARMAND</span></b><br>
<span class="sig"><i>Co-founder & CTO</i></span><br>
<span class="sig"><a moz-do-not-send="true"
class="redlink" href="http://www.normation.com">Normation</a></span>
</td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><span class="sigsmall"><b>87 rue de
Turbigo, 75003 Paris, France</b></span></td>
</tr>
<tr>
<td><span class="sigsmall">Telephone:</span></td>
<td><span class="sigsmall">+33 (0)1 83 62 99 23</span></td>
</tr>
<tr>
<td><span class="sigsmall">Mobile:</span></td>
<td><span class="sigsmall">+33 (0)6 63 37 60 55</span></td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rudder-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rudder-dev@lists.rudder-project.org">rudder-dev@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-dev">http://www.rudder-project.org/mailman/listinfo/rudder-dev</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css"><!--
a.redlink:link { color: #1782E6; text-decoration: none; }
a.redlink:visited { color: #1782E6; text-decoration: none; }
.sig { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: small; }
.sigsmall { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: x-small; }
--></style>
<table border="0" cellpadding="0" cellspacing="2" width="380">
<tbody>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><b><img alt=""
src="cid:part7.F8641E9C.D3844E5F@normation.com"
align="left" height="50" hspace="10" width="50"> <span
class="sig">François ARMAND</span></b><br>
<span class="sig"><i>Co-founder & CTO</i></span><br>
<span class="sig"><a class="redlink"
href="http://www.normation.com">Normation</a></span> </td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
75003 Paris, France</b></span></td>
</tr>
<tr>
<td><span class="sigsmall">Telephone:</span></td>
<td><span class="sigsmall">+33 (0)1 83 62 99 23</span></td>
</tr>
<tr>
<td><span class="sigsmall">Mobile:</span></td>
<td><span class="sigsmall">+33 (0)6 63 37 60 55</span></td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>