[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: git URL wrong on anonscm.debian.org



On Sat, 09 Jan 2016, Roger Shimizu wrote:

> On Sat, Jan 9, 2016 at 12:19 AM, Alexander Wirt <formorer@debian.org> wrote:
> > On Sat, 09 Jan 2016, Roger Shimizu wrote:
> >> https://anonscm.debian.org/git/kernel/linux.git
> > All those urls work for cloning.
> >
> > So what exactly is your problem?
> 
> Thanks for your response!
> In browser, you see an https link, click it then you get an empty
> page, which I think user deserves better experience.
> 
> As kernel's upstream page,
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
> The https link won't get an empty page.
You are right. I added some more apache magic.

git clone https://anonscm.debian.org/git/kernel/linux.git
Cloning into 'linux'...
remote: Counting objects: 141055, done.

...

curl https://anonscm.debian.org/git/kernel/linux.git 2>&1 |grep -i \<title
<title>kernel/linux - Debian linux repository</title>

I now gives you either git smart http transport or the cgit website of the
project, depending on what you are asking for. 

Thanks for your suggestion

Alex


Reply to: