List for cgit developers and users
 help / color / mirror / Atom feed
* filter questions
@ 2014-02-24 19:01 kevin
  2014-02-24 19:19 ` mailings
  0 siblings, 1 reply; 2+ messages in thread
From: kevin @ 2014-02-24 19:01 UTC (permalink / raw)


Greetings. 

I took a look at the filters in the recent 0.10 release and had a few
minor questions. ;) 

First, the email-gravatar.lua script seems to require luacrypto? 
( http://luacrypto.luaforge.net/ ) This is pretty ancient and not
packaged in Fedora at least. Is there some other more supportable
library that could be used?

lua-md5 seems better if you just need a md5? 
http://www.keplerproject.org/md5/

Also, would it be possible to optionally use libravatar? They are free
software, where gravatar is not. ;( 
http://wiki.libravatar.org/description/

Next, the email-gravatar.py script requires python3? 
Would it be possible to also have a python2 compatible version? Older
systems are still not using python3. 

Finally the highlight script has 2 different calls for version2 or 3 of
highlight. Perhaps we could move that to a build time check? Or even a
runtime one? or just split them into 2 scripts? 

Thanks for all your work, cgit is great!

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140224/9b855176/attachment.asc>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* filter questions
  2014-02-24 19:01 filter questions kevin
@ 2014-02-24 19:19 ` mailings
  0 siblings, 0 replies; 2+ messages in thread
From: mailings @ 2014-02-24 19:19 UTC (permalink / raw)




On 24/02/14 20:01, Kevin Fenzi wrote:
> Greetings.
>
> I took a look at the filters in the recent 0.10 release and had a few
> minor questions. ;)
>
> First, the email-gravatar.lua script seems to require luacrypto?
> ( http://luacrypto.luaforge.net/ ) This is pretty ancient and not
> packaged in Fedora at least. Is there some other more supportable
> library that could be used?
>
> lua-md5 seems better if you just need a md5?
> http://www.keplerproject.org/md5/
>
> Also, would it be possible to optionally use libravatar? They are free
> software, where gravatar is not. ;(
> http://wiki.libravatar.org/description/
>
> Next, the email-gravatar.py script requires python3?
> Would it be possible to also have a python2 compatible version? Older
> systems are still not using python3.
>
> Finally the highlight script has 2 different calls for version2 or 3 of
> highlight. Perhaps we could move that to a build time check? Or even a
> runtime one? or just split them into 2 scripts?

I did put a check in the script but Lars - the original maintainer - 
didn't like that and made it this way.
We could put it back if the current maintainers agree.

Also, if you use highlight you'll want to add some highlight css to your 
cgit css. See my tracCGit spec file for an example: 
https://github.com/reposerf/tracCGit/blob/master/trac-CGit-plugin/trac-CGit-plugin.spec#L36

>
> Thanks for all your work, cgit is great!
>
> kevin
>
>
>
> _______________________________________________
> CGit mailing list
> CGit at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/cgit
>

-- 
Ferry Huberts


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-24 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 19:01 filter questions kevin
2014-02-24 19:19 ` mailings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).