## This file is subject to the terms and conditions defined in ## file 'LICENSE', which is part of this source code package. ## Copyright (c) 2009 SKR Farms (P) LTD. <%inherit file="/base/basic1.html"/> <%namespace name="elements" file="/component/elements.html"/> <%namespace name="forms" file="/component/forms.html"/> <%! page_tooltips = [ [ 'Help', """Integrate one or more repositories with projects by providing its type (like svn ...) and root-url. Make sure that root-url points to the same machine, or to a machine on the local network. """ ], ] %> <%def name="hd_links()"> ${parent.hd_links()} <%def name="hd_styles()"> ${parent.hd_styles()} <%def name="hd_script()"> ${parent.hd_script()} <%def name="create_vcs()">
${forms.form_createvcs( c.authuser, c.project, h.suburl_createvcs, c.vcs_typenames )}
${elements.helpboard( """ Note that this process does not create a repository, instead it just integrates with an already created repository, and specified by `url`, which typically looks like,
file:///path/to/repository/root for a repository hosted on a local machine,
http://ip-address:port/path/to/hosted/root for a repository hosted via http.
Visit vcs-doc to know more



And it is better to have the url pointing to a repository resource in the local machine, are atleast in your subnet. """ )}
<%def name="bd_body()"> <% sel_vcs = capture( forms.form_selectvcs, c.authuser, c.vcslist, c.vcs and c.vcs.name or '' ) %> ${elements.mainnav()} ${elements.contextnav([ sel_vcs ], tooltips=page_tooltips)}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif
${create_vcs()}
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}