{"thread":{"id":"31047","subject":"clone URL missing in gitweb","startedAt":"2012-07-18T06:07:18Z","lastAt":"2012-07-18T14:39:25Z","messageCount":6,"participants":["baluchen","Thomas Hager"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"195247","messageId":"1342591638170-7563176.post@n2.nabble.com","threadId":"31047","inReplyTo":null,"subject":"clone URL missing in gitweb","fromName":"baluchen","fromEmail":"murugan.bala@gmail.com","sentAt":"2012-07-18T06:07:18Z","receivedAt":"2012-07-18T06:07:18Z","isPatch":false,"sender":{"key":"murugan.bala@gmail.com","avatar":null},"body":"Hi,\n\nI setup gitweb and it is working. When you click any project in gitweb\nfollowing information will be displayed\n\ncloning git clone http://vvvv.domain.com/git/Android/Abalone.git \ndescription email client - web hybrid \nowner ciebv245a daemon \nlast change Thu, 10 May 2012 15:44:36 +0000 \n\n\nBut in my setup i coould not find \"cloaning\" option\n\nHow do i get http url as you see blow\n\nhttp://git.kernel.org/?p=bluetooth/bluez-gnome.git;a=summary\n\ndescription Bluetooth applications for GNOME \nowner Marcel Holtmann \nURL git://git.kernel.org/pub/scm/bluetooth/bluez-gnome.git \n http://git.kernel.org/pub/scm/bluetooth/bluez-gnome.git \n https://git.kernel.org/pub/scm/bluetooth/bluez-gnome.git \n\n\n--\nView this message in context: http://git.661346.n2.nabble.com/clone-URL-missing-in-gitweb-tp7563176.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"195254","messageId":"20120718085853.1702340b2uu0gmnh@webmail.moger.at","threadId":"31047","inReplyTo":"1342591638170-7563176.post@n2.nabble.com","subject":"Re: clone URL missing in gitweb","fromName":"Thomas Hager","fromEmail":"duke@sigsegv.at","sentAt":"2012-07-18T06:58:53Z","receivedAt":"2012-07-18T06:58:53Z","isPatch":false,"sender":{"key":"duke@sigsegv.at","avatar":null},"body":"Quoting baluchen <murugan.bala@gmail.com>:\n> Hi,\nhi,\n\n> But in my setup i coould not find \"cloaning\" option\ncloneurl is a \"per repository\" option, which is set as config option  \nin your repository. see \"man gitweb\" for details.\n\nwhat you're probably searching for is the global option  \n\"git_base_url_list\", which is used by gitweb to generate the clone URLs.\n\nhth,\ntom.\n\n-- \nThomas \"Duke\" Hager                               duke@sigsegv.at\nGPG: 2048R/791C5EB1            http://www.sigsegv.at/gpg/duke.gpg\n=================================================================\n\"Never Underestimate the Power of Stupid People in Large Groups.\"\n"},{"id":"195267","messageId":"1342600220487-7563196.post@n2.nabble.com","threadId":"31047","inReplyTo":"20120718085853.1702340b2uu0gmnh@webmail.moger.at","subject":"Re: clone URL missing in gitweb","fromName":"baluchen","fromEmail":"murugan.bala@gmail.com","sentAt":"2012-07-18T08:30:20Z","receivedAt":"2012-07-18T08:30:20Z","isPatch":false,"sender":{"key":"murugan.bala@gmail.com","avatar":null},"body":"Thanks tom. \n\nI verified and i have following line in my gitweb.cgi. But still i caould\nnot get cloan\n\nour @git_base_url_list = grep { $_ ne '' } (\"\");\n        @url_list = map { \"$_/$project\" } @git_base_url_list unless\n@url_list;\n\n        # use per project git URL list in $projectroot/$project/cloneurl\n        # or make project git URL from git base URL and project name\n        my $url_tag = \"URL\";\n        my @url_list = git_get_project_url_list($project);\n        @url_list = map { \"$_/$project\" } @git_base_url_list unless\n@url_list;\n        foreach my $git_url (@url_list) {\n                next unless $git_url;\n                print format_repo_url($url_tag, $git_url);\n                $url_tag = \"\"; \n        }\n\n\n\nThanks\nBala\n\n--\nView this message in context: http://git.661346.n2.nabble.com/clone-URL-missing-in-gitweb-tp7563176p7563196.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"195268","messageId":"20120718105902.93105axz8oj5a5ee@webmail.moger.at","threadId":"31047","inReplyTo":"1342600220487-7563196.post@n2.nabble.com","subject":"Re: clone URL missing in gitweb","fromName":"Thomas Hager","fromEmail":"duke@sigsegv.at","sentAt":"2012-07-18T08:59:02Z","receivedAt":"2012-07-18T08:59:02Z","isPatch":false,"sender":{"key":"duke@sigsegv.at","avatar":null},"body":"Quoting baluchen <murugan.bala@gmail.com>:\n> I verified and i have following line in my gitweb.cgi. But still i caould\n> not get cloan\nand what does your configuration of gitweb look like?\n\nand what do mean with \"But still i caould not get cloan\"?\nare you trying to clone via gitweb?\n\nbye,\ntom.\n\n-- \nThomas \"Duke\" Hager                               duke@sigsegv.at\nGPG: 2048R/791C5EB1            http://www.sigsegv.at/gpg/duke.gpg\n=================================================================\n\"Never Underestimate the Power of Stupid People in Large Groups.\"\n"},{"id":"195269","messageId":"1342607206983-7563199.post@n2.nabble.com","threadId":"31047","inReplyTo":"20120718105902.93105axz8oj5a5ee@webmail.moger.at","subject":"Re: clone URL missing in gitweb","fromName":"baluchen","fromEmail":"murugan.bala@gmail.com","sentAt":"2012-07-18T10:26:46Z","receivedAt":"2012-07-18T10:26:46Z","isPatch":false,"sender":{"key":"murugan.bala@gmail.com","avatar":null},"body":"Tom,\n\nI verified the entries and they seems to be correct. But the clone and its\nURL is still now showing when browsing project summary page via gitweb\n\nThanks\nBala\n\n--\nView this message in context: http://git.661346.n2.nabble.com/clone-URL-missing-in-gitweb-tp7563176p7563199.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"195290","messageId":"20120718163925.79825k3b7o7lcfj1@webmail.moger.at","threadId":"31047","inReplyTo":"1342607206983-7563199.post@n2.nabble.com","subject":"Re: clone URL missing in gitweb","fromName":"Thomas Hager","fromEmail":"duke@sigsegv.at","sentAt":"2012-07-18T14:39:25Z","receivedAt":"2012-07-18T14:39:25Z","isPatch":false,"sender":{"key":"duke@sigsegv.at","avatar":null},"body":"Quoting baluchen <murugan.bala@gmail.com>:\n> I verified the entries and they seems to be correct. But the clone and its\n> URL is still now showing when browsing project summary page via gitweb\nwell, unless you at least post the most relevant options of your  \ngitweb config, i'm afraid i cannot help you. maybe a snippet of mine  \ngives you a hint:\n\n##\n##  gitweb.config.pl -- gitweb Perl configuration\n##\nour $projectroot = \"/var/lib/git/repositories\";\nour $projects_list = \"/var/lib/git/projects.list\";\nour $site_name = \"Git Home\";\nour @git_base_url_list = grep { $_ ne '' } (\"https://git.company.org/git\");\n[...]\n\nwith this config, gitweb displays the clone url of a repository  \n\"dummy.git\" located in \"/var/lib/git/repositories\" as\n\nhttps://git.company.org/git/dummy.git\n\nbye,\ntom.\n\n-- \nThomas \"Duke\" Hager                               duke@sigsegv.at\nGPG: 2048R/791C5EB1            http://www.sigsegv.at/gpg/duke.gpg\n=================================================================\n\"Never Underestimate the Power of Stupid People in Large Groups.\"\n"}]}