Half-Penny For Your Thoughts

rounded down to the nearest cent



Categories


Recent Articles




Computing

Dude, can the canofcode...please

I haven’t written an article about canofcode.com in, gosh, well over a week. I’m pondering giving it it’s own category (or “section”, in Mephisto lingo). But, hey, I’m enjoying working on it, and enjoying writing about it. Ah, cheap publishing…

In point of fact, I haven’t worked on it much in the past two or three weeks, except to create a deny all robots.txt file lest the folks at TextDrive who operate the Ruby on Rails subversion server decide to beat me for further taxing said server so that googlebot and friends can index the potentially bazillions of pages canofcode could have; and such reasons of that nature. Maybe I’ll remove that sometime in the future, but for now, I feel that’s the responsible road to take.

Anyway…

I have worked on the Svn::Ra adapter for CSCM I mentioned a couple of weeks ago, and submitted a patch. I’ve also done a bit of speed testing. It’s slower than using Svn::Fs, including for local access, but not significantly.

Back to canofcode. After I finally get around to the user interface updates I need to do, I’m going to consider switching the repository browsing to use the CSCM library. I like the library well enough that I think the benefits of the code being used by and contributed to by other people than just me will make the switch a good idea.

And, thus, I once again conclude ramblings about this li’l project. Thanks for not throwing stuff at your monitor.


Computing

canofcode re-release announcement

For those of you using canofcode (for the record, that’s me and googlebot), it is back up. There’s a story to that statement, of course.

I discovered, oh, maybe a month ago that my impression that the Subversion to Ruby SWIG bindings did not support remote repositories was just plain wrong. Had I looked at the code, I would have found the Svn::Ra module. Relying heavily on the unit tests, I started work on creating a library that used the Svn::Ra library to replace my previous work on directly implementing the svn and svn-over-WebDAV protocols.

About this time, googlebot started roaming through the site and errors started showing up regularly in my email box (I’d done a few, but obviously imperfect, unit tests). A number of these were directly related to my aforementioned implementations, so rather than fix them, I took down the site until I had the new Ra-based library ready. And now it is!

My next step for canofcode is to work on the UI (such as making some ‘potential’ links into actual links), along with better functional testing, etc. I will also continue working on CVS and Darcs implementations.

In addition, I am nearing completion on a CSCM adapter using Svn::Ra. CSCM is a library that has recently been created by Johan Sørensen, creator of Collaboa, assumedly for future use in Collaboa. I’m considering using the CSCM library for canofcode, part of the reason I’m developing the aforementioned library.


Computing

Subversion for Hiccups

Sorry, couldn’t think of an interesting title.

Also (tells you how much I look at single articles on my own blog), just discovered a bunch of trackback spam, which I’ve now deleted, and hopefully will figure out a good way to henceforward avoid.

Also, just realized there’s a setting in typo for default text filter. Which is good. Considering it takes three or four seconds to set the filter to Markdown (which, btw, I almost always use these days).

So, to the point. As twice previously discussed (aqui y aqui), I’ve been working on (as an on-the-side for-fun project) a repository browser, with the goal of seeing how many types of repositories I can support. With Subversion now working either using WebDAV or the SVN protocol (with some limitations), I threw it up as a publically accessible website a few weeks ago, at canofcode.com. So, check it out if your interested.

I’m now working on CVS. Figuring out how to browse a remote CVS repository has been a pain. I’ve figured out one way (check out the entire tree), but that (as you might imagine) is slow. Hence, I’m considering caching the directory tree in the database. Not sure how I feel about that, but I think it might ultimately be neccessary to support more than a handful of SCM packages at any decent speed. Fragment caching is also an option which I have started implementing. At any rate, it seems silly to replicate a repository (which is for my intents and purposes, a database) into a database.

Okay, a couple of CVS resources:

So, check out canofcode.com and comment here. Eventually, I’ll have a ticket site for it, probably either using Collaboa or I may write something of my own.