30 July 2010

The Ruby Reflector

Topic

Git

  Source Favicon
By Jake Scruggs of Jake Scruggs 13 days ago.
Email

Redis, homebrew, Django, Unicorn, Linux, Git... @ defunkt # RubyMidwest

Chris Wanstrath - @ defunkt always delivers an great talk. He has a style that feels conversational but gets points across # RubyMidwest Good talk - Chris is always an engaging speaker.

" Ruby Techniques by Example" Jeremy Evans is up next at # RubyMidwest

"Singleton class" has been said 20 times in the first 5 minutes of this talk @ jeremyevans0 # rubymidwest Yowza, kind …

jakescruggs.blogspot.com Read
  Source Favicon
By Bryan Larsen of The Hobo Blog 1 day ago.
Email

…of the Hobo and Ruby on Rails community uses git for version control. Git is awesome, but there are two common pain points: its learning curve, and submodules.

I won't go into the problems with git submodules here. If you've got a small project with only one developer and you never need to modify your submodules, you're unlikely to run into problems, but as you add developers and start modifying the modules, hassles quickly creep in.

In the past, when you added a plugin …

hobocentral.net Read
  Source Favicon
By Assaf of Labnotes 4 days ago.
Email

Customizing IRB, 2010 edition. IRB customization with wirble , hirb , awesome_print and a few others choice libraries. What makes Iain's .irbrc so awesome is the way it handles loading of dependencies (which may or may not be available).

A few git tips you didn't know about. Guaranteed to make you a Git Ninja, or at the very least, much more productive with the command line.

Terminal Tips and Tricks For Mac OS X . Just what it says on the label.

blog.labnotes.org Read
  Source Favicon
By campsean of How Software is Built 8 months ago.
Email

Linus wrote Git, and then that just increased it even more, because everybody can use Git. Our development model increased its capacity, and part of that was that we started trusting more people. Now we have subsystem maintainers and such.

As I said, I maintain the subsystems such as USB, and I have people who I trust enough that if they send me a patch, I'll take it, no questions asked. Because the most important thing is I know that they will still be around in case there's …

howsoftwareisbuilt.com Read
  Source Favicon
By Mislav of No Strings Attached 7 days ago.
Email

…remotes.mygroup 'remote1 remote2 ...' $ git fetch mygroup

Write commit notes $ git notes add # opens the editor to add a note to the last commit

Git notes are annotations for existing commits. They don't change the history, so you are free to add notes to any existing commits. Your notes are stored only in your repo, but it's possible to share notes . There are interesting ideas for possible use-cases for notes , too.

mislav.uniqpath.com Read
  Source Favicon
By Shannon -jj Behrens of JJinuxLand 9 months ago.
Email

…out all of CoolProject's code from Subversion. I checked it into Git. I created a branch called coolproject_subversion that will be updated with updated with CoolProject's Subversion repository per the method below. My company will commit our changes to master. Once in a while, I'll merge changes from coolproject_subversion to master.

This is a brutally blunt method. We're losing all of Subversion's change history, all their commit messages, etc. However, …

jjinux.blogspot.com Read
  Source Favicon
By Jake Scruggs of Jake Scruggs 9 days ago.
Email

Using Git Inside a Git Hook can cause problems. In my previous post: " Signal 13 Problems with Git Hooks " I describe how we are trying to automatically merge certain types of branches into a branch that is designed to hold them all. Anyway, that means we want to run some git commands inside of the git hook. We change dirs into another directory where we have a clone of the repo and start telling git to merge some stuff and we get a bunch of

remote: fatal: Not a git repository: '.'

jakescruggs.blogspot.com Read
  Source Favicon
By kencollins of MetaSkills.net - Home 11 months ago.
Email

…wouldn't mind getting side tracked. If so, go ahead and install Subversion and/or Git. I personally like to install both of these since I use Git to manage my Subversion repos too. $ sudo port install subversion $ sudo port install git-core +svn

The SQL Server Connection Stack

So back on track. The low level connection stack for SQL Server is pretty easy. We need unixODBC and not OS X's installed iODBC. After that FreeTDS needs to be installed with the +odbc variant …

metaskills.net Read
  Source Favicon
By Jake Scruggs of Jake Scruggs 9 days ago.
Email

Ran into a gotcha in Git today when trying to write a post push hook. We want our designer to have a fast turn around time with clients so we're writing some hooks to merge all of the 'theme' branches he works with to get merged into a special preview branch witch is then deployed to the preview site. And all this should happen after he does a 'git push.' Seems like a 'post-receive' hook is just what we want.

Except that every time we tried to create one we got these errors on a push:

jakescruggs.blogspot.com Read
  Source Favicon
Email

…Ruby and Rails world uses, and for distributed SCM, that means Git. There are other such tools out there, though. Those of you who enjoyed the Vi vs. Emacs, Linux vs. BSD or Gnome vs. KDE crusades will love the arguing that goes on in the distributed SCM arena. Thrills! Chills! Passionate pulpit-pounding! It's all there.

Provisional's intended position in this arena is like Switzerland: neutral, but fully armed. To that end, Provisional now supports Mercurial …

viget.com Read