From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-October/019580.html | 130 ++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-October/019580.html (limited to 'zarb-ml/mageia-dev/2012-October/019580.html') diff --git a/zarb-ml/mageia-dev/2012-October/019580.html b/zarb-ml/mageia-dev/2012-October/019580.html new file mode 100644 index 000000000..6cfb7de61 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-October/019580.html @@ -0,0 +1,130 @@ + + + + [Mageia-dev] Small project for a Python programmer + + + + + + + + + +

[Mageia-dev] Small project for a Python programmer

+ Barry Jackson + zen25000 at zen.co.uk +
+ Sun Oct 28 21:23:12 CET 2012 +

+
+ +
OK here's the challenge.
+
+When we view rpm specs in svn using viewvc like this :-
+
+http://svnweb.mageia.org/packages/cauldron/acidrip/current/SPECS/acidrip.spec?view=markup
+
+...the highlighting is incorrect, because viewvc uses pygments to 
+generate the language highlighting and it sadly has no lexer for rpm 
+spec files.
+
+In many cases the highlighting is totally wrong like this:-
+
+http://svnweb.mageia.org/packages/cauldron/abiword/current/SPECS/abiword.spec?revision=304568&view=markup
+
+...as viewvc makes an incorrect assumption about the lexer needed, based 
+on a parse of the first line. It's horrible.
+
+What is needed is a lexer for rpm spec files.
+
+This would not be too difficult for an experienced Python programmer as 
+the building blocks are all in place within pygments :-
+
+http://pygments.org/docs/lexerdevelopment/
+
+If you view any spec file using the kate editor, you will see the style 
+of highlighting that is needed.
+
+Not only would this benefit Mageia, but all projects using rpm and viewvc.
+
+So that's the challenge - anyone up for it?  :)
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1