Re: git for change control of software deployment updates
- From
David Aguilar <davvid@gmail.com>
- Date
- Dec 11, 2011, 03:19 UTC
- Message-ID
- <CAJDDKr7+GeJTR986DSqKpQRWsXGFVzjBqg6WgRyG-EtycrQs7A@mail.gmail.com>
- In-Reply-To
- <jbugm2$afc$1@dough.gmane.org>
On Fri, Dec 9, 2011 at 6:37 PM, Neal Kreitzinger <neal@rsss.com> wrote:
> I am considering using git with submodules to deploy most of our updates to > our customer linux servers (not including third party rpm updates already > tracked by linux distro rpm repository). Has anyone else done this? > Comments? (Sanity check.) (I am new to submodules.)
I wrote a script that converts a git source repository into a redhat src.rpm. We use it at my $dayjob. How about doing something like that? After you have a src.rpm you can create rpms that you can distribute using yum. You are already using rpm which is why I mention it. Converting a directory of rpm files into a hostable repository is as simple as `createrepo /path/to/rpms/`.
The git project has a 'make rpm' target in its Makefile that you could use as an example.
-- David