<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/02/13 13:40, Michael Gliwinski
wrote:<br>
</div>
<blockquote cite="mid:1803836.603ZVCWiR7@hgis96" type="cite">
<pre wrap="">On Sunday 03 Feb 2013 16:50:59 François Armand wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Michael Gliwinski <a class="moz-txt-link-rfc2396E" href="mailto:Michael.Gliwinski@henderson-group.com"><Michael.Gliwinski@henderson-group.com></a> a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">On Sunday 03 Feb 2013 13:56:14 Jonathan Clarke wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What do you think about this versioning policy, everyone?
</pre>
</blockquote>
<pre wrap="">
This makes perfect sense. The only drawback I can see is that finding
history
of changes to a file (from vcs) will become more difficult because
pretty much
before starting development you'll be creating a copy.
Unless the versioning could be somehow separated from the source?
</pre>
</blockquote>
<pre wrap="">
Yeah, I'm thinking about a way to separate technique development from
versioning in Rudder, so that Dev could use any VCS they want with any
commit convention they choose, and have an other production-compliant
versioning schema alike what Jon proposed. But well, I need some more
thinking !)
</pre>
</blockquote>
<pre wrap="">
I know, it's hard. I thought about it some more and the only thing I could
come up with that would preserve being able to version each technique
individually was to split the repository so each technique has it's own, but
that's probably a maintenance nightmare :|
</pre>
</blockquote>
<br>
That is actually something we have been considering. This could make
sense if third parties decide to create and maintain Techniques, and
want to keep the "code" in their own source repository (imagine some
tool, like ElasticSearch or Redmine or something, decides to create
a Technique for Rudder to make it easier for people to install their
tool, but want to maintain control over the Technique to be able to
upgrade it for their customers/users/etc).<br>
<br>
I think last time we discussed it, we too decided it's the only way
to have versioning per-Technique. But to make it really easy for
users that don't care about changing Techniques, we should present a
unique git repository that assembles all the individual ones (sort
of a "aggregated proxy view").<br>
<br>
This is where things get complicated, because the "git way" to do
this is via git-submodules, but they're a bit iffy... So we were
considering setting up some scripts to automate this, so that
everytime an individual Technique repo gets updated, we git clone
it, and commit it into the "unique" repo. Each directory would be a
git clone from the individual repos, and thus conserve versioning
info (git supports one repo inside another).<br>
<br>
So, this is a possibility. It would involve quite a bit of work in
the Rudder web interface to be able to get Technique versions from
git instead of the filesystem, but it's not impossible. What do you
think about this approach?<br>
<br>
Jonathan<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">
<!--
a.redlink:link { color: #962322; }
a.redlink:visited { color: #962322; }
.sig { font-family: sans-serif; font-size: small; }
.sigsmall { font-family: 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:part1.01030304.09010600@normation.com"
align="left" height="50" hspace="10" width="50">
<span class="sig">Jonathan CLARKE</span></b><br>
<span class="sig"><i>CTO - Directeur technique</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 41 24</span></td>
</tr>
<tr>
<td><span class="sigsmall">Mobile:</span></td>
<td><span class="sigsmall">+33 (0)6 99 60 03 10</span></td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>