* clone URL missing in gitweb
@ 2012-07-18 6:07 baluchen
2012-07-18 6:58 ` Thomas Hager
0 siblings, 1 reply; 6+ messages in thread
From: baluchen @ 2012-07-18 6:07 UTC (permalink / raw)
To: git
Hi,
I setup gitweb and it is working. When you click any project in gitweb
following information will be displayed
cloning git clone http://vvvv.domain.com/git/Android/Abalone.git
description email client - web hybrid
owner ciebv245a daemon
last change Thu, 10 May 2012 15:44:36 +0000
But in my setup i coould not find "cloaning" option
How do i get http url as you see blow
http://git.kernel.org/?p=bluetooth/bluez-gnome.git;a=summary
description Bluetooth applications for GNOME
owner Marcel Holtmann
URL git://git.kernel.org/pub/scm/bluetooth/bluez-gnome.git
http://git.kernel.org/pub/scm/bluetooth/bluez-gnome.git
https://git.kernel.org/pub/scm/bluetooth/bluez-gnome.git
--
View this message in context: http://git.661346.n2.nabble.com/clone-URL-missing-in-gitweb-tp7563176.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: clone URL missing in gitweb
2012-07-18 6:07 clone URL missing in gitweb baluchen
@ 2012-07-18 6:58 ` Thomas Hager
2012-07-18 8:30 ` baluchen
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Hager @ 2012-07-18 6:58 UTC (permalink / raw)
To: git
Quoting baluchen <murugan.bala@gmail.com>:
> 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 duke@sigsegv.at
GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: clone URL missing in gitweb
2012-07-18 6:58 ` Thomas Hager
@ 2012-07-18 8:30 ` baluchen
2012-07-18 8:59 ` Thomas Hager
0 siblings, 1 reply; 6+ messages in thread
From: baluchen @ 2012-07-18 8:30 UTC (permalink / raw)
To: git
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: clone URL missing in gitweb
2012-07-18 8:30 ` baluchen
@ 2012-07-18 8:59 ` Thomas Hager
2012-07-18 10:26 ` baluchen
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Hager @ 2012-07-18 8:59 UTC (permalink / raw)
To: git
Quoting baluchen <murugan.bala@gmail.com>:
> 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 duke@sigsegv.at
GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: clone URL missing in gitweb
2012-07-18 8:59 ` Thomas Hager
@ 2012-07-18 10:26 ` baluchen
2012-07-18 14:39 ` Thomas Hager
0 siblings, 1 reply; 6+ messages in thread
From: baluchen @ 2012-07-18 10:26 UTC (permalink / raw)
To: git
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: clone URL missing in gitweb
2012-07-18 10:26 ` baluchen
@ 2012-07-18 14:39 ` Thomas Hager
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Hager @ 2012-07-18 14:39 UTC (permalink / raw)
To: git
Quoting baluchen <murugan.bala@gmail.com>:
> 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 duke@sigsegv.at
GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-18 14:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18 6:07 clone URL missing in gitweb baluchen
2012-07-18 6:58 ` Thomas Hager
2012-07-18 8:30 ` baluchen
2012-07-18 8:59 ` Thomas Hager
2012-07-18 10:26 ` baluchen
2012-07-18 14:39 ` Thomas Hager
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.