hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

My Repository Transplant #

by why in inspect

I’ve moved all of my source code out of CVS and injected it all into a clean set of SVN repositories, along with a set of support scripts that should make it much easier for those of you following along. This encompasses RedCloth, MouseHole, Hobix, the (Poignant) Guide sources and development of Ruby’s YAML libs (aka Syck.) I’m next moving over the code to Hoodwink’d.

The repository can be accessed at: http://code.whytheluckystiff.net/.

An RSS feed of changesets for of all my projects is at /index.xml.

Individual projects have feeds named after the repository name: /mouseHole.xml, /redcloth.xml, /hobix.xml, etc. These are really great looking feeds. The summaries contain a very nice glance at the changeset with links to diffs:


why Sat Oct 22 20:21:46 UTC 2005

Modified Files

Log

bin/mouseHole: select a database driver.
lib/mouseHole/proxyserver.rb: support.
lib/mouseHole/moonproxy.rb: reload config before each request.

Changes

StatusAddsDelsPath
MODIFIED+1-1 bin/mouseHole
MODIFIED+1-0 lib/mouseHole.rb
ADDED+0-0 lib/mouseHole/databases.rb
MODIFIED+5-0 lib/mouseHole/moonproxy.rb
MODIFIED+22-7 lib/mouseHole/proxyserver.rb
ADDED+0-0 lib/mouseHole/yamldb.rb

If you want to contribute to any of these projects, you may use your Rubyforge login to gain read-write access. Apply here.

said on 18 Nov 2005 at 10:26

Hey _why – can you maybe please pretty please show us how you got your svn commit hooks to create such nice RSS ?

said on 18 Nov 2005 at 10:43

Damn _why, does everything you do have to look so incredible and clean?

said on 18 Nov 2005 at 10:55

Except I just realized those are about the lamest commit messages ever. I’ve got a few more changes, then I’ll add the support scripts to the repositories as well.

A few tools that may prove handy for committers:

  • rssfwd if you’d rather get these feeds as email. Anyone know if I can work out a text-only version of the feed? Possible with Atom?
  • feedshake or feeddigest to mix several feeds. (However, just noticed my feeds cause FeedDigest to throw an application error.)
said on 18 Nov 2005 at 11:31

Welcome to the year 2001!

said on 18 Nov 2005 at 12:03

Thankyou, _svn, it’s beautiful here. See, I still have the World Trade Towers right here.

said on 18 Nov 2005 at 12:19

:’(

said on 18 Nov 2005 at 12:25

Danno: Because he is a consumate professional. Also because he rocks.

why: rssfwd is just the thing. Thanks!

said on 18 Nov 2005 at 13:20

_why old chap, seeing as you’ve managed to Do the undoable would you care enlightenting a tired old soul? Is it the SVN 1 .3.0 hotness? What did I miss?

said on 18 Nov 2005 at 13:28

A little bit off topic but for those interested:

Keeping Your Life In Subversion

Subversion Cheat Sheet

said on 18 Nov 2005 at 13:43

T: I’m running 1.3.0. My Apache setup isn’t much.

 #  
 # Subversion 
 #
 <Location /svn>
   DAV svn
   SVNParentPath /opt/svn/repos
   SVNIndexXSLT "/svnindex.xsl" 

   AuthzSVNAccessFile /opt/svn/etc/svn-authz 

   AuthType Basic
   AuthName "Subversion repository" 
   AuthUserFile /opt/svn/etc/svn-users

   <LimitExcept GET PROPFIND OPTIONS REPORT>
     Require valid-user
   </LimitExcept>
 </Location>

The repository index is a Ruby script, though.

 RewriteEngine on
 RewriteRule ^/svn$ /index.rhtml [PT]
 RewriteRule ^/svn/$ /index.rhtml [PT]
 RewriteRule ^/svn/index.html$ /index.rhtml [PT]
said on 18 Nov 2005 at 13:44

So then, inside /opt/svn/repos would be each individual repository: /opt/svn/repos/mouseHole, /opt/svn/repos/hobix, etc.

said on 18 Nov 2005 at 14:40

Hmm, so you are storing the passwords in svn-users rather than doing a passthrough to rubyforge, then?

You may want to disclose that on the signup page. And let people know that they will need to re-signup if they change their rubyforge password.

said on 18 Nov 2005 at 15:52

Except I just realized those are about the lamest commit messages ever.

I think we can safely admit that we all are guilty of using very lame commit messages more often than we should. Not that I’m proud of it, but I want to come clean.

said on 18 Nov 2005 at 17:34

MenTaLguY: I noticed that the forms submit the raw info. I now have 2 rubyforge identities.

_Why: Can you put the relative link in the &lt;head&gt; of your pages pointing ar the RSS , please, so Firefox can see the RSS ? It looks like this: &lt;link rel="alternate" type="text/xml" title="RSS" href="http://example.com/blog/index.rss" /&gt; It would be nice on Redhanded too… Thank you.

said on 18 Nov 2005 at 17:36

Except for HTML entities being expanded in preview but not in the final result.

said on 18 Nov 2005 at 17:40

The svn cheat sheet looks blank to me???

said on 20 Nov 2005 at 05:12

hgs: rendered fine for me (Firefox on OSX ).

said on 20 Nov 2005 at 05:33
phil602: I’ve found that by beginning every commit message with a prepositional phrase, which is itself begins with “To”, forces an explanation of the why and not the what. Optionally, a what summary follows the comma, but of course, SVN is the true keeper of what. An example,

To lock in the flavors, installed a turkey deep fryer.

said on 30 Nov 2005 at 21:54

In case you were looking the other way… SVN 1.3.0 RC 4

Comments are closed for this entry.