public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Overlay repo on github
@ 2017-03-28 17:57 Ivan Gagis
  2017-03-28 18:04 ` David Stacey
  2017-03-28 19:16 ` Steven Penny
  0 siblings, 2 replies; 9+ messages in thread
From: Ivan Gagis @ 2017-03-28 17:57 UTC (permalink / raw)
  To: The Cygwin Mailing List

Hi,


I'm trying to setup a cygwin overlay repo right on github, here:

https://github.com/igagis/cygwin-repo

But when I pass the repo URL to setup utility as follows:

http://github.com/igagis/cygwin-repo/raw/master/

it does not work. Setup utility tries to download setup.xz and just 
stalls with 0% progress bar, and the only option is to Cancel the setup.


So, the question is what is wrong? Could there be some redirections 
happening on github which the setup program does not support?

It looks like when using this 'raw content' URLs to github it works as 
usual file tree, shouldn't it work?


Br,

Ivan



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-28 17:57 Overlay repo on github Ivan Gagis
@ 2017-03-28 18:04 ` David Stacey
  2017-03-28 18:29   ` Ivan Gagis
  2017-03-30  0:21   ` kenpillay
  2017-03-28 19:16 ` Steven Penny
  1 sibling, 2 replies; 9+ messages in thread
From: David Stacey @ 2017-03-28 18:04 UTC (permalink / raw)
  To: cygwin; +Cc: igagis

On 28/03/17 18:21, Ivan Gagis wrote:
> I'm trying to setup a cygwin overlay repo right on github, here:
>
> https://github.com/igagis/cygwin-repo
>
> But when I pass the repo URL to setup utility as follows:
>
> http://github.com/igagis/cygwin-repo/raw/master/
>
> it does not work. Setup utility tries to download setup.xz and just 
> stalls with 0% progress bar, and the only option is to Cancel the setup.
>
>
> So, the question is what is wrong? Could there be some redirections 
> happening on github which the setup program does not support?
>
> It looks like when using this 'raw content' URLs to github it works as 
> usual file tree, shouldn't it work?

This is because Cygwin's setup supports http but not https.

Dave.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-28 18:04 ` David Stacey
@ 2017-03-28 18:29   ` Ivan Gagis
  2017-03-29 12:17     ` Jon Turney
  2017-03-30  0:21   ` kenpillay
  1 sibling, 1 reply; 9+ messages in thread
From: Ivan Gagis @ 2017-03-28 18:29 UTC (permalink / raw)
  To: cygwin

Ah, I see, even though I use http it still redirects to https...

Is it hard to add support for https? Any plans to do that?

Br,

Ivan


On 03/28/2017 08:57 PM, David Stacey wrote:
> On 28/03/17 18:21, Ivan Gagis wrote:
>> I'm trying to setup a cygwin overlay repo right on github, here:
>>
>> https://github.com/igagis/cygwin-repo
>>
>> But when I pass the repo URL to setup utility as follows:
>>
>> http://github.com/igagis/cygwin-repo/raw/master/
>>
>> it does not work. Setup utility tries to download setup.xz and just 
>> stalls with 0% progress bar, and the only option is to Cancel the setup.
>>
>>
>> So, the question is what is wrong? Could there be some redirections 
>> happening on github which the setup program does not support?
>>
>> It looks like when using this 'raw content' URLs to github it works 
>> as usual file tree, shouldn't it work?
>
> This is because Cygwin's setup supports http but not https.
>
> Dave.
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-28 17:57 Overlay repo on github Ivan Gagis
  2017-03-28 18:04 ` David Stacey
@ 2017-03-28 19:16 ` Steven Penny
  1 sibling, 0 replies; 9+ messages in thread
From: Steven Penny @ 2017-03-28 19:16 UTC (permalink / raw)
  To: cygwin

On Tue, 28 Mar 2017 20:21:17, Ivan Gagis wrote:
> I'm trying to setup a cygwin overlay repo right on github, here:
> https://github.com/igagis/cygwin-repo

This is an awful idea. Git, and in turn GitHub, are not designed for or meant
for storage of binary files.

Please stop doing this and use an existing mirror:

http://cygwin.com/mirrors.html

Or if you insisting on hosting your own do it properly and not by hijacking a
Git repo.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-28 18:29   ` Ivan Gagis
@ 2017-03-29 12:17     ` Jon Turney
  2017-03-29 13:05       ` Ivan Gagis
  0 siblings, 1 reply; 9+ messages in thread
From: Jon Turney @ 2017-03-29 12:17 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: Ivan Gagis

On 28/03/2017 19:03, Ivan Gagis wrote:
> Ah, I see, even though I use http it still redirects to https...
>
> Is it hard to add support for https? Any plans to do that?

No plans, but we take patches :)

> On 03/28/2017 08:57 PM, David Stacey wrote:
>> On 28/03/17 18:21, Ivan Gagis wrote:
>>> I'm trying to setup a cygwin overlay repo right on github, here:
>>>
>>> https://github.com/igagis/cygwin-repo
>>>
>>> But when I pass the repo URL to setup utility as follows:
>>>
>>> http://github.com/igagis/cygwin-repo/raw/master/
>>>
>>> it does not work. Setup utility tries to download setup.xz and just
>>> stalls with 0% progress bar, and the only option is to Cancel the setup.
>>>
>>>
>>> So, the question is what is wrong? Could there be some redirections
>>> happening on github which the setup program does not support?
>>>
>>> It looks like when using this 'raw content' URLs to github it works
>>> as usual file tree, shouldn't it work?
>>
>> This is because Cygwin's setup supports http but not https.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-29 12:17     ` Jon Turney
@ 2017-03-29 13:05       ` Ivan Gagis
  2017-03-29 19:22         ` Jon Turney
  0 siblings, 1 reply; 9+ messages in thread
From: Ivan Gagis @ 2017-03-29 13:05 UTC (permalink / raw)
  To: The Cygwin Mailing List

2017-03-29 14:57 GMT+03:00 Jon Turney <jon.turney@dronecode.org.uk>:
> On 28/03/2017 19:03, Ivan Gagis wrote:
>>
>> Ah, I see, even though I use http it still redirects to https...
>>
>> Is it hard to add support for https? Any plans to do that?
>
>
> No plans, but we take patches :)

I wanted to look into that, but could not find the sources of setup
utility in the cygwin git repo :).

Now, I found some way to workaround this, on github it is possible to
make a github-pages to work with master branch and then after I
connected a custom domain to github-pages it was possible to use it
with HTTP instead of forced HTTPS.

>
>
>> On 03/28/2017 08:57 PM, David Stacey wrote:
>>>
>>> On 28/03/17 18:21, Ivan Gagis wrote:
>>>>
>>>> I'm trying to setup a cygwin overlay repo right on github, here:
>>>>
>>>> https://github.com/igagis/cygwin-repo
>>>>
>>>> But when I pass the repo URL to setup utility as follows:
>>>>
>>>> http://github.com/igagis/cygwin-repo/raw/master/
>>>>
>>>> it does not work. Setup utility tries to download setup.xz and just
>>>> stalls with 0% progress bar, and the only option is to Cancel the setup.
>>>>
>>>>
>>>> So, the question is what is wrong? Could there be some redirections
>>>> happening on github which the setup program does not support?
>>>>
>>>> It looks like when using this 'raw content' URLs to github it works
>>>> as usual file tree, shouldn't it work?
>>>
>>>
>>> This is because Cygwin's setup supports http but not https.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-29 13:05       ` Ivan Gagis
@ 2017-03-29 19:22         ` Jon Turney
  0 siblings, 0 replies; 9+ messages in thread
From: Jon Turney @ 2017-03-29 19:22 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: Ivan Gagis

On 29/03/2017 13:17, Ivan Gagis wrote:
> 2017-03-29 14:57 GMT+03:00 Jon Turney <jon.turney@dronecode.org.uk>:
>> On 28/03/2017 19:03, Ivan Gagis wrote:
>>>
>>> Ah, I see, even though I use http it still redirects to https...
>>>
>>> Is it hard to add support for https? Any plans to do that?
>>
>>
>> No plans, but we take patches :)
>
> I wanted to look into that, but could not find the sources of setup
> utility in the cygwin git repo :).

[1] is linked to from various places on cygwin.com.  You could also just 
ask :)

[1] https://sourceware.org/cygwin-apps/setup.html

> Now, I found some way to workaround this, on github it is possible to
> make a github-pages to work with master branch and then after I
> connected a custom domain to github-pages it was possible to use it
> with HTTP instead of forced HTTPS.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-28 18:04 ` David Stacey
  2017-03-28 18:29   ` Ivan Gagis
@ 2017-03-30  0:21   ` kenpillay
  2017-03-30  4:29     ` Brian Inglis
  1 sibling, 1 reply; 9+ messages in thread
From: kenpillay @ 2017-03-30  0:21 UTC (permalink / raw)
  To: cygwin; +Cc: cygwin, igagis

the difference in http and https is port 80 versus 8080 

>On Mar 28, 2017, at 10:57 AM, David Stacey <drstacey@tiscali.co.uk> wrote:

> On 28/03/17 18:21, Ivan Gagis wrote:
>> I'm trying to setup a cygwin overlay repo right on github, here:
>> 
>> https://github.com/igagis/cygwin-repo
>> 
>> But when I pass the repo URL to setup utility as follows:
>> 
>> http://github.com/igagis/cygwin-repo/raw/master/
>> 
>> it does not work. Setup utility tries to download setup.xz and just stalls with 0% progress bar, and the only option is to Cancel the setup.
>> 
>> 
>> So, the question is what is wrong? Could there be some redirections happening on github which the setup program does not support?
>> 
>> It looks like when using this 'raw content' URLs to github it works as usual file tree, shouldn't it work?
> 
> This is because Cygwin's setup supports http but not https.
> 
> Dave.
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Overlay repo on github
  2017-03-30  0:21   ` kenpillay
@ 2017-03-30  4:29     ` Brian Inglis
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Inglis @ 2017-03-30  4:29 UTC (permalink / raw)
  To: cygwin

On 2017-03-29 16:11, Ken Pillay wrote:
>> On Mar 28, 2017, at 10:57 AM, David Stacey wrote:
>> On 28/03/17 18:21, Ivan Gagis wrote:
>>> I'm trying to setup a cygwin overlay repo right on github, here:
>>> https://github.com/igagis/cygwin-repo
>>> But when I pass the repo URL to setup utility as follows:
>>> http://github.com/igagis/cygwin-repo/raw/master/
>>> it does not work. Setup utility tries to download setup.xz and
>>> just stalls with 0% progress bar, and the only option is to
>>> Cancel the setup.
>>> So, the question is what is wrong? Could there be some
>>> redirections happening on github which the setup program does not
>>> support?
>>> It looks like when using this 'raw content' URLs to github it
>>> works as usual file tree, shouldn't it work?
>> This is because Cygwin's setup supports http but not https.
> the difference in http and https is port 80 versus 8080

Default port http 80 vs https 443. Port 8080 is often used for local 
web services and testing. Https also has the minor extra requirements 
of TLS, digital certificate, and crypto support i.e. some SSL support 
package.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-30  2:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 17:57 Overlay repo on github Ivan Gagis
2017-03-28 18:04 ` David Stacey
2017-03-28 18:29   ` Ivan Gagis
2017-03-29 12:17     ` Jon Turney
2017-03-29 13:05       ` Ivan Gagis
2017-03-29 19:22         ` Jon Turney
2017-03-30  0:21   ` kenpillay
2017-03-30  4:29     ` Brian Inglis
2017-03-28 19:16 ` Steven Penny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).