The Official Status Thread
-
Yeah, not gonna happen.
-
Still converting svn repo to git.
-
-
No, but I'm lazy and am [stupidly] doing it over a network connection. I've never done this before, and there are a lot of tags, and apparently it wants to download every jar in every tag. Based on disk usage, I guess it isn't storing them all separately (but I'm a git n00b, so WTF do I know).
-
No, but I'm lazy and am [stupidly] doing it over a network connection. I've never done this before, and there are a lot of tags, and apparently it wants to download every jar in every tag. Based on disk usage, I guess it isn't storing them all separately (but I'm a git n00b, so WTF do I know).
There it is.
-
For the record, hating the Giants and Yankees is simply part of being a proper Dodgers fan (I grew up in SoCal).
+∞
I knew there was a reason I like you.
-
Hating the Yankees simply means that you're not a Yankees fan.
-
-
Current status: getting ready to run through tunnels and a whole bunch of crazy sh** tonight.
-
No, but I'm lazy and am [stupidly] doing it over a network connection. I've never done this before, and there are a lot of tags, and apparently it wants to download every jar in every tag. Based on disk usage, I guess it isn't storing them all separately (but I'm a git n00b, so WTF do I know).
You've got binary data in there? That slows things down a lot because you lose a lot of the benefits of delta compression. Also, if the svn tags have become a little bit disconnected from things (happens too damn easily) then
git-svn
rewinds the history to the beginning to try to figure out WTF happened. It does a pretty good job, all things told, but can't solve everything; you may end up with a number of false branches/tags with@
s in their name, which you won't want to propagate to the clean target repo.I hope you're not converting a whole SVN repo at once. SVN repos tend to be massive, sprawling affairs; git effectively encourages keeping things smaller and more focussed.
-
Configuring an NGINX linux server, windows sql server, windows iis server, and a local c# application is actually a lot more of a pain in the ass than just developing a c# application.
And web programming. Web programming is the suck.
-
You're configuring nginx again?
-
Done converting svn repo to git.
You've got binary data in there?
Yep.
That slows things down a lot because you lose a lot of the benefits of delta compression.
Eh...they rarely change. It's a java project, and we've occasionally upgraded things over the years.
Also, if the svn tags have become a little bit disconnected from things (happens too damn easily) then git-svn rewinds the history to the beginning to try to figure out WTF happened.
How do they become disconnected? AFAIK, they should all have the place where they were copied from. If the import were smarter, it could have noticed that it already had the copies.
I hope you're not converting a whole SVN repo at once. SVN repos tend to be massive, sprawling affairs; git effectively encourages keeping things smaller and more focussed.
Yeah, the entire project. Came out to 1.4G total. Probably going to cut most of that down going forward. This was mainly a test. It was just running in the background as I went about my business.
-
Ongoing, things like mapping separate physical servers to call running applications/services, or local asp.net pages. The last one was just getting the baseline working so I have a starting point.
-
Run
git gc --aggressive
to re-compress all your datas.
-
Making Safeway brand Mac and Cheese.
-
2 hours ago: Off to get $1 Cheeseburgers from Maccas for lunch
2 hours ago: FML, slacks ripped from bottom of fly to halfway down inner thigh
90 minutes ago: At home, eating lunch and changing pants
30 minutes ago: Back at work, new pants
-
Status: In the office, halfway through first mug of coffee.
-
Status: It is 1AM and I'm still not in bed. I am going to be really tired tomorrow.
WHY IS THAT AN EMOJI
-
Status: not enough sleep. Coffee intake in progress, but results below expected. Language units not work proper.
-
Status: Feeling better than yesterday and kind of glad that I went to bed earlier than I normally would.
-
Status: heading to the management floor for a half-year performance review
Going to the postponed half-year talk.
-
This.
I was looking for :yawn: the other day, but I didn't know about . That will undoubtedly be suitable for
tomorrowtoday.
-
half-year talk.
Upping my coffee intake so I might get something done in say, euh, 15 minutes? , nah better make it half an hour.
-
@dkf said:
Also, if the svn tags have become a little bit disconnected from things (happens too damn easily) then git-svn rewinds the history to the beginning to try to figure out WTF happened.
How do they become disconnected? AFAIK, they should all have the place where they were copied from. If the import were smarter, it could have noticed that it already had the copies.
I don't know, but I suspect it's something to do with exactly what version of server and client were used at the time that thesvn copy
was done; older versions probably weren't collecting quite enough metadata.Don't worry about it though; git-svn seems good at recovering. It just takes a long time about it.
@boomzilla said:@dkf said:
I hope you're not converting a whole SVN repo at once. SVN repos tend to be massive, sprawling affairs; git effectively encourages keeping things smaller and more focussed.
Yeah, the entire project. Came out to 1.4G total. Probably going to cut most of that down going forward. This was mainly a test. It was just running in the background as I went about my business.
OK, you'll probably want to recut the working repositories from the SVN repo though, so you don't keep around years of irrelevant stuff.The trick is to use the
--trunk
,--branches
and--tags
options right (or edit the config afterwards and repeat thegit svn fetch
); the latter two options take wildcards, which helps hugely.
OK, I've checked my notes and it goes something like this:
git svn clone http://svnhost/svn project-name -Tpath/to/trunk/dir -bpath/to/branches -tpath/to/tags
That's one line, but DC loves to word-wrap…
(It's possible to do really complex remappings here, such as not having the tag or branch names at the end of the path. For untangling a particularly messy repo, this can be vital. I've needed this when sorting out our svn→git migration.)
Then, you're best off making a local clean copy:
cd .. git clone --mirror project-name cd project-name.git
Now you can make the branches and tags visible as local ones (remote tracking branches/tags will not be pushed elsewhere) via things like:
git branch branchname refs/remotes/branchname
git tag -a -m"Convert a SVN tag" tagname refs/remotes/tags/tagname
(I'll leave scripting all this as an exercise.)
Once all that's done (check with
git branch
andgit tag
to list things) you then configure the remote and push.git remote add origin https://git.example.com/reponame.git git push --all origin git push --tags origin
With a bulk migration done, you can then use easier things like the GUI in your IDE.
(I hate git at times, but it is usually possible to beat it into submission. Or to start over and try again without making the mistakes of last time. Until you push to a remote, you've not changed anything that matters.)
-
Run
git gc --aggressive
to re-compress all your datas.That doesn't seem to have been necessary, and given the final size, I think the equivalent was already done.
The trick is to use the --trunk, --branches and --tags options right (or edit the config afterwards and repeat the git svn fetch); the latter two options take wildcards, which helps hugely.
Hmm...I just used the --stdlayout option, since that what we used for our svn repo.
Now you can make the branches and tags visible as local ones (remote tracking branches/tags will not be pushed elsewhere) via things like:
Ah...I took a quick look at the final result and wondered about some of this. Thanks, I'll be playing around with it.
Until you push to a remote, you've not changed anything that matters.
Yeah, I'm familiar with DVCS, just not git.
-
Peanuts
And I'm intimidated by the currently 300+ posts in the "Likes" thread I'll have to read and like when I'm back at home.
-
Status: shaking off confusion.
I'm using Synergy at the moment to control 2 computers: my laptop and a desktop. I also have my Bluetooth headset connected to my laptop. Phone rings and I pound on the "Play/Pause" button on the headset to pause my player, but it does nothing.
Finishing the conversation and returning to my room, I still press the damned button because I wonder why it won't work... only to see an "N/A" popover on the desktop's screen. Freaking Synergy forwarded the command to my desktop because I left the mouse pointer on it's screen!
Now, it's all xinput so ok, makes sense. But damn was that confusing at first.
-
Status: 400+ posts to read and like. This will be fun.
-
-
Status: Feeling better than yesterday and kind of glad that I went to bed earlier than I normally would.
Peanuts
Do you know if it's a boy or girl yet?
-
This, this, and more this:
Current status: living the saying "when you fix people's problems, they come to you with all of their problems"
-
Current status: living the saying "when you fix people's problems, they come to you with all of their problems"
You just reminded me of my ex. She used to say, "I'm worried because we never fix anything." And I always thought, "I know. You break things and I fix them."
-
Status:
-
-
Status:
-
-
Uh huh
-
Is that a ditto?
I thought she looked like this
But I must say there seems to be a resemblance
-
Status; bathroom manglers day 6. Tiling begins.
-
Status:
-
Don't complain about my ISP like that
Filed under: I really need to consider moving out.
-
<small>Filed under: I really need to consider moving out.</small>
Yeah, buy a small house / flat somewhere, then get the bathroom fitters in to haul the bathroom that came with the bargain house / flat into the 21st century!
-
Yeah, buy a small house / flat somewhere, then get the bathroom fitters in to haul the bathroom that came with the bargain house / flat into the 21st century!
Well, the old bathroom was fitted at least 15 years ago, probably more, the house isn't exactly new (would have been built... say... early 1960s council-built house judging by the architecture) but stepmum only bought it 13 years ago.
-
Well, the old bathroom was fitted at least 15 years ago, probably more, the house isn't exactly new (would have been built... say... early 1960s council-built house judging by the architecture) but stepmum only bought it 13 years ago.
I was thinking more along the lines: why move out now, when the new bathroom will be finished in a week or so?
-
Because the bathroom is only a minor temporary inconvenience. Being shackled to AOL as well as crazy people is a much larger inconvenience.
-
-
<img src="/uploads/default/5016/f187de1be0cfc011.png" width="344" height="349">
AND SAVE $-2000
So, $1?
Filed under: I can be a maths troll too!
-
Getting worried about the roof staying on. Light level is at midnight levels, horizontal rain, thunder rumbling like a bad dubstep track, failing to give the listener a breather.
-
Seeing waves now. Not on surface of anything, in the air.