From: Bob Proulx <bob@proulx.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Error while trying to clone the Emacs git repo (via http)
Date: Thu, 26 Jan 2017 12:08:53 -0700 [thread overview]
Message-ID: <20170126115415341017787@bob.proulx.com> (raw)
In-Reply-To: <83h94n2kyh.fsf@gnu.org>
Eli Zaretskii wrote:
> Dani Moncayo wrote:
> > My second try has been to uset the http protocol (since the proxy
> > probably does not allow the git protocol):
> >
> > $ git clone http://git.sv.gnu.org/r/emacs.git
> > Cloning into 'emacs'...
> > remote: Counting objects: 780227, done.
> > remote: aborting due to possible repository corruption on the remote side.
> > fatal: protocol error: bad pack header
>
> AFAIK, Savannah doesn't (yet) support Git via HTTPS.
If there is a problem with http and if the problem is on the server
then there should be no difference between http and https. They both
provide exactly the same files. It is the same web server serving the
same files. Shouldn't be any difference.
Using http and an http proxy however may be a source of additional
problems however because I have chased down many problems over the
years that were due only to corruption caused by the proxy. I don't
know why but corporate http proxies seem to have a high error rate
well above any reasonable expectation. These days, in other work, if
I need any type of reliability, or any type of web form, then I always
force https in order to avoid use of corrupting bad proxies, in order
to avoid those problems. In some ways it is a shame that bad proxies
have destroyed it for the good ones. But in other developments we are
trying to encrypt everything and so proxies either good or bad have
been deprecated.
Perhaps counter-intuitively the problems with git-daemon and shallow
checkouts have prevented me releasing https to production. Or rather
I did previously release git to production. Thought everything was
working okay. Announced it. Hadn't said anything about https being
available "just in case" there were problems because it isn't
available on the old server. Then after a while started receiving
problem reports. Argh! I had to recall git back to the old server
while working through the problems. Was glad I hasn't said anything
about the availability of https. Thrashed for a bit. Decided to push
through the other version control services in order to get as much as
possible off of the old server. Now I am back to trying to resolve
the git-daemon problem with shallow checkouts. Unfortunately all git
services are tied to the git.savannah.gnu.org dns name and so it is
all of it or none of it at the same time.
Just to give some visibility into the happenings for those not
following along on the Savannah mailing lists. :-)
Bob
prev parent reply other threads:[~2017-01-26 19:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-25 9:28 Error while trying to clone the Emacs git repo (via http) Dani Moncayo
2017-01-25 9:42 ` Dan Čermák
2017-01-25 13:47 ` Dani Moncayo
2017-01-26 18:54 ` Bob Proulx
2017-01-25 15:55 ` Eli Zaretskii
2017-01-26 19:08 ` Bob Proulx [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170126115415341017787@bob.proulx.com \
--to=bob@proulx.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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.