Quantcast

SCM integration example local_replace.py

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SCM integration example local_replace.py

Bernhard Reiter-7
Hello,
as you may know it is possible to have the webinterface interpret strings
for example to link to an SCM.

For example see http://issues.roundup-tracker.org/msg5316 where it
links to the roundup source directory.

It is possible to customize this behaviour by using a local_replace.py
file by playing a file in extensions, here is the one used by our tracker:
https://sourceforge.net/p/roundup/code/ci/default/tree/website/issues/extensions/local_replace.py

I'm attaching another example with
a) a link to github
b) Using more readable regular expressions with options "re.X".

(If someone likes to put this on the wiki or the repo, feel free to. I lack
the time in the next days. I think we should add the possibilities of
local_replace.py and other integrations with scm into the documentation.)

Hope it is helpful,
Bernhard


--
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

------------------------------------------------------------------------------

_______________________________________________
Roundup-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-devel

local_replace.py (4K) Download Attachment
signature.asc (484 bytes) Download Attachment
Loading...