The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Handy git-daemon Ruby script

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Britt

Posts: 1319
Nickname: jamesbritt
Registered: Apr, 2003

James Britt is a principal in 30 Second Rule, and runs ruby-doc.org and rubyxml.com
Handy git-daemon Ruby script Posted: May 29, 2008 7:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by James Britt.
Original Post: Handy git-daemon Ruby script
Feed Title: James Britt: Ruby Development
Feed URL: http://feeds.feedburner.com/JamesBritt-Home
Feed Description: James Britt: Playing with better toys
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by James Britt
Latest Posts From James Britt: Ruby Development

Advertisement

Last night’s Refactor meeting was great. A big thanks to Austin for his detailed Git talk, and to David for demoing some git repo sharing.

Austin has posted his slides on his website:

http://uberhip.com/projects/presentations.html

And you can clone it from the repo with: git clone http://uberhip.com/git/gitintro.git

Earlier in the day David and I were poking around with git-daemon, getting the parameters Just So and experimenting with basic repo sharing. It crossed my mind that the process for selecting the git-daemon arguments and kicking off the process should be automated with a script; David, though, was way ahead of me and quickly had a working version running.

We now have a nice little Ruby script that makes sharing a git repo snake simple. David posted the code to the Refactor mailing list.

You just drop the script in your bin dir, and when you want to share a git repo you cd to the root of the working directory and run share_git_repo (or whatever you’ve named it).

It will figure out the correct base path and display the URL needed by the client.

Read: Handy git-daemon Ruby script

Topic: OS X sucks as a systems development platform, news at 11 Previous Topic   Next Topic Topic: Slice & Dice

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use