Ben Cooksley ha scritto:
> On Tue, Apr 5, 2016 at 7:01 PM, Yuri Chornoivan <[email protected]> wrote:
>>
>> I'm not saying that storing such information directly in the sources is an
>> ideal solution, but it worked by now.
> 
> Anyone got a proposal for what the url should look like?
> Bear in mind the system needs to be able to discriminate between
> <repo>/<branch>/<file path>

Sorry for the delay. github uses simply

github/<project>/tree/<branch>/<file path>

See for example, project sahara in the openstack namespace:
https://github.com/openstack/sahara/tree/stable/liberty/etc
https://github.com/openstack/sahara/tree/master/etc

which would be
<blabla>.kde.org/okular/tree/Applications/16.04/CMakeLists.txt

But this makes a direct rewrite rule complicated, due to /.
A possible solution would be to add another special name, so something like:
<blabla>.kde.org/okular/branch/Applications/16.04/tree/CMakeLists.txt
Or we could use a less direct url, like

<blabla>.kde.org/?repo=okular&branch=Applications/16.04&path=CMakeLists.txt

Ciao
-- 
Luigi
_______________________________________________
kde-doc-english mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-doc-english

Reply via email to