Re: clone URL missing in gitweb
Quoting baluchen : I verified the entries and they seems to be correct. But the clone and its URL is still now showing when browsing project summary page via gitweb well, unless you at least post the most relevant options of your gitweb config, i'm afraid i cannot help you. maybe a snippet of mine gives you a hint: ## ## gitweb.config.pl -- gitweb Perl configuration ## our $projectroot = "/var/lib/git/repositories"; our $projects_list = "/var/lib/git/projects.list"; our $site_name = "Git Home"; our @git_base_url_list = grep { $_ ne '' } ("https://git.company.org/git";); [...] with this config, gitweb displays the clone url of a repository "dummy.git" located in "/var/lib/git/repositories" as https://git.company.org/git/dummy.git bye, tom. -- Thomas "Duke" Hager d...@sigsegv.at GPG: 2048R/791C5EB1http://www.sigsegv.at/gpg/duke.gpg = "Never Underestimate the Power of Stupid People in Large Groups." -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: clone URL missing in gitweb
Tom, I verified the entries and they seems to be correct. But the clone and its URL is still now showing when browsing project summary page via gitweb Thanks Bala -- View this message in context: http://git.661346.n2.nabble.com/clone-URL-missing-in-gitweb-tp7563176p7563199.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: clone URL missing in gitweb
Quoting baluchen : I verified and i have following line in my gitweb.cgi. But still i caould not get cloan and what does your configuration of gitweb look like? and what do mean with "But still i caould not get cloan"? are you trying to clone via gitweb? bye, tom. -- Thomas "Duke" Hager d...@sigsegv.at GPG: 2048R/791C5EB1http://www.sigsegv.at/gpg/duke.gpg = "Never Underestimate the Power of Stupid People in Large Groups." -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: clone URL missing in gitweb
Thanks tom. I verified and i have following line in my gitweb.cgi. But still i caould not get cloan our @git_base_url_list = grep { $_ ne '' } (""); @url_list = map { "$_/$project" } @git_base_url_list unless @url_list; # use per project git URL list in $projectroot/$project/cloneurl # or make project git URL from git base URL and project name my $url_tag = "URL"; my @url_list = git_get_project_url_list($project); @url_list = map { "$_/$project" } @git_base_url_list unless @url_list; foreach my $git_url (@url_list) { next unless $git_url; print format_repo_url($url_tag, $git_url); $url_tag = ""; } Thanks Bala -- View this message in context: http://git.661346.n2.nabble.com/clone-URL-missing-in-gitweb-tp7563176p7563196.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: clone URL missing in gitweb
Quoting baluchen : Hi, hi, But in my setup i coould not find "cloaning" option cloneurl is a "per repository" option, which is set as config option in your repository. see "man gitweb" for details. what you're probably searching for is the global option "git_base_url_list", which is used by gitweb to generate the clone URLs. hth, tom. -- Thomas "Duke" Hager d...@sigsegv.at GPG: 2048R/791C5EB1http://www.sigsegv.at/gpg/duke.gpg = "Never Underestimate the Power of Stupid People in Large Groups." -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html