<div dir="ltr"><div>Nathan, Sir - you are a prize Git.</div><div>Abusive retorts aside, there is another very good use for Git.</div><div><br></div><div>As a fan of the Julia language, I report that Julia packages are held as repositories on Github.</div><div>If you want to work with an unregistered package (which is usually a development project) </div><div>you bring the package onto your system using a 'git clone'.</div><div><br></div><div>I'm not really sure how you would then cope with a secure site with no Internet access.</div><div>Last time I had to install RPM updates on a Government secure site we cloned the repository to a hard drive</div><div>and brought it onto site. It is easy enough to make a local clone of a Git repo on a hard drive.</div><div>I guess I should ask on the Julia list how to use that as a repo for packages.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 December 2017 at 15:43, Nathan Moore <span dir="ltr"><<a href="mailto:ntmoore@gmail.com" target="_blank">ntmoore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Not sure how well known the Software Carpentry folks are to this list.  Their tutorial on git is mature and clear.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="http://swcarpentry.github.io/git-novice/" target="_blank">http://swcarpentry.github.io/<wbr>git-novice/</a>  </div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 9:42 PM, Chris Samuel <span dir="ltr"><<a href="mailto:chris@csamuel.org" target="_blank">chris@csamuel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><span>On Wednesday, 20 December 2017 3:56:19 AM AEDT Adam DeConinck wrote:<br>
<br>
> I am also a fan of putting everything in source control. This is useful for<br>
> small scripts, but even more so (IMO) for configuration files. Being able<br>
> to track changes closely is a lifesaver when something about a system stops<br>
> working, and you have no idea what has changed. Source control has saved me<br>
> from the “this change is harmless!” problem many times.<br>
<br>
</span>+1 for this - and also the related "etckeeper" which is packaged in Debian/<br>
Ubuntu and RHEL/CentOS.   It hooks in to apt/yum and basically automates<br>
version control for your /etc directory.<br>
<br>
It defaults to using git (though others are possible, Ubuntu used to default<br>
to bzr for some bizare reason - sorry) and by default will do daily commits of<br>
/etc as well as before and after package manager changes (so you can see what<br>
files in /etc were changed by a particular package install/upgrade/removal).<br>
<br>
You can also drive it yourself, if you modify something in /etc then you can<br>
just (as root, obviously) do:<br>
<br>
/etc # etckeeper commit "Changed foo to bar in all config files"<br>
<br>
Which then lets you revert it should you decide that perhaps some foo's were<br>
actually needed.  Of course you can still use the underlying VCS commands too,<br>
it's just providing a handy wrapper.<br>
<br>
All the best,<br>
Chris<br>
<span class="m_-4474729726193838572HOEnZb"><font color="#888888">--<br>
 Chris Samuel  :  <a href="http://www.csamuel.org/" target="_blank" rel="noreferrer">http://www.csamuel.org/</a>  :  Melbourne, VIC<br>
</font></span><div class="m_-4474729726193838572HOEnZb"><div class="m_-4474729726193838572h5"><br>
______________________________<wbr>_________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org" target="_blank">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank" rel="noreferrer">http://www.beowulf.org/mailman<wbr>/listinfo/beowulf</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-4474729726193838572gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>- - - - - - -   - - - - - - -   - - - - - - - <br>Nathan Moore<br><div><span style="font-size:12.8px">Mississippi River and 44th Parallel</span><br></div><div>- - - - - - -   - - - - - - -   - - - - - - -</div><div><br></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank" rel="noreferrer">http://www.beowulf.org/<wbr>mailman/listinfo/beowulf</a><br>
<br></blockquote></div><br></div>