[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594482: [DRE-maint] Bug#594482: ITP: libsyntax-ruby -- A simple Ruby syntax highlighting library



Hi Ben!

On Aug 26, 2010, at 4:52 AM, Ben Armstrong wrote:

> Package: wnpp
> Severity: wishlist
> Owner: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
> 
> * Package name    : libsyntax-ruby
>  Version         : 1.0.0
>  Upstream Author : Jamis Buck <jamis@jamisbuck.org>
> * URL             : http://syntax.rubyforge.org/
> * License         : BSD
>  Programming Lang: Ruby
>  Description     : A simple Ruby syntax highlighting library


You may be interested to know that I already started down this same road when I was packaging Chef, as we were using the syntax library for code syntax highlighting in the webui. The original bug was:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538353

See further discussion there. I switched to coderay, which was pretty easy to implement even though I had no prior experience with syntax or coderay until I switched the Chef webui.

It looks like the only part of cucumber that actually uses the syntax highlighting is a couple simple lines and should be relatively easy to get upstream to patch. I'm sure they'd be open to doing so given that Jamis doesn't maintain the syntax library anymore and he recommended I use coderay instead of his own.

The bottom line is, it would probably be less work to get cucumber to use coderay than to go through the effort on packaging syntax.

-- 
Opscode, Inc
Joshua Timberman, Technical Evangelist
C: 720.334.RUBY E: joshua@opscode.com




Reply to: