Quantcast

SCM integration example local_replace.py

classic Classic list List threaded Threaded
2 messages 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-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users

local_replace.py (4K) Download Attachment
signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SCM integration example local_replace.py

Bernhard Reiter-7
Am Freitag 30 September 2016 15:46:21 schrieb Bernhard Reiter:

> 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/exten
>sions/local_replace.py
>
> I'm attaching another example with
> a) a link to github
> b) Using more readable regular expressions with options "re.X".
For the classic template you may need the patch attached to
http://issues.roundup-tracker.org/issue2550930

> (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.)


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

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users

signature.asc (484 bytes) Download Attachment
Loading...