[kde-doc-english] Please stop updating projects.kde.org->quickgit.kde.org

Luigi Toscano luigi.toscano at tiscali.it
Sat Apr 16 21:20:05 UTC 2016


Ben Cooksley ha scritto:
> On Tue, Apr 5, 2016 at 7:01 PM, Yuri Chornoivan <yurchor at ukr.net> 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


More information about the kde-doc-english mailing list