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
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:

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,

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]

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