Search Results: "ean"

27 February 2008

Steve Kemp: I'm wearing my heart like a crown

For the past couple of days I've been working on some "easy hosting" setup for Debian. This is a continuation of my shell-script based solution, but intended to be much more dynamic. The system makes it simple for us to deploy a Debian Etch installation, and allow users to create virtualhosts easily. (And by easily I mean by creating directories, and very little else.) So, for example, to create a new website simple point the IP address of your domain example.org to the IP of your machine. Then run:
mkdir -p /srv/example.com/cgi-bin
mkdir -p /srv/example.com/htdocs
If you then want to allow FTP access to upload you may run:
echo "mysecretpass" > /srv/example.com/ftp-password
This will give you FTP access, username "example.com", password "mysecretpass". You'll be chrooted into the /srv/example.com/ directory. All of this is trivial. Via Apache's mod_vhost_alias, and a simple script to split logfiles and generate statistics via webalizer for each domain. The only thing that I really needed to do was to come up with a simple shell script & cron entry to build up an FTP password file for pure-ftpd. So here's where it gets interesting. The next job, obviously, is to handle mail for the domains. Under Debian it should be a matter of creating an appropriate /etc/exim/exim4.conf - and ignoring the rest of the setup. I'm getting some help with that, because despite knowing almost too much about SMTP these days I'm still a little hazy on Exim4 configuration. I'm watching the recent debian configuration packages system with interest, because right now I'm not touching any configuration files I'm sure that it is only a matter of time.
In other news I cut prices, and am seeing a lot of interest in my mail-scanning. Finally my .emacs file has been tweaked a lot over the previous few days. Far too much fun. (support files.)

Martin F. Krafft: Asterisk on Debian: piece of cake!

Yesterday, my phone had a temporary fit, yet I had a bunch of important calls left to make. Since I have an account with a VoIP provider and a Swiss number associated with it, I decided to use it as a fallback. That worked. The next thing I found out was that a meeting had been cancelled, and since I was in a VoIP-related mindset anyway, I did what I ve been meaning to do for years: check out Asterisk. An excellent article by Stefan Wintermeyer in the 01/2008 issue of the German Linux Magazin helped me understand the basics of the Asterisk configuration paradigms in a single read. With 40 minutes left, I installed the Debian Asterisk packages on a test machine and by the time of my next meeting, I had the server register with two VoIP providers (one of them being the university) and routed outgoing calls accordingly: calls to university numbers went there, all others would be routed via Insphone. I also hooked up three softphones and routed incoming calls to them. I shall post my configuration once I spent a little more time with it, configured e.g. voice mail and a simple voice- or DMTF-activated menu system to distinguish work from private calls, and cleaned it up. If you care before then, ask. Asterisk is said to have a steep learning curve. Thanks to the article and the excellent work by the Debian maintainers, I climbed that curve to the point where I can make and receive phone calls in about an hour. Thanks! NP: Age Pryor: Shanks Pony

Neil Williams: Problems with minicom over USB

Embedded systems (especially bootloaders) need serial connections but many laptops and modern desktops simply do away with the serial port altogether. Up until now, I've kept my previous desktop machine around (which happens to also have a parallel port so acts as the home network print server because I don't have a USB printer either) and then connect to minicom over SSH.
Now, yes, I can configure networking over USB once the device is installed but to actually fix installation problems, I need serial on my other machines. I've got a USB to serial converter, turns out to be a Prolific 2303 chipset (it's the basic one with a cable from Maplins) which is quite well supported.
Now the weird stuff.
My powerpc laptop sees the Prolific chipset and configures a USB device that, initially, minicom complains about - but if I set the port from 'dmesg' (/dev/ttyUSB0) in minicom -s, it works. Well, almost. I can see the output of the device but no keyboard strokes are passed on to the board which means it's almost workable whilst still being completely useless.
My problematic HP laptop accepts the Prolific chipset but does not configure a USB device node. Without a device node, minicom just fails.
Bah.
This HP laptop is still causing me grief. USB seems to fail after hibernation and only works at all if irqfixup is added to the kernel boot parameters. With irqfixup, the laptop randomly hangs. I almost need to setup parallel configs in grub of "run USB but don't hibernate" and "run for more than 1 hour" as mutually exclusive. Oh, and the external monitor connection used for presentations is only seen if the projector is connected during a reboot of the HP laptop.
Bah x 3.

Roland Mas: GForge in Debian, February 2008

Quick status update: not much happened due to a variety of reasons, but there is still some progress to report. The most important piece of news is that the Mediawiki plugin should be on its way to Debian sid by the time you read this, as the new gforge-plugin-mediawiki binary package (it'll have to go through NEW, but that seems to be rather fast these days). Testing and reporting and bugfixing are most welcome, of course. I also went through a round of cleanups in the packaging. No more Lintian overrides, far fewer Lintian errors and warnings, and some fixes for PostgreSQL 8.3 compatibility.

Russell Coker: Redirecting Output from a Running Process

Someone asked on a mailing list how to redirect output from a running process. They had a program which had been running for a long period of time without having stdout redirected to a file. They wanted to logout (to move the laptop that was used for the ssh session) but not kill the process (or lose output). Most responses were of the form “you should have used screen or nohup” which is all very well if you had planned to logout and leave it running (or even planned to have it run for a long time). Fortunately it is quite possible to redirect output of a running process. I will use cat as a trivial example but the same technique will work for most programs that do simple IO (of course programs that do terminal IO may be more tricky - but you could always redirect from the tty device of a ssh session to the tty device of a screen session). Firstly I run the command “cat > foo1” in one session and test that data from stdin is copied to the file. Then in another session I redirect the output: Firstly find the PID of the process:
$ ps aux grep cat
rjc 6760 0.0 0.0 1580 376 pts/5 S+ 15:31 0:00 cat Now check the file handles it has open:
$ ls -l /proc/6760/fd
total 3
lrwx—— 1 rjc rjc 64 Feb 27 15:32 0 -> /dev/pts/5
l-wx—— 1 rjc rjc 64 Feb 27 15:32 1 -> /tmp/foo1
lrwx—— 1 rjc rjc 64 Feb 27 15:32 2 -> /dev/pts/5 Now run GDB:
$ gdb -p 6760 /bin/cat
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc
[lots more license stuff snipped]
Attaching to program: /bin/cat, process 6760
[snip other stuff that’s not interesting now]
(gdb) p close(1)
$1 = 0
(gdb) p creat(”/tmp/foo3″, 0600)
$2 = 1
(gdb) q
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /bin/cat, process 6760 The “p” command in GDB will print the value of an expression, an expression can be a function to call, it can be a system call… So I execute a close() system call and pass file handle 1, then I execute a creat() system call to open a new file. The result of the creat() was 1 which means that it replaced the previous file handle. If I wanted to use the same file for stdout and stderr or if I wanted to replace a file handle with some other number then I would need to call the dup2() system call to achieve that result. For this example I chose to use creat() instead of open() because there are fewer parameter. The C macros for the flags are not usable from GDB (it doesn’t use C headers) so I would have to read header files to discover this - it’s not that hard to do so but would take more time. Note that 0600 is the octal permission for the owner having read/write access and the group and others having no access. It would also work to use 0 for that parameter and run chmod on the file later on. After that I verify the result:
ls -l /proc/6760/fd/
total 3
lrwx—— 1 rjc rjc 64 2008-02-27 15:32 0 -> /dev/pts/5
l-wx—— 1 rjc rjc 64 2008-02-27 15:32 1 -> /tmp/foo3 <====
lrwx—— 1 rjc rjc 64 2008-02-27 15:32 2 -> /dev/pts/5 Typing more data in to cat results in the file /tmp/foo3 being appended to. Update: If you want to close the original session you need to close all file handles for it, open a new device that can be the controlling tty, and then call setsid().

26 February 2008

Christian Perrier: Crazyness of flight prices

Here comes this time of the year where I try booking a flight to go to Debconf. That roughly means finding the cheapest way to go from CDG to EZE (Buenos Aires airport code). And, as usual, that means finding the crazyness of flight prices: the cheapest I found as of now is EUR902 with Air Europa through Madrid. The funniest is that the very same flight, *from Madrid*, costs EUR1407. Air France, which has a daily direct flight from Paris to Buenos Aires, is very expensive for me (EUR1150) and I bet that it could be as low as EUR900 for people coming.....from outside France, with a connection. That seems to be the interesting effect of airline companies trying to attract passengers to their long distance hubs. In short, I would bet that at least for all European people around, the cheapest route to Buenos Aires will be a route with a connection somewhere lese in Europe. So, even if one lives close to one of the biggest hubs in Europe, you nearly have no chance to use the direct flights it has to many places around...unless you're ready to pay for it.

MJ Ray: Work Trip Goes Wrong

Yesterday really didn't go to plan. The plan was to clear a few work tasks and then travel to London for an early afternoon Koha-related meeting, then fix some other problems on site before travelling home this evening. Unusually, this trip involved bike, train, tube coach and bus. Everything but the car, indeed, so a pretty good example of using greener transport for TTLLP. Got about 80% of the work tasks done (not bad), biked to Worle station and caught the train, then changed to a high-speed train at Bristol. So far, so good. I spotted our Member of Parliament changing trains in Bristol too. I did a double-take, which I think he noticed - he's in the local papers every week or two, but he's not that visually distinctive and looks superficially similar to my last MP. Didn't harangue him this time - he was queuing for coffee, while I wanted to visit the buffet. Anyway, about 10 minutes before arrival in London, someone walked onto the tracks near Southall. We reversed into Slough and were eventually told to travel via Windsor into Waterloo (I think if they'd been a bit quicker, I could have saved 30 minutes). I planned to arrive in London 75 minutes before my meeting, but this happened at about the most delaying point, so I was actually 70 minutes late and missed the whole thing. Damn. Of the three on-site problems, I fixed one and made progress on one, but that fixed one means that we can continue working remotely on the others, so not a total failure. The coach back to Bristol was fine - once it stops weaving around London, it's as comfortable as an unrefurbished HST (not quite as much leg or arm room as a current one). The bus to Worle was awful, bouncy as hell and badly-driven, stopping ahead of the lines at red lights. It's also expensive (thanks to First's route monopoly?) - in future, I'd walk 15 minutes and pay 30p more for the train. The above was written on the return journey, then bluetoothed here. Now it's time to catch up with the stack of emails and back to work.

25 February 2008

Lior Kaplan: FOSDEM 2008 and the art of Juggling


People have different methods to handle the overwhelming amount of lecture and events. Some just stick to one or two rooms and hear all the related issues, some goes by topic (which might be presented in different places) and I prefer to try and juggle between the lectures and try to have it all. I’ve planned the lectures I’d like to go to, always keeping an alternative in case the first one isn’t interesting enough for me. I left some lectures early to get to other lectures (usually leaving during the Q&A parts). And some lectures even required me to arrive a bit earlier just to get a seat (especially important if you intend to stay for a few lectures in a row). While rushing back and forth between rooms, I’ve tried to find I have questions for and people I’m interested to talk with. Moving enough at the campus usually means you’ll eventually find them. The only problem with the whole process is that it’s consuming a lot of effort and energy during these two days, and I’m feeling exhusted by the end of FOSDEM. But the productivity of talking so many people face to face and getting new information from the lectures makes it all worthwhile. So my advise is to try and use FOSDEM to expend your horizons instead of going to these familiar talks about stuff you probably already know enough,

    Joerg Jaspert: New FTP Assistants

    As you probably know (well, in case you read d-d-a (hello man-di)), we got two new people as FTP Assistants. While I disagree with the way it went, it’s a good thing to not have NEW, removals and override changes a (pretty much) one man show. OTOH I am also pretty reluctant to having others do NEW, as the long time I am now doing it makes me feel about it like - well “it’s my baby”, or something like that. It’s just that I processed a lot of packages, rejected even more and (mostly) had fun doing it. (And I hate to share fun, HA :) ). But I understand the need of having more people doing it, so today I gave an introduction to Thomas and Kalle. Now they at least know where to start. And while that took somewhere around 2 hours - its still only an introduction. I bet there will be many more questions when they do more than just reading the large amounts of text I flooded into the ftp teams IRC channel. :) But that should work fine, I am online most of the day - and then there are the other ftpteam-members and ftpmasters in the channel, someone should be able to respond sooner or later. :) And now some real content. The ultimate way to get a totally bug free Debian:
    for i in $(dak control-overrides -t dsc -l awk ' print $1 '); do
     dak rm -m "Cleanup" -C package $i
    done
    
    Don’t try this at home, kids. (Yes, a nice DELETE FROM $correct_table in projectb also works, but isnt as much fun! The above gets you nice and pretty logs in the removals.txt and also nice and pretty mails to the package address!)

    Sylvain Le Gall: Back from FOSDEM

    I have spent one day and a half this week-end at FOSDEM. This was not as great as expected, but mostly because i don't have the time to stay the whole sunday. Next year, I will stay the whole week-end in order to have time to attend all the speak i should be interested in. The beer event was overcrowded, but all the beer i found there was great (in particular the Floris Pear). It was also a great time to have a demonstration of the XO OLPC laptop. This little thing is funny, but i don't get the way the UI should be used. Another bad point, is that the first console allow to login as root by pressing "Enter" (at least on the one i try). I suppose this kind of device is not intended to be secured. I also have time to talk with some Debian people and some other people -- in particular one who was thinking that Windows 2000 is the best ever OS. At least, it means that there were people from different horizons -- and this is a good thing. During Saturday, i spend half of the day in the big amphitheater (Janson). The talk about Tux with Shades (Linux in Hollywood) was impressive, regarding the trailer they show us... The talk about FreeBSD was interesting -- but not impressive as a trailer. I spend Saturday afternoon in the Debian devroom, following all the different talks. I miss the one from MadCoder about managing packages with git... That's a shame because i really want to see this one. Since my train was at 12am on Sunday, i choose to only pay a visit to the different booths. I have the pleasure to have a demonstration of the EeePC on the Debian booth that really please me. I found the UI more easy to understand than the one from XO. Speaking with the person demonstrating the laptop, she explained me that EeePC is more "standard desktop" and XO more "creative desktop". Conclusion: i am not creative ;-) Also talking about everything around talks and the meeting, i think Bruxelles is a really nice city for this kind of events. ULB is not near the center of Bruxelles but there are enough transportation. There was really a lot of people attending FOSDEM, and this is a good thing. I also have the pleasure to find some people from the OCaml Meeting.

    Benjamin Mako Hill: Still Seeing Yellow

    Recently, the EFF reported that the European commission had responded to a request by European Parliament member Satu Hassi about tracking dots in printers. European Commissioner Franco Frattini replied that tracking dots may constitute a human rights violation saying that:
    "..to the extent that individuals may be identified through material printed or copied using certain equipment, such processing may give rise to the violation of fundamental human rights, namely the right to privacy and private life. It also might violate the right to protection of personal data."
    Intriguingly, the request text includes a mention to and link to the Seeing Yellow project I started last year as an example of the fact that consumers have complained to printer manufacturers and that these complaints have fallen upon deaf ears. Everyone who called their printer manufacturer in response to Seeing Yellow deserves come credit for the raised visibility to the issue that we've created and the set of actions that have brought the issue this far. Please, keep it up! If you've not complained to your printer manufacturer, visit Seeing Yellow and call today.

    Pierre Habouzit: Dear John

    wrt your issue yes it's true that for short series of patches, it's often asked to rebase it on a clean state if it doesn't merges fully, though if you're doing a complicated work, meaning dozens of patches e.g., it's usually two things: When this happens, upstreams are usually okay with merging from a public repository that you would set-up. Though, it's usually a tiny more work for the upstreams to work with a new remote repository, and those are only used for these cases. Also note that upstream could really fake the same work branching off from the point you branched off, and using git-am from that point instead of git am -3 on the top of the current devel branch (which is similar to a rebase, hence creates new sha's). IOW, it's not really a git deficiency (even if git-format-patch could maybe annotate _more_ where it comes from, and git-am grok that to re-create a topic branch from that) as git has the features, just that it probably doesn't make it easy enough, and that people usually don't care enough for very short series.

    24 February 2008

    Russell Coker: EeePC for a Teenager

    I was asked for advice from a non-technical person about buying a laptop for their 15yo daughter. They were looking to spend $200 or $300. I suggested that stretching their budget to $500 for a new EeePC would be a better option than the risks associated with a second-hand laptop (laptops are all different in their hardware). I also suggested that waiting a few months to see what happens with the new EeePCs might be a good idea. There are rumours about the development of new EeePC models with bigger screens, this would be a benefit for those who can afford it, and for those who can’t the current model may drop in price. They took that suggestion very well and I suspect that they weren’t planning to purchase in the near future anyway. I asked for advice on the LUV mailing list [1] for further suggestions that I could offer. One suggestion was that larger laptops of a more traditional design have been driven down in price recently and might be worth considering. I will have to mention it, but suggesting that someone who wants to spend $200 should spend $500 seemed enough of a stretch, suggesting that they spend $700 or more might not be taken well. Of course there is the weight issue that Matt raised in a blog post [2]. The last thing I want to do is to convince people not to buy computers for their children! A complaint was raised about the size of the keyboard in the EeePC (personally I wouldn’t want to use anything smaller than the T series Thinkpad I’m using now). In a quick google search the best information I could find about average finger sizes was the Danforth Diamond blog [3] which says that in the US women average a ring size of 6 while men average 10. According to the ring sizing page on the same site [4] that means ring finger diameter of 16.5 and 19.8mm respectively. So it seems likely that given the same level of typing skill an average woman could happily use a keyboard that’s 83% the size of the keyboard that an average man uses. Of course there’s a lot of variation between individuals, for example my fingers are thinner than average and I prefer a full-sized keyboard. One thing I recommend when considering a keyboard (or a laptop) is to type your name a few times quickly. Typing something about a quick brown fox will take some thought, but typing your own name requires no thought so you can concentrate on the feel of the keyboard. Using this method it is very easy to go to a store and determine whether a laptop is likely to suit you. The screen resolution and size is a significant issue, one EeePC owner described it as “too small to do anything useful“. Rumour has it that the next version will have a screen that’s a significant increase in size and resolution. A final interesting comment was about the social aspect of owning a laptop. The suggestion was made that a teenager who owned the smallest (and possibly cheapest) laptop in class might have other kids tease them about it. I will be interested to see comments on this issue, it had never occurred to me that the laptop use in schools would be high enough for the ownership of any type of laptop to be a cause for harassment. Also I’m not sure which would be considered as being of lower status, an old second-hand laptop or a new low-end laptop. I’m pretty sure that owning either would be considered to have higher status than having no laptop. A quick scan of the GraysOnline.com.au auction site suggests that a second-hand Pentium-M laptop (a few years old) could be purchased for about $550 and a Core 2 Duo based laptop might go for about $700. So it seems unlikely that for less than $500 you could buy something suitable for a novice user (something that will just work with recent software). I’m not planning on offering the full IT support package that I offer to my relatives so I can only recommend things that can be self-supported. Of course as the people doing the buying seem to have no definite plans for the use of the computer then anything they buy will fail in some way to meet the requirements that they discover. :-# Update: fixed a bad link.

    John Goerzen: Git looks really nice, until....

    So I have been learning about Git this weekend. It has some really nice-looking features for sure -- some things Mercurial doesn't have.

    I was getting interested in switching, until I found what I consider a big problem.

    Many projects that use git require you to submit things using git-format-patch instead of pushing/pulling from you. They don't want your merge history.

    git-format-patch, though, doesn't preserve SHA1s, nor does it preserve merges.

    Now, say we started from a common base where line 10 of file X said "hi", I locally changed it to "foo", upstream changed it to "bar", and at merge time I decide that we were both wrong and change it to "baz". I don't want to lose the fact that I once had it at "foo", in case it turns out later that really was the right decision.

    When we track upstream changes, and submit with git format-patch, the canonical way to merge upstream appears to be:

    git fetch; get rebase origin/master

    Now, problem with that is it loses your original pre-conflict code on a case like this.

    There appears to be no clean way around that whatsoever. I tried a separate "submission" branch, that rebases a local development-with-merge branch, but it requires a ton of git rebase --skip during the rebase process.

    Thoughts?

    Benjamin Mako Hill: Still Seeing Yellow

    Recently, the EFF reported that the European commission had responded to a request by European Parliament member Satu Hassi about tracking dots in printers. European Commissioner Franco Frattini replied that tracking dots may constitute a human rights violation saying that:
    "..to the extent that individuals may be identified through material printed or copied using certain equipment, such processing may give rise to the violation of fundamental human rights, namely the right to privacy and private life. It also might violate the right to protection of personal data."
    Intriguingly, the request text includes a mention to and link to the Seeing Yellow project I started last year as an example of the fact that consumers have complained to printer manufacturers and that these complaints have fallen upon deaf ears. Everyone who called their printer manufacturer in response to Seeing Yellow deserves come credit for the raised visibility to the issue that we've created and the set of actions that have brought the issue this far. Please, keep it up! If you've not complained to your printer manufacturer, visit Seeing Yellow and call today.

    Wouter Verhelst: FOSDEM, day two

    This is no doubt one of the best FOSDEMs, ever. At least to me it was, and I've been to every FOSDEM, and to the second day of the original OSDEM as well. Great weather, great people, great talks, and great fun. What more can one want? Where I had to nag about a few things yesterday, today I can only feel exhausted, but happy. Some loose ends:
    1. Apparently someone forgot a camera in the Debian Developer's room; this is a Kodak EasyShare ZD710. If you're quick, you may be able to still get it at the info desk; otherwise, contact either me or "Chipzz" on the Freenode network (perhaps in the #fosdem channel). If you're still in Belgium, we may arrange for you to pick it up, otherwise we'll have to send it to you.
    2. Thijs said it after the last talk in the Debian devroom, but let me repeat it here: if you have comments about the Debian presence at FOSDEM (and I mean about any subject, really), just let me know. This was a great FOSDEM already, but there's always room for improvement. Oh, and yes, we need a bigger devroom, and the FOSDEM people know this, and they can't really help us but they'll do what they can. Unfortunately "too many people" is a general problem at FOSDEM.
    See you next year!

    23 February 2008

    Philipp Kern: Trouble with head and legs

    Normally I don't have that much pain. Some headaches from time to time, and a busy nose, but that doesn't cause pain, just lots of used tissues. But now I'm at FOSDEM and on the way there yesterday I had some severe headaches and today my right leg and foot hurt quite much. What's up. I guess the latter is related to my slipping on the stairs of the Delirium, where the beer event took place. It got me covered in beer, which wasn't a problem (luckily only two, but well, both were half empty afterwards) but it seems that the bump had some consequences. (No, I wasn't drunk, but too many already spilled too much beer on those stairs.) Now I don't actually see much when looking at the leg, but it feels a bit burning. There's some light, though: I just enjoyed an extensive shower at the hotel and it provided me with some relief. In other news I just tried DesktopBSD and it failed. Apart from the screen being a bit blurry (like with radeonhd without the blitting fix applied) the main blocker was the missing WiFi support, but hey it's an Intel 3945, so it can't be that hard. Maybe I get around into implementing UPnP into Gobby soon, looking at UPnP's test code it does not seem too hard. Funny enough the router providing free WiFi at the hotel broadcasts UPnP stuff so the port mapping actions probably work (as UPnP does not offer any means of authentication). No pictures, yet. Heh.

    Filip Van Raemdonck: Programmer's prank

    While performing some research on the article about lighttpd, PHP and SSL I wrote a few days ago, I found out about a practical joke in Google's search results for the phrase “Once in a blue moon”.
    The first result returned is an answer from Google Calculator, and the result they give is “1.16699016 10^-8 hertz”.

    While this was obviously not a serious answer, it had to make sense somehow — but it didn't immediately occur to me what it might mean. When I found out how often a “blue moon” actually occurs, every 2.7 years approximately, it seemed obvious that the above number had to be the frequency of that event. A little math confirmed this; inverse the above number and you get a number in seconds which is approximately 2.7 and then something.

    Nice easter egg from the Google crew.

    22 February 2008

    John Goerzen: Revisiting Git and Mercurial

    Exactly one year ago today, I wrote about Git, Mercurial, and Bzr. I have long been interested in VCS, and looked at the three main DVCS systems back then.

    A Quick Review

    Mercurial was, and for the moment, remains, my main VCS. Bzr remains really uninteresting; I don't see it offering anything compelling that Mercurial or Git can't do. My Git gripes mainly revolved around its interface and documentation. Also, I do have Windows people using my software, and need a plausible solution for them, even though I personally do no development on that platform.

    Ted Tso wrote his own article in reply to mine, noting that the Git community had identified many of the same things I had ans was working on them.

    I followed up to Ted with:

    ... So if Ted's right, and a year from now git is easier to use, better documented, more featureful, and runs well on Windows, it won't be that hard to switch over and preserve history. Ted's the sort of person that usually is right, so maybe I should starting looking at hg2git right now.


    So I guess that means it's time to start looking at Git again.

    This is rather rambly, I know. It's late and I want to get these thoughts down before going to sleep...

    Looking at Git

    I started at the Git wikipedia page for an overview of the software. It linked to two Google Tech Talks about Git: one by Linus Torvalds and another by Randal Schwartz. Of the two, I found Linus' more entertaining and Randal's more informative. Linus' point that CVS is fundamentally broken, and that SVN trying to be "a better CVS" (an early goal of svn, at least) means it too is fundamentally broken, strikes me as quite sound.

    One other interesting tidbit I picked up is that git can show you where functions have moved from one file to another, thanks to its rename-detection heuristic. That sounds really sweet, and is the best reason I've yet heard for Git's stubborn refusal to track renames.

    The Landscape

    I've been following Mercurial and Darcs somewhat, and not paying much attention to Git. Mercurial has been adding small features, and is nearing version 1.0. Darcs has completed a major overhaul both of its repository format and internal algorithms and is nearing version 2.0, and appears to have finally killed the doppleganger (aka conflict spinlock) bug for good.

    Git, meanwhile, seems to have made strides in usability and documentation in its 1.5.x versions.

    One thing particularly interesting to me is: what projects are using the different VCSs. High-profile projects now using Mercurial include OpenSolaris, OpenJDK (Java 7), and Mozilla's projects. Git has, of course, the Linux kernel. It also has just about everything associated with freedesktop.org, including X. Also a ton of Unixy stuff.

    Both Mercurial and Git communities are working on TortoiseHg/TortoiseGit types of GUIs for Windows users. Git appears to have a sane Windows port now as well, putting it on pretty much even footing with Mercurial and Darcs there. However, I didn't spot anything with obvious Windows ties in the Git "what projects use git" pages.

    The greater speed of Mercurial and Git -- even for pushing and pulling small patches -- likely will keep me away from Darcs for the moment.

    Onwards...

    As time allows (I do have other things keeping me busy), I plan to install git and work through some tutorials and try to use it in practice as much as possible, to get a good feel for it.

    Future

    It is beneficial to be using a VCS that is popular, though that is certainly not a major criterion for me. I refuse to use SVN because its lack of distributed functionality makes it too unproductive to be useful. But it looks like Git is gaining a lot of traction these days, especially in Debian circles, which also makes it more interesting.

    I notice that Ted did convert e2fsprogs over to git as he said he might, incidentally.

    Frank Lichtenheld: Obligatory FOSDEM post

    I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting I will see you all at my talk, right? ;)

    Next.

    Previous.