From linux-bounces@lug.lk Wed Jan 06 11:30:51 2010
Return-path: <linux-bounces@lug.lk>
Envelope-to: lurker@linux.lk
Delivery-date: Wed, 06 Jan 2010 11:30:52 +0530
Received: from localhost.pdn.ac.lk ([127.0.0.1] helo=penguin.lug.lk)
	by penguin.lug.lk with esmtp (Exim 4.63)
	(envelope-from <linux-bounces@lug.lk>)
	id 1NSOwe-0002EG-NA; Wed, 06 Jan 2010 11:30:36 +0530
Received: from localhost.pdn.ac.lk ([127.0.0.1] helo=penguin.lug.lk)
	by penguin.lug.lk with esmtp (Exim 4.63)
	(envelope-from <linux-umbrella-bounces@lug.lk>)
	id 1NRrxp-0004gu-QB; Tue, 05 Jan 2010 00:17:37 +0530
Received: from [192.248.40.1] (helo=hantana.pdn.ac.lk)
	by penguin.lug.lk with esmtp (Exim 4.63)
	(envelope-from <gaveens@gmail.com>) id 1NRrxl-0004gm-Ty
	for linux@lug.lk; Tue, 05 Jan 2010 00:17:33 +0530
Received: from localhost (localhost.pdn.ac.lk [127.0.0.1])
	by hantana.pdn.ac.lk (Postfix) with ESMTP id CDE785C005
	for <linux@lug.lk>; Tue,  5 Jan 2010 00:19:12 +0530 (LKT)
X-Virus-Scanned: amavisd-new at pdn.ac.lk
Received: from hantana.pdn.ac.lk ([127.0.0.1])
	by localhost (hantana.pdn.ac.lk [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id IEayj76pfD74 for <linux@lug.lk>;
	Tue,  5 Jan 2010 00:19:11 +0530 (LKT)
Received: from kitul.learn.ac.lk (kitul.learn.ac.lk [192.248.1.163])
	by hantana.pdn.ac.lk (Postfix) with ESMTP id 406985C009
	for <linux@lug.lk>; Tue,  5 Jan 2010 00:19:11 +0530 (LKT)
Received: from localhost (localhost [127.0.0.1])
	by kitul.learn.ac.lk (Postfix) with ESMTP id 29D9B17B97C
	for <linux@lug.lk>; Tue,  5 Jan 2010 00:19:11 +0530 (IST)
X-Virus-Scanned: amavisd-new at learn.ac.lk
Received: from kitul.learn.ac.lk ([127.0.0.1])
	by localhost (kitul.learn.ac.lk [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id tVN+9uu4NyjJ for <linux@lug.lk>;
	Tue,  5 Jan 2010 00:19:00 +0530 (IST)
Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com
	[209.85.210.180])
	by kitul.learn.ac.lk (Postfix) with ESMTP id A898B17B8DC
	for <linux@lug.lk>; Tue,  5 Jan 2010 00:18:58 +0530 (IST)
Received: by yxe10 with SMTP id 10so11167425yxe.12
	for <linux@lug.lk>; Mon, 04 Jan 2010 10:48:55 -0800 (PST)
MIME-Version: 1.0
Received: by 10.101.4.28 with SMTP id g28mr21398676ani.192.1262630935072; Mon, 
	04 Jan 2010 10:48:55 -0800 (PST)
In-Reply-To: <be9ccc721001041027s69d5ce76r1ded5df32c059a2c@mail.gmail.com>
References: <be9ccc721001041027s69d5ce76r1ded5df32c059a2c@mail.gmail.com>
From: Gaveen Prabhasara <gaveens@gmail.com>
Date: Tue, 5 Jan 2010 00:18:35 +0530
Message-ID: <783a83f21001041048i3d04cbc7o88742a0839c35d63@mail.gmail.com>
To: Anuradha Ratnaweera <anuradha@taprobane.org>
X-BeenThere: linux-umbrella@lug.lk
X-Mailman-Version: 2.1.9
Precedence: list
X-Mailman-Approved-At: Wed, 06 Jan 2010 11:30:21 +0530
Cc: LKLUG GNU/Linux List <linux@lug.lk>
Subject: Re: [linux] Using GIT to manage /etc
X-BeenThere: linux@lug.lk
List-Id: <linux.lug.lk>
List-Unsubscribe: <https://secure.lug.lk/mailman/listinfo/linux>,
	<mailto:linux-request@lug.lk?subject=unsubscribe>
List-Archive: <http://secure.lug.lk/pipermail/linux>
List-Post: <mailto:linux@lug.lk>
List-Help: <mailto:linux-request@lug.lk?subject=help>
List-Subscribe: <https://secure.lug.lk/mailman/listinfo/linux>,
	<mailto:linux-request@lug.lk?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1613059758=="
Mime-version: 1.0
Sender: linux-bounces@lug.lk
Errors-To: linux-bounces@lug.lk

--===============1613059758==
Content-Type: multipart/alternative; boundary=001636c92b775e1153047c5b2c64

--001636c92b775e1153047c5b2c64
Content-Type: text/plain; charset=ISO-8859-1

Hi Anuradha,

First, thanks for the blog post.

I've been using Git to manage server configurations for a while. In the
beginning I was only adding specific things I cared most, but gradually
I started adding more and more stuff. So I was looking for a tool to
automate the process and to get over certain quirks of distro specifics.

Using Git for standard text based config files is usually straight forward
for a person already working with Git. But things require few additional
tweaks if you plan to use the whole /etc under version controlling. Some
examples are file permissions and git ignore facility. Then there's also
getting used to the concept of atomic commits and branching. To get
the most out of it, some proper use of branching and committing is
needed. You blog post will help people to get into that mindset.

I was hoping to create a simple git based frontend for these tasks when
I found Etckeeper. It's a convenient tool to use. Just grab it from:
http://kitenet.net/~joey/code/etckeeper/
And set it up. It can handle some distro specific stuff. One nice addition
is the automatic commit for package management operations. If you
are interested there's a 3 part tutorial at:
http://fnords.wordpress.com/2009/02/23/etckeeper-chronicles-1/

It's not the ideal nor the most active project, but far it's working and
it's
available for immediate use. That's a good direction to go, IMHO.

Gaveen Prabhasara
http://gaveen.owain.org
http://gaveen.prabhasara.com


On Mon, Jan 4, 2010 at 11:57 PM, Anuradha Ratnaweera <anuradha@taprobane.org
> wrote:

> Hi all,
>
> Is anying using aa SCM to manage /etc/?  I started using GIT to do it,
> and blogged about it:
> http://anuradha.sayura.net/2010/01/using-git-to-manage-config-files.html
>
> Any suggestions / improvements are welcome.
>
>        Anuradha
> --
> http://www.sayura.net/anuradha/
>
>
> _______________________________________________
> linux-raw mailing list
> linux-raw@lug.lk
> https://secure.lug.lk/mailman/listinfo/linux-raw
>

--001636c92b775e1153047c5b2c64
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Anuradha,<div><br></div><div>First, thanks for the blog post.=A0</div><d=
iv><br></div><div>I&#39;ve been using Git to manage server configurations f=
or a while. In the</div><div>beginning I was only adding specific things I =
cared most, but gradually</div>

<div>I started adding more and more stuff. So I was looking for a tool to</=
div><div>automate the process and to get over certain quirks of distro spec=
ifics.</div><div><br></div><div>Using Git for standard text based config fi=
les is usually straight forward</div>

<div>for a person already working with Git. But things require few addition=
al</div><div>tweaks if you plan to use the whole /etc under version control=
ling. Some</div><div>examples are file permissions and git ignore facility.=
 Then there&#39;s also</div>

<div>getting used to the concept of atomic commits and branching. To get</d=
iv><div>the most out of it, some proper use of branching and committing is<=
/div><div>needed. You blog post will help people to get into that mindset.<=
/div>

<div><br></div><div>I was hoping to create a simple git based frontend for =
these tasks when</div><div>I found Etckeeper.=A0It&#39;s a convenient tool =
to use. Just grab it from:</div><div><a href=3D"http://kitenet.net/~joey/co=
de/etckeeper/">http://kitenet.net/~joey/code/etckeeper/</a></div>

<div>And set it up. It can handle some distro specific stuff. One nice addi=
tion</div><div>is the automatic commit for package management operations. I=
f you</div><div>are interested there&#39;s a 3 part tutorial at:=A0</div>

<div><a href=3D"http://fnords.wordpress.com/2009/02/23/etckeeper-chronicles=
-1/">http://fnords.wordpress.com/2009/02/23/etckeeper-chronicles-1/</a></di=
v><div><br></div><div>It&#39;s not the ideal nor the most active project, b=
ut far it&#39;s working and it&#39;s</div>

<div>available for immediate use. That&#39;s a good direction to go, IMHO.<=
/div><div><br></div><div>Gaveen Prabhasara</div><div><a href=3D"http://gave=
en.owain.org">http://gaveen.owain.org</a><br><a href=3D"http://gaveen.prabh=
asara.com">http://gaveen.prabhasara.com</a><br>


<br><br><div class=3D"gmail_quote">On Mon, Jan 4, 2010 at 11:57 PM, Anuradh=
a Ratnaweera <span dir=3D"ltr">&lt;<a href=3D"mailto:anuradha@taprobane.org=
">anuradha@taprobane.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex;">

Hi all,<br>
<br>
Is anying using aa SCM to manage /etc/? =A0I started using GIT to do it,<br=
>
and blogged about it:<br>
<a href=3D"http://anuradha.sayura.net/2010/01/using-git-to-manage-config-fi=
les.html" target=3D"_blank">http://anuradha.sayura.net/2010/01/using-git-to=
-manage-config-files.html</a><br>
<br>
Any suggestions / improvements are welcome.<br>
<br>
 =A0 =A0 =A0 =A0Anuradha<br>
<font color=3D"#888888">--<br>
<a href=3D"http://www.sayura.net/anuradha/" target=3D"_blank">http://www.sa=
yura.net/anuradha/</a><br>
<br>
<br>
_______________________________________________<br>
linux-raw mailing list<br>
<a href=3D"mailto:linux-raw@lug.lk">linux-raw@lug.lk</a><br>
<a href=3D"https://secure.lug.lk/mailman/listinfo/linux-raw" target=3D"_bla=
nk">https://secure.lug.lk/mailman/listinfo/linux-raw</a><br>
</font></blockquote></div><br></div>

--001636c92b775e1153047c5b2c64--



--===============1613059758==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
linux mailing list
linux@lug.lk
https://secure.lug.lk/mailman/listinfo/linux

--===============1613059758==--



