Sep. 16th, 2007

swestrup: (Default)
Aaaand my hours are all screwed up again. Damn that nightmare anyway. As a result of it, it was 8 hours before I was willing to go back to bed, so my Friday night didn't really happen until 10:00 am Saturday morning. I then slept 14 hours, and woke up quite recently. At least my dreams were pleasant in a Geeky what-do-you-mean-its-my-turn-I-haven't-even-seen-the-rule-book-and-I-don't-even-know-what-a-12th-level-anarchothief/mage-can-do! sort of way. Generally, dreams of sitting around and playing table-top RPGs with friends are a very good thing.

In other news I spent those 8 sleepless hours drinking wine and watching the last half-dozen episodes of Stargate SG1. I downloaded them ages ago to watch with [livejournal.com profile] taxlady, but she's never been in the mood, so I finally gave up and watched them myself. Now, I just have to catch up on Atlantis (I'm almost a full season behind!) and Battlestar Galactica (which is really well done, but so dark I find it hard to watch) where I'm 2 seasons behind. First on the list though is Eureka, which somehow started its second season without me noticing, so I'm already something like 10 episodes behind. Hopefully I'll be able to rope [livejournal.com profile] taxlady into watching the second season with me, although I'm unsure if she ever watched the first.
swestrup: (Default)
Here's my results of that job meme that everyone has been doing. For those who haven't already seen it, do this:

  1. Go to careercruising.com
  2. Put in Username: nycareers - Password: landmark
  3. Take the 'Career Matchmaker' questions at the upper left corner
  4. Post the top ten results. (or however many you feel like)
My Results below. )
swestrup: (Default)
I've just spent the last 3 hours fighting with subversion, and I still haven't managed to do what I was trying. You see, by far the most common use-case I've ever had for Subversion is one that they don't cover at all in their documentation, and seem to think is non-existent, and that is the migration from some ad-hoc version control system.

For example, just now I came across some old archives of snapshots of a project. They were all named things like 'foo-project-<DATESTAMP>.zip' and had been made just by copying and zipping the project filetree in its current state. What I need is some way to present successive snapshots to subversion in such a way that:
  • newly appearing files are automatically added to the archive.
  • vanishing files are automatically deleted
Ideally, it should be as easy as doing a series of commands like
#!/bin/bash

for zip in foo-project-*.zip; 
do
  unzip -d foo $zip
  svn import --update -m "automated import" foo file:///path/foo/trunk
  rm -rf foo-project
done
Or something along those lines. Instead, you have to:
  1. import the first snapshot to make the repository.
  2. checkout a copy of the repository
  3. unzip the next snapshot
  4. diff the working copy against the snapshot
  5. manually mark and delete any files that have vanished.
  6. copy the snapshot over the current copy.
  7. commit this new version
  8. delete the snapshot, and goto step 2.
ARGH!!!  There has GOT to be an easier way, I keep telling myself, but I haven't found one.

January 2017

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 13th, 2026 04:40 pm
Powered by Dreamwidth Studios