Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Thursday May 07, 2009
12:45 PM

Flying Without Source Control

[ #38937 ]

Being forced to work from home since I have a back injury, I've found that I cannot work on any projects that require access to certain internal URLs or that require meeting with other developers/customers. As a result, I've started refactoring one of the ugliest parts of our system. Our "builders" which turn our DBIC objects into XML have been a mess of ugly, procedural code. As a result, trying to allow alternate XML, YAML or JSON formats has been virtually impossible.

Today, while I was separating the data gathering from the serialization, our subversion server went down. The person who maintains that system has just left the BBC, leaving us in a bit of a bind. Fortunately, it doesn't affect me too badly:

git init

I wouldn't dream of working without source control and while it will be annoying to reimport these individual git commits to subversion, at least I can continue working without worrying that it's difficult to revert to a previous working version of my code.

Oh, and our new builders are built on top of Moose. It's made many hard problems much easier to solve. And our serialization formats are Moose::Roles. It's made the problem very, very trivial. Adding a new format now only takes a couple of minutes. Before, it was a couple of years of dreaming that we could do it.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • This is one of the things I really like about the current crop of DVCS. You can create your own repo so easily, and so quietly, that it turns into a "do it and move along" operation. Running a local Subverion repo is close, but not quite as good (especially since setting up a local DVCS is not as permanent a decision).

    I recently did this for our big product at work. The official system is Source Safe, which is hard for me to like very much. I checked all the code into a private Mercurial repo, which I use f

    • People still use Source Safe? Even Microsoft doesn't use it and they developed it. I've used Source Safe in the past and all I can say is "never again".

      • Yeah, it's pretty awful. I've been making a more official push for something better, but my requests are being ignored or redirected. In the meantime, my private Mercurial repo gives me a safety net and helps me sleep a little sounder.

      • We do at work...I scream like a Wookie everytime I have to use it.

  • Adding a new format now only takes a couple of minutes. Before, it was a couple of years of dreaming that we could do it.

    This is what I tried to say in Perl Roles versus Interfaces and ABCs [modernperlbooks.com]. You said it more concisely.

  • Being forced to work from home since I have a back injury

    Having been through a bulging L5/S3...I can certainly sympathize. I hope you get better soon.

    • And damnit, I'm right in the L5/S1 pocket myself. It's been toast now for 4 weeks, ever since I helped a 4 people move an organ out of a church.

      I'm due for a consult and a scan next month.
      On the plus side, I plan on getting some nice work done once I can stand/sit again after physical therapy...before I have to go back to work....assuming I have to have surgery.

      Then again, EVE Online could steal my soul.