Giternal Debian package

incorrect git pavement commands

by admin on January 12, 2010

Giternal is a handy tool for managing git submodules. Give it a YAML file of git repositories, and it’ll ensure that the repos are all checked out. I’d use it to bootstrap all of the Puppet modules that I need, except for one fact:

It’s a rubygem. Happy to use them, but I don’t want dependencies on Rubygems at the bottom of my toolchain. I also have a boostrapping problem because Rubygems get installed from a Puppet module, which I fetch using Giternal.

What to do? Make a Debian package! So I did. You can download it here. It depends on ruby. I can make a Debian repository if anybody likes that idea.

Here’s a tiny example of the yaml file.

apache:
  repo: git@github.com:simpsonjulian/puppet-apache-ubuntu.git
  path: modules
common:
  repo: git@github.com:simpsonjulian/puppet-common.git
  path: modules

Here’s the giternal Debian package install.

jsimpson@fox:~/Documents/workspace/giternal$ sudo dpkg -i giternal.deb
(Reading database ... 145351 files and directories currently installed.)
Preparing to replace giternal 0.1.0-debian1 (using giternal.deb) ...
Unpacking replacement giternal ...
Setting up giternal (0.1.0-debian1) ...

Here’s giternal doing its thing.

Socks:puppet jsimpson$ giternal update
Updating common
 ..updated
Updating wordpress
 ..updated
Updating sudo
 ..updated

Image via (Git book author) tswicegood

Share with the group:
  • Digg
  • del.icio.us
  • Facebook
  • DZone
  • LinkedIn
  • Slashdot
  • StumbleUpon

Related posts:

  1. Rubygems on Ubuntu (with Puppet if you like) Debian packages and Rubygems: they get on like two...
  2. Ant will eat itself I was sorely tempted to save this for April...

Related posts brought to you by Yet Another Related Posts Plugin.

blog comments powered by Disqus

Previous post: Bamboo 2.5 released with improved Maven support

Next post: Links for 2010-01-13