You are currently browsing the tag archive for the 'git' tag.

I spent a lot of yesterday deep in the Rails source, trying to figure out why some tests weren’t passing. No final conclusion but I think I’m on the right track.

  • Timecop 0.2.0 - Gem for freezing time to make it easier to write reproducible tests. Here’s the original announcement.
  • Pages Generator - Another helpful little tool from GitHub.
  • Bringing Merb’s provides/display into Rails 3 - DHH gives us a peek at one of the planned bits of merging.
  • Dispatch from the Front Lines - And Yehuda Katz is also writing about the work to come. The more of this sort of thing we see from the merged team, the less FUD there will be to go around.
  • Overview of Jekyll - a static site generator written in Ruby - A look at the tool that’s tied into GitHub’s pages.
  • Kontrol - a micro framework - Yes, it’s another small Ruby web framework.
  • Things may slow down a bit for the holidays…but for me, they’re still cooking right along.

  • Model Plus - My latest Rails plugin, an enhanced model generator.
  • Agile git and the story branch pattern - Josh Susser discusses how to work with git effectively.
  • Read The Source, Luke: A Reader’s Guide To Browsing Rails Source - Yes, the Rails source is worth digging into to improve your own skills and understanding of Rails.
  • Easy Dependency Management for Git with Braid - Techniques worth knowing about. I’m still waffling about how to handle these things in my own projects.
  • cinabox - Dead-simple setup for a continuous integration server using cc.rb.
  • Canticore - A new look at blogging engines. - Using RubyGems for plugins and themes.
  • Migrating project websites to github pages with sake tasks, new websites with jekyll_generator - More very cool stuff from Dr. Nic.
  • LiteFixtures - Some more syntactic sugar for Rails fixtures.
  • QA and documentation are on my mind this morning. I need to remember the lesson that a PM can’t spend all their time coding.

  • Well Wishes $2 You - This doesn’t really have anything to do with Rails, except that the Rails community is traditionally very giving. But if you can spare two bucks around Christmas time, you can help do some good.
  • Named Scope: To Lambda or Not To Lambda, That Is The Question - Good explanation of what lambdas are doing in named scopes and why you might want one.
  • GitHub Pages - One more spiffy feature from the GitHub folks - free hosting, essentially. It works, too.
  • Ruby 1.9 can check your indentation - Well, at least if you run with warnings, it can.
  • Amazon SimpleDB - Now With Select - A syntax change makes this cloud database more accessible for more developers.
  • Spent part of yesterday learning more than I really want to know about Apache logging. Perhaps I should raise our eldest to be a sysadmin.

  • The Fork Queue - GitHub adds another very cool feature (though with an unfortunate name).
  • dailygoals - A little something I’m trying out on Twitter to help keep myself on track and accountable.
  • Apache Logging via ServerAlias - I needed this yesterday: 10 different URLs aliased to the same Rails site, but needing separate logging & analytics.
  • Introducing Rack Metal - Rails now has a very fast alternative to the full stack when you need to service something at speed, or show off meaningless statistics.
  • Off to a new week, packed with promise…and deadlines…

  • Tortoisegit - Porting TortoiseSVN to git for Windows users. Looks like it’s making good progress.
  • ProtoFX a new effect engine for Prototype - A new alternative to script.aculo.us.
  • Tweet Congress - Rails app that helps you find your congresscritters on Twitter, or pressure them to get on if they’re not.
  • Launching Ruby on Rails projects, a checklist - Some good advice from Robby Russell.
  • Sometimes distributed team project management is very trying.

  • See Rails request paths in ‘top’ - A nice idea from Dave Thomas. I wonder if this should make its way into core.
  • TextMate Productivity Tips - From 456 Berea St. Tips are always fun.
  • cuc-demo - A demonstration of BDD with cucumber in the form of a tagged git repository.
  • Ruby 1.9.1 Preview 2 - It’s getting closer.
  • Why Git is Better than X - Just in case you want reasons to switch.
  • Lots of links piled up over the weekend. I’ll try to get something more substantive posted later.

  • The Rails Myths - The list continues to grow, though it’s also generating some responding posts and general snark elsewhere.
  • Beginner’s Guide to Installing Merb - Updated for Merb 1.0. Still some hoops to jump through.
  • Speeding Up Rails Development - Some suggestions from Jim Neath.
  • new plugin: acts_as_git - Connect a text or string field directly to a git repo for easy versioning.
  • 3 Ways To Build Fake Demo Data For Your Rails App - My latest for Rails Inside.
  • Rails 2.2 RC2: Last stop before final - Rails 2.2 is coming together.
  • WebKit Nightly Builds - The developer stuff in the latest WebKit builds is pretty spiffy - right-click and “inspect element”.
  • A test server for Rails applications - Intended to be the Rails equivalent of RSpec’s spec server.
  • Profiling Your Rails Application - Take Two - There are big advances in this area. Some day I may even understand them.
  • First, foremost and [0] - The difference between post.comments.first and post.comments[0] in Rails is subtle and surprising.
  • I’ve shut down and reformatted my Windows desktop for good (I hadn’t turned it on for six months or so, it just took me this long to get around to reformatting the drives). If anyone wants a deal on a Dell PowerEdge 1800 server before I EBay it, holler.

  • We’ve stopped using rSpec … - And ignited a bunch of debate in comments. Caboose has bailed out; the comment chain is interesting for a glimpse of what testing solutions the community is using.
  • Google Analytics plugin - Finally got around to making some doc and feature improvements to my fork of this project.
  • giternal - An alternative for managing git externals in your Rails project. Or any other project, for that matter.
  • Yesterday saw my first posting to the official Rails weblog. A nice step on the way to world domination, I guess.

  • Gerrit and Repo, the Android Source Management Tools - Google has built some tools to make git work better for large-scale projects, including workflow and code-review bits.
  • RubyMine Public Preview - JetBrains is getting into the Rails IDE business. I may take a look, though honestly, two years after closing the IDE I don’t miss it.
  • GitHub Code Search - A bit of poking around here reveals that Ruby coders pretty much have a lock on the chunky bacon market.
  • Life on the Edge with Merb, DataMapper, and RSpec - Work-in-progress aimed for folks who might be thinking of switching from Rails.
  • ActiveSupport::Rescuable - Pratik Naik shows how to mix this into your own code with Rails 2.2.
  • 40 Beautiful Free Icon Sets - Some nice stuff out there; be sure to check the fine print before using.
  • Rails 2.2RC1 is out. Here’s the official announcement. And here are the Ruby on Rails 2.2 Release Notes - of which I am rather fond, because I wrote the bulk of them.

    Some other Rails 2.2 stuff:

  • Ruby on Rails 2.2 - The Rails Envy guys want to sell you PDF and videocast guides to the new features.
  • What’s New in Edge Rails: Rails 2.2 Released - Summary of Features</a> and What’s New in Edge Rails: Even Better Conditional GET Support - Coverage from Ryan Daigle.
  • And more general links:

  • “raise NoMethodError” raises NoMethodError. Raise it with
    NoMethodError.new instead.
    - My first commit to the core Rails code. Hopefully not the last.
  • Good Homes Wanted - A batch of Rails and Ruby projects looking for new maintainers, including some fairly prominent ones.
  • SIPr - SIP stack written in Ruby. If only I had time to play with VOIP stuff…
  • REST: Some tips and implementing “Forgot your password?” - Some ideas about RESTful design.
  • Thinking Sphinx - New PDF from PeepCode.
  • GitHub Rebase #1 - Nick Quaranto is starting a new series to look at activity over on GitHub.
  • How to Spot a Help Vampire - Wisdom from #rubyonrails.
  • The default merging behavior of git is pretty good - until it blows chunks and litters your merged file with dozens of >>>> markers. I had this happen to me again this weekend, and was finally motivated to do something about it.

    To change the default merging behavior in git, you run

    git config –global merge.tool toolname

    To see the list of available tools, type

    git mergetool

    Most of the tools that git understands are unix-y. There is one OS X tool on the list: opendiff, which launches the FileMerge tool. But honestly, I’ve never been that impressed with FileMerge’s merge algorithm.

    Fortunately, xxdiff is a pretty good tool, and it’s available as a Darwin port. So, assuming you already have your OS X box set up to install ports, you can have this as your default git merge user interface by running:

    sudo port install xxdiff
    git config –global merge.tool xxdiff

    Now files needing a merge will open in the xxdiff user interface - which is an ugly XWindows thing, but it’s powerful. I’d love to see git hook up to something like Araxis Merge or Changes (when their 2.0 version with 3-way merge comes out), but I’m not nearly motivated enough to hack around in the git source yet.

    So far October is shaping up to be a pretty interesting month.

    I seem to be hanging out in #rubyonrails on IRC these days…mikeg1a if you’re hunting for me there.

    The current fun: Setting up CruiseControl.rb with git and rspec.

    OK, now I have enough work for the month. Time to buckle down and get it done.

    Thanks to the FiveRuns folks for featuring me in their TakeFive interview series, and welcome to new readers.

    I started banging together another plugin to release last night. Hopefully I’ll get it out there in the next couple of days.

    Starting a new chunk of work today that looks like it will involve the rails-multisite plugin. Always good to be learning new skills.

    I need to get some MySQL ETL going to build a datamart. Looks like I can choose from Clover.ETL, Enhydra Octopus, or Apatar. Anyone used any of those?

    A rare day off for me today, taking kids to the amusement park. Back at it tomorrow, assuming I survive.

    Finally got the multi-file upload feature I’ve been wrassling with working. Hopefully this means I can move on to something else soon.

    Spending a good deal of time playing SQL monkey, recovering stuff out of a soon-to-be-legacy database. At least it’s some variety.

    Today it’s back to the CSS mines for me.  Seem to be lots of folks wanting work in that area lately.

    • Freezing Rails with Git - Using git submodules. I’m probably going to have to learn this sooner rather than later.
    • MacUpdate Parallels Bundle - Interesting to me not because I want Parallels (so far both my Macs are 100% Microsoft-free, and I intend to keep them that way), but for some of the other packages.
    • Introducing Mingle 2.0 - Major rev of the commercial agile management tool from Thoughtworks.

    Another day, another site deployed.

    A word to the wise: getaddrinfo failures during rake db:migrate do not necessarily indicate trouble with mysql. In my case, it was caused by a missing SMTP server.

    Still mired in HTML/CSS design across multiple sites. But still billable, so I don’t mind learning new tricks.

    Had the great fun of setting up a new MacBook Pro yesterday, since my sweetie is in the process of joining me in Rails-land.

    This week I appear to be finally getting enough CSS into my brain to use it without thrashing. Not sure if this is a good thing or not.

    Ran into my first git problem last night - fixable, but annoying. I think I haven’t found the right workflow for use with this system yet.

    The problem with social networks is that they force you to be social :)

    I really don’t like being in a situation where I don’t know whether the tests are bad or the code is bad.

    Looks like my dance card may be filling up nicely again. Still, don’t hesitate to get in touch if you’d like to chat about work. I can always squeeze in a few more hours somewhere.

    And so another month draws to a close. Hope you’re being productive on the extra day.

    Moving back to more Rails work for the rest of the week, it looks like.

    Looks like I’ve got some hours free starting in March, so if you’re looking to hire a developer who gets things done, drop me a line.

    Having fun working with QuickTime now. For some value of “fun.”

    I spent most of yesterday learning about RSpec. Fun stuff, even if I can’t get the TextMate integration to work yet.

    • A Meme I’d Like To Crush - Greg Wilson, who actually knows a thing or two on the subject, discusses the current swooning over Erlang ’cause it’s so parallelizable.
    • Merb 0.4.2 released. - Just as I get interested, they push out a new version. The difference between open source software and a red queen’s race would be? (That’s a trick question.)
    • RSpec 1.1 - A significant release of the latest piece of software that I’m trying to spend quality time with.
    • Campfire Notifier for Cruise Control - I’m not actually using either Campfire or Cruise Control anywhere at the moment, but if I was, this would be cool.
    • Using Git with SVN - All of a sudden I’m seeing a lot of references to using git for source code control instead of svn. Looks like it’s reasonably possible to bridge the two.
    • Updating RubyGems and Rails in Leopard - I wonder if this would cure some of the versionitis I’m having on one of my dev boxes. Probably not, because I think I compiled everything from source on that box in the first place.
    • GoogleCharts - I figured someone would wrap up the new Google Charting API in a nice gem for Ruby & Rails. I wasn’t disappointed.
    • Using SSH Agent With Mac OS X Leopard - Came in handy for me as I switched over to letting Leopard be my ssh agent.
    • Google Maps API Icon Shadowmaker - This is going to come in handy on the site where I’m using Google Maps for a client.
    • BitNami - Pre-packaged install stacks for a lot of open source apps across a variety of operating systems. They have a Ruby and Rails package that provides an alternative to Instant Rails. (via Anthony Eden)
    • jrubyhub.com - More JRuby resources than you can shake a stick at.

    I ended up spending most of yesterday writing what turned out to be about 6 lines of controller and 20 lines of view. I’m not sure whether to be proud of my skills at condensing things down or appalled that it took me so long to find the reasonably elegant Rails way of doing things. But I met the customer’s deadline.