[Beowulf] Thoughts on git?

John Hearns hearnsj at googlemail.com
Wed Dec 20 07:12:21 PST 2017


Nathan, Sir - you are a prize Git.
Abusive retorts aside, there is another very good use for Git.

As a fan of the Julia language, I report that Julia packages are held as
repositories on Github.
If you want to work with an unregistered package (which is usually a
development project)
you bring the package onto your system using a 'git clone'.

I'm not really sure how you would then cope with a secure site with no
Internet access.
Last time I had to install RPM updates on a Government secure site we
cloned the repository to a hard drive
and brought it onto site. It is easy enough to make a local clone of a Git
repo on a hard drive.
I guess I should ask on the Julia list how to use that as a repo for
packages.


















On 20 December 2017 at 15:43, Nathan Moore <ntmoore at gmail.com> wrote:

> Not sure how well known the Software Carpentry folks are to this list.
> Their tutorial on git is mature and clear.
>
> http://swcarpentry.github.io/git-novice/
>
> On Tue, Dec 19, 2017 at 9:42 PM, Chris Samuel <chris at csamuel.org> wrote:
>
>> On Wednesday, 20 December 2017 3:56:19 AM AEDT Adam DeConinck wrote:
>>
>> > I am also a fan of putting everything in source control. This is useful
>> for
>> > small scripts, but even more so (IMO) for configuration files. Being
>> able
>> > to track changes closely is a lifesaver when something about a system
>> stops
>> > working, and you have no idea what has changed. Source control has
>> saved me
>> > from the “this change is harmless!” problem many times.
>>
>> +1 for this - and also the related "etckeeper" which is packaged in
>> Debian/
>> Ubuntu and RHEL/CentOS.   It hooks in to apt/yum and basically automates
>> version control for your /etc directory.
>>
>> It defaults to using git (though others are possible, Ubuntu used to
>> default
>> to bzr for some bizare reason - sorry) and by default will do daily
>> commits of
>> /etc as well as before and after package manager changes (so you can see
>> what
>> files in /etc were changed by a particular package
>> install/upgrade/removal).
>>
>> You can also drive it yourself, if you modify something in /etc then you
>> can
>> just (as root, obviously) do:
>>
>> /etc # etckeeper commit "Changed foo to bar in all config files"
>>
>> Which then lets you revert it should you decide that perhaps some foo's
>> were
>> actually needed.  Of course you can still use the underlying VCS commands
>> too,
>> it's just providing a handy wrapper.
>>
>> All the best,
>> Chris
>> --
>>  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>>
>> _______________________________________________
>> Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
>> To change your subscription (digest mode or unsubscribe) visit
>> http://www.beowulf.org/mailman/listinfo/beowulf
>>
>
>
>
> --
> - - - - - - -   - - - - - - -   - - - - - - -
> Nathan Moore
> Mississippi River and 44th Parallel
> - - - - - - -   - - - - - - -   - - - - - - -
>
>
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20171220/b42cb6a6/attachment-0001.html>


More information about the Beowulf mailing list