One of the joys–or perils, depending on how it’s going–of any big development project is housed in the usefulness of the tools you use to manage it. In Koha’s case, git is where we keep our code, and there are a number of repositories, both inside and outside LibLime, where we keep up with things.
I’m still trying to decide if git is a blessing, or a curse. When everything is going right, and I’m using it to update our customer sites, I think very highly of it. A fistful of commands in bash, and the customer is up-to-date–what’s not to like about that?
But I’m making some small forays into development. Little stuff, mostly things that affect me installing and keeping Koha and its’ infrastructure happy. Shouldn’t be too hard, right?
Here’s a tip: the coding is the easy part.
I had to look up (again) how to extract what I’d done as a patch. Okay…I made up my little edit, and did git-commit and git-format-patch to make a nice little file to git-send-email it…
…and discovered that my MacBook’s postfix isn’t running. Lovely. So I spent an hour putzing with that, trying to get it working–it runs, but it won’t talk to anyone–and finally had a V-8 moment, and uploaded the patch to our development server, and git-send-email’ed it from there.
I’m sure the “real” developers who contribute here are all laughing like hyenas at my thrashing around trying to get a 5-line patch out. I’m sure Joe or Galen could have handled this in their sleep.
But doggone it, I’m proud of that little patch! Not for its’ contents, which are trivial at best, but because I managed to coax it out into the light of day, without help!
Seriously, git is a great tool for managing code in a distributed-work way. It just seems like Dark Arts at first…