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

2016-01-12 Thread Roger Shimizu
On Sat, Jan 9, 2016 at 2:55 PM, Paul Wise  wrote:
> On Sat, Jan 9, 2016 at 2:29 AM, Alexander Wirt wrote:
>
>> curl https://anonscm.debian.org/git/kernel/linux.git 2>&1 |grep -i \> kernel/linux - Debian linux repository
>
> I wonder if a redirect would be more appropriate?

I agree redirection is even better.
But since robots.txt of the git site disallow everything, it might be
not much different.

Cheers,
Roger



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

2016-01-08 Thread Alexander Wirt
On Sat, 09 Jan 2016, Roger Shimizu wrote:

> On Sat, Jan 9, 2016 at 12:19 AM, Alexander Wirt  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 \kernel/linux - Debian linux repository

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



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

2016-01-08 Thread Roger Shimizu
On Sat, Jan 9, 2016 at 3:29 AM, Alexander Wirt  wrote:
> On Sat, 09 Jan 2016, Roger Shimizu wrote:
>> On Sat, Jan 9, 2016 at 12:19 AM, Alexander Wirt  wrote:
>> > On Sat, 09 Jan 2016, Roger Shimizu wrote:
>> 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 \ kernel/linux - Debian linux repository
>
> I now gives you either git smart http transport or the cgit website of the
> project, depending on what you are asking for.

The empty page goes away. Thanks for the change!

Cheers,
Roger



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

2016-01-08 Thread Paul Wise
On Sat, Jan 9, 2016 at 2:29 AM, Alexander Wirt wrote:

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

I wonder if a redirect would be more appropriate?

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Fwd: git URL wrong on anonscm.debian.org

2016-01-08 Thread Roger Shimizu
I want to report a bug regarding to {anonscm,git}.debian.org, but I
don't find a pseudo package to file bugreport to, so I contacted
ad...@alioth.debian.org, but no reply yet for nearly 1 month.

I hope maybe someone here can help. Thank you!

Cheers,
Roger

-- Forwarded message --
From: Roger Shimizu 
Date: Sun, Dec 20, 2015 at 1:11 AM
Subject: git URL wrong on anonscm.debian.org
To: ad...@alioth.debian.org


Dear Alioth Admin,

Hope I send the issue report here right.

the git URL of each project on anonscm.debian.org is like:
- https://anonscm.debian.org/git//.git

but actually above link is dead, and correct link is:
- https://anonscm.debian.org/cgit//.git

You can check the following page as example:
- http://anonscm.debian.org/cgit/kernel/linux.git

on the bottom of the page, it says:


Clone
https://anonscm.debian.org/git/kernel/linux.git
git://anonscm.debian.org/kernel/linux.git
ssh://git.debian.org/git/kernel/linux.git


Looking forward to the fix!

Cheers,
Roger



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

2016-01-08 Thread Alexander Wirt
On Sat, 09 Jan 2016, Roger Shimizu wrote:

> I want to report a bug regarding to {anonscm,git}.debian.org, but I
> don't find a pseudo package to file bugreport to, so I contacted
> ad...@alioth.debian.org, but no reply yet for nearly 1 month.
> 
> I hope maybe someone here can help. Thank you!
> 
> Cheers,
> Roger
> 
> -- Forwarded message --
> From: Roger Shimizu 
> Date: Sun, Dec 20, 2015 at 1:11 AM
> Subject: git URL wrong on anonscm.debian.org
> To: ad...@alioth.debian.org
> 
> 
> Dear Alioth Admin,
> 
> Hope I send the issue report here right.
> 
> the git URL of each project on anonscm.debian.org is like:
> - https://anonscm.debian.org/git//.git
Thats about cloning. And it works. 
 git clone https://anonscm.debian.org/git/pkg-nagios/pkg-icinga2.git 
 Cloning into 'pkg-icinga2'...
 remote: Counting objects: 7767, done.


> but actually above link is dead, and correct link is:
Its not dead.
> - https://anonscm.debian.org/cgit//.git
> 
> You can check the following page as example:
> - http://anonscm.debian.org/cgit/kernel/linux.git
> 
> on the bottom of the page, it says:
> 
> 
> Clone
^
> https://anonscm.debian.org/git/kernel/linux.git
> git://anonscm.debian.org/kernel/linux.git
> ssh://git.debian.org/git/kernel/linux.git
All those urls work for cloning.

So what exactly is your problem? 

Alex



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

2016-01-08 Thread Roger Shimizu
On Sat, Jan 9, 2016 at 12:19 AM, Alexander Wirt  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.

Cheers,
Roger