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.
Things may slow down a bit for the holidays…but for me, they’re still cooking right along.
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.
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.
Off to a new week, packed with promise…and deadlines…
Sometimes distributed team project management is very trying.
Lots of links piled up over the weekend. I’ll try to get something more substantive posted later.
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.
Yesterday saw my first posting to the official Rails weblog. A nice step on the way to world domination, I guess.
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:
And more general links:
NoMethodError.new instead. - My first commit to the core Rails code. Hopefully not the last.
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.
- GitX - A gitk clone for OS X. Looks nice.
- Testing Fragment Caching - How to do it in Rails.
- ExtSQL - MySQL and PostgreSQL fork that adds database activity auditing and statistics.
- Simple Ruby on Rails Full Text Search Using Xapian - One more full-text search engine that I hadn’t run across before.
- Helpify, the Omni Help Emitter - Tool to build Helpbook files from OmniOutliner documents.
I seem to be hanging out in #rubyonrails on IRC these days…mikeg1a if you’re hunting for me there.
- Rails Rumble 2008 - If you’ve got October 18-19 free, there’s another “build an application in a weekend” contest coming up.
- Using hoptoad in open source project deployments - A general approach to keeping a separate deploy branch in git to hold confidential information.
- Rails Take Five - Five Questions with Karmen Blake - Another in the Five Runs series of Rails interviews.
- RubyGems 1.3.0 - You might want to go slower than me on installing this version; it deprecates some code that Rails uses, resulting in annoying warnings on script/generate operations.
- Replacing Braid or Piston (for Git) with 40 Lines of Rake - An approach to doing subtree merge control for Rails plugins. If you use this, make sure to include a trailing slash on the destination when doing a git:subtree:merge operation. Took me forever to figure that out.
- Status Update: Merb 1.0 - Coming October 11.
- Creating Valid Records with Populator and Faker - For filling up your test database with stuff.
- RR - Test double framework for ruby code. If your current method of writing mocks and stubs is too verbose, this will help. (It has other good features too).
- TankEngine - Plugin to build iPhone-optimized Rails user interfaces.
- Gash - Access a git repository as a ruby hash. Wacky. (via RubyFlow)
The current fun: Setting up CruiseControl.rb with git and rspec.
- Git Quick Reference - Not exhaustive, but useful.
- 10 Things You Could be Doing to Your Code Right Now - Some suggestions for Rails shops that are feeling slipshod.
- This Week in Rails - Another look at what’s been cooking around the community.
- Completely Sodding Stupid - A rant about some of the obvious shortcomings of CSS.
- Una - Commerical editor supporting shared code editing. (via RubyFlow)
- Setting up CruiseControl.rb with/for Git Based Projects - Best guide I’ve found. Way better than the execrable official documentation.
OK, now I have enough work for the month. Time to buckle down and get it done.
- DDL Transactions - Now supported in edge Rails for much safer migrations. Best reason I’ve seen yet to switch away from MySQL (where they are not supported).
- Django 1.0 Released - The official announcement. And here’s a handy cheat sheet.
- Keeping a git fork in synch with the forked repo - I’ve had to hunt this down too many times. Time to blog it.
- railsdoc - My first experiment with building a Ubiquity command.
Thanks to the FiveRuns folks for featuring me in their TakeFive interview series, and welcome to new readers.
- Persistent Django on Amazon EC2 and EBS - The Easy Way - Detailed instructions. With EBS, AWS is reaching some sort of tipping point.
- How to Fix your Rails Helpers - Some suggestions on refactoring.
- WICE Assignment Lists - Multi-select listbox interface for HABTM relations in Rails.
- Scout Checks in on Passenger - I’ve been looking for a Passenger-aware Rails monitoring solution. Not sure I’m ready to pay for Scout, though. (via RubyFlow)
- rspec_validations_expectations gem released - Check that your models contain the validations you want, without hitting the database to test Rails-generated code.
- DoS Vulnerability in REXML - Time to patch your Rails applications.
- Ruby Amazon E-Commerce REST Service API (amazon-ecs) - I used this to hook up some book stuff on my slowly-rebuilding personal site. It worked well.
- Maatkit - A batch of low-level MySQL tools.
- Everyday git With 20 Commands or So - The basics, though you don’t even need to memorize this much to get started.
- ZiYa - Spiffy SWF-based charting gem. Now at version 2.
I started banging together another plugin to release last night. Hopefully I’ll get it out there in the next couple of days.
- New to Git? - GitHub points to a bunch of tutorials.
- Custom 404 Action in Rails - A dynamic approach.
- Introducing Shadow, a Rails Plugin - For maintaining Facebook-style activity lists.
- Tutorial: Creating Plugins in Rails - Useful despite a few typos.
Starting a new chunk of work today that looks like it will involve the rails-multisite plugin. Always good to be learning new skills.
- Hosting git Repositories, the Easy (and Secure) Way - Good guide to setting up gitosis. I also needed to recompile git, because Debian’s version is too old for gitosis to be happy.
- Yuma - Do we really need another web scripting language? Maybe not, but there it is.
- Prototip - Nice-looking tooltip library for Prototype.
- Phusion Passenger - The latest PeepCode screencast covers this new alternative for Rails deployment.
- singleton_validations - Rails plugin to do validations on individual ActiveRecord instances.
- Getting Started with Merb and DataMapper - Ben Smith navigates through the currently-tricky morass of gems, source, and dependencies.
- Living on the Edge (or What’s New in Edge Rails) #3 - Not much visible right now, but still worth tracking.
- Installing Git man Pages - How to get the docs locally.
- jGrowl - jQuery plugin similar to Growl in its effects.
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?
- GitHub and TextMate Unite - Another TextMate bundle from Dr. Nic.
- 21 Ruby Tricks You Should Be Using in Your Own Code - Some medium to advanced idioms from Peter Cooper.
- SyncSql - SAAS site to synchronize a pair of MySQL databases.
A rare day off for me today, taking kids to the amusement park. Back at it tomorrow, assuming I survive.
- Ask Your Doctor About mod_rails - Topfunky reports generally positive experiences.
- Roroni - That’s “Ruby on Rails on System i”. Who knew?
- GitCasts - Screencasts to teach you how to use git.
Finally got the multi-file upload feature I’ve been wrassling with working. Hopefully this means I can move on to something else soon.
- Widgetfinger - CMS that is designed to automate as much as possible of very small sites.
- LiveHTTPHeaders - Header-monitoring add-in for Firefox. I honestly like ieHTTPHeaders better from a UI point of view - but not enough better to use IE.
- Living on the Edge (of Rails) #20 - Things are moving slowly in edge Rails at the moment.
- Huba Huba - Tidbits for advanced GitHub use. Man, I just can’t keep up with the kids these days.
- Rails 2.1 RC1 - Beans spilled via Twitter.
- Prototype 1.6 PDF - Printable documentation for this javascript library.
- Firefox 3 Release Candidate 1 Code Complete - I’ve been using the nightly builds. They’ve stabilized vastly in the last couple of weeks.
- Merbunity - Community site for merb news and tutorials.
- TextMate Bundles for Merb - News from Dr. Nic.
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.
- Git Internals PDF - The latest from PeepCode.
- Webistrano 1.3 - New release of this web-based tool for managing Capistrano deployments.
- Free Open Source Projects in Lighthouse - Just in case you needed a reason to track your project’s bugs there.
- Creating More with Less Effort Using Ruby on Rails - A List Apart discovers Rails.
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.
- Setting up CruiseControl.rb with/for Git Based Projects - The git mania continues to wash over the Rails world.
- Pastie Packer - Tool to transmit entire groups of files via Pasties.
- Git for RubyForge Accounts - Dr. Nic explores.
- Merb Tips II - More pointers from Matt Aimonetti.
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.
- Git TextMate Bundle - A batch of Rails developers will be wanting this soon.
- The Web Development Clients’ 10 Commandments - Amusing.
- Branchable migrations - A new take at handling migrations when multiple developers are on a Rails project.
- BannerZest - Tool for making Flash navigation banners for web sites. Looks useful. (via MacApper)
- Custom Forms Validation Without ActiveRecord - Using the validatable plugin.
Still mired in HTML/CSS design across multiple sites. But still billable, so I don’t mind learning new tricks.
- Acts as ASP.NET (a Ruby on Rails Plugin) - I missed this yesterday, but it’s still amusing.
- Static Pages for the Enterprise - There’s been some discussion lately of how to best serve those little mostly-static pages that any Rails site needs.
- Scalr - Scaleable Web Sites with EC2 - It’s getting ever-easier to set up a server farm using Amazon as your backend, complete with load-balancing and automatic launching of new instances.
- IBM to Host Private Second Life Regions - This may explain in part why Linden Lab doesn’t seem to care much about keeping regular customers happy lately. Other fish to fry.
- Rails is Moving from SVN to Git - The URL for the git repo actually leaked yesterday, but it’s not actually active yet. Soon, though.
- Git Magic - This looks like a useful tutorial.
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.
- Github Pricing - Looks like they plan to begin charging for private repos on a sliding scale.
- gibak 0.3.0 (backup tool using Git): OSX support, extended attributes, bugfixes - Yup, you can use git to keep backups of your stuff.
- Moving on from centralised-decentralised development, or: what’s after github and gitorious? - Some folks are starting to worry that we’re repeating centralized version control in the Ruby community using a theoretically decentralized tool
- Wireshark 1.0 Released - An actual mature open source project. Amazing.(It’s a pretty decent network protocol analyzer, in case you didn’t already know).
- Top 100 Rails Sites - As measured by Alexa data, so take the list with a grain of salt.
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.
- DRY(a): Year After Year- Tiny Rails plugin to handle updating the current year in views.
- Rails Migrations in git Branches - Tool to handle renumbering and merging.
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.
- Gitnub - OS X client for browsing git repositories.
- Everybody Meet Lovd, Lovd Meet Everybody - Open source scaffolding for social network sites, written in Rails.
- Eclipse Announces New Runtime Initiative around Equinox - For the love of God, Montressor, do we really need another runtime?
- Generate Ruby on Rails CHM Documentation - Notes on how to do it, together with a handy pre-built 2.0.2 CHM so you don’t have to go messing around on Windows yourself. Yeah, the real developers use an API site online. I find local searchability trumps that for usability.
- UUIDtools - Gem to generate GUIDs and UUIDs in Ruby. I found this one via Using UUID/GUID as Primary Key in Rails (though that’s not what I need to do with UUIDs at the moment).
The problem with social networks is that they force you to be social :)
- Microsoft Activities for Firefox - New Version - Didn’t take the open source community long to clone that feature.
- Integrating Scribd with your Rails application - Ben Curtis has some details.
- RadRails 1.0 - This open source IDE (now integrated with Aptana) has reached release. Looks pretty nice. Peter Cooper from Ruby Inside likes it.
- Living on the edge (of Rails) #11 - Summary of another week in development land.
- QGit - Replacement for gitk built on Qt.
I really don’t like being in a situation where I don’t know whether the tests are bad or the code is bad.
- Use attr_protected or we will hack you - How to tighten up security on your user models.
- A three finger salute to git - Combining the latest “swipe” gestures on Mac touchpads with git commands.
- iPhone SDK Bug Filing - Rogue Amoeba appears to be leading the charge to make the iPhone a more open system. Good luck with that.
- SVN Externals are Evil; Use Piston or Braid - Why you don’t want to keep your plugins in your repo as externals.
- Braid - Like piston, but can handle SVN or git repos.
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.
- attribute_fu - Plugin to make building multi-model forms in Rails a bit easier. I could have used this a while ago. (via Tim Haines)
- Ebb - Yet another web server alternative for Rails apps, this one written in C for higher performance. (via Ruby Inside)
- Compiling Ruby, RubyGems and Rails on Ubuntu - I’ve had to install this stack a few times, and there’s always been a certain amount of thrashing involved. Here’s some guidance from the FiveRuns guys.
- Ascribe - a Case Study on View Specs - I’ve shied away from testing views, but here’s some evidence that such testing is a Good Thing.
- How to use github and submit a patch - Another run down on the sexy new source code control system.
And so another month draws to a close. Hope you’re being productive on the extra day.
- Rush - Unix shell that uses Ruby syntax for its commands. (via Phil Crissman)
- Capistrano 2.2.0 - Now released to the masses.
- GitHub - Secure Git repository hosting.
- Living on the edge (of Rails) #9 - the sleeper edition - Not much going on in the main development line this week.
Moving back to more Rails work for the rest of the week, it looks like.
- git’ing started with RSpec - Pat Maddox shows how to use RSpec directly from the git repository.
- Default Routes Considered Harmful, and Other Rails SEO Tips - Rails for the URL structure obsessed. Personally, I’m not one of them, but I know that a lot of folks are.
- count vs length vs size - Josh Susser explains the difference in terms of Active Record.
- Testing in Rails: Part 11 - Running Unit Tests - More testing for fun and profit.
- Merbful Authentication Initial Merb 0.9 Support - Ready for use, apparently.
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.
- The Ruby Programming Language - New book covering Ruby 1.8 and 1.9. Peter Cooper recommends it as the best Ruby book for newcomers.
- Advanced Rails Recipes +14: This new Rails 2.0 book is coming along too. You can already buy it in beta form (as I have).
- Git: Start as a Superior SVN, then Leverage Even More - Chris Bailey explains what’s so special about Git.
Having fun working with QuickTime now. For some value of “fun.”
- Git Bundle - TextMate bindings for the new sexy source control system. With prominent projects moving to Git, I probably should figure this stuff out.
- Testing in Rails: Part 10 - Assertions - More in the continuing testing series from Null is Love.
- Peepcode Unlimited - New annual all-you-can-eat subscription from the premiere source of Rails & related podcasts. Tempting.
- Merborial: Up and Running with Merb 0.9.0 (dev): How to install all the pieces from the git repositories.
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.
- Setting up a new Rails app with Git and Setting up a new remote git repository - Toolman Tim shows how to use the sexy new alternative source code control system with Rails.
- The Fully Upturned Bin - whytheluckystiff from a few years ago on Ruby memory management and garbage collection, a subject I’m starting to dig into a bit.
- ActsAsTaggableOn Released - An even more flexible version of ActsAsTaggableOnSteroids (which I’ve been using in a couple of projects).

