Re: What's cooking in git.git (Sep 2013, #07; Mon, 23)

2013-09-23 Thread Stefan Beller
On 09/23/2013 11:10 PM, Jonathan Nieder wrote:
 You can find the changes described here in the integration branches at
 
 https://repo.or.cz/r/git/jrn.git
 
 I am still catching up on patches sent since last week.  If I have
 missed yours, do not despair, but feel free to send me a reminder to
 look at it.

How would I get these changes?
A plain 
git fetch https://repo.or.cz/r/git/jrn.git
doesn't work, as it yields:
fatal: unable to access 'https://repo.or.cz/r/git/jrn.git/': server certificate 
verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

So I'll try without security:
$ env GIT_SSL_NO_VERIFY=true git fetch https://repo.or.cz/r/git/jrn.git
fatal: Couldn't find remote ref HEAD
Unexpected end of command stream

I guess I'm doing it not quite right, so please enlighten me.
Thanks,
Stefan
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: What's cooking in git.git (Sep 2013, #07; Mon, 23)

2013-09-23 Thread Jonathan Nieder
Stefan Beller wrote:
 On 09/23/2013 11:10 PM, Jonathan Nieder wrote:

 https://repo.or.cz/r/git/jrn.git
[...]
 How would I get these changes?
 A plain 
   git fetch https://repo.or.cz/r/git/jrn.git
 doesn't work, as it yields:
 fatal: unable to access 'https://repo.or.cz/r/git/jrn.git/': server 
 certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt 
 CRLfile: none

Thanks for noticing.  Hm, I'll bug the repo.or.cz admins about this.

The URL

git://repo.or.cz/git/jrn.git

should work for access by git protocol.  Web interface:
http://repo.or.cz/w/git/jrn.git

 So I'll try without security:
   $ env GIT_SSL_NO_VERIFY=true git fetch https://repo.or.cz/r/git/jrn.git
   fatal: Couldn't find remote ref HEAD

Fixed, thanks.  (I had left HEAD pointing to branch that doesn't
exist any more.)

Jonathan
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: What's cooking in git.git (Sep 2013, #07; Mon, 23)

2013-09-23 Thread Jonathan Nieder
Stefan Beller wrote:

   git fetch https://repo.or.cz/r/git/jrn.git
 doesn't work, as it yields:
 fatal: unable to access 'https://repo.or.cz/r/git/jrn.git/': server 
 certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt 
 CRLfile: none

Ah, figured it out.  http://repo.or.cz/h/rootcert.html explains.

Later this week I'll start pushing to multiple hosts, including github
which has a certificate signed by DigiCert.

Thanks again,
Jonathan
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: What's cooking in git.git (Sep 2013, #07; Mon, 23)

2013-09-23 Thread Kyle J. McKay

On Sep 23, 2013, at 14:54, Jonathan Nieder wrote:

Stefan Beller wrote:


git fetch https://repo.or.cz/r/git/jrn.git
doesn't work, as it yields:
fatal: unable to access 'https://repo.or.cz/r/git/jrn.git/': server  
certificate verification failed. CAfile: /etc/ssl/certs/ca- 
certificates.crt CRLfile: none


Ah, figured it out.  [1] http://repo.or.cz/h/rootcert.html explains.


The four possible fetch URLs are also listed on the http://repo.or.cz/w/git/jrn.git 
 page:


  git://repo.or.cz/git/jrn.git

  http://repo.or.cz/r/git/jrn.git

  ssh://repo.or.cz/srv/git/git/jrn.git

  https://repo.or.cz/r/git/jrn.git

As Jonathan has pointed out, fetching over https may require some  
additional setup as explained above [1].


Fetching using ssh can be accomplished without needing to create a  
user account by using the mob user as in the URL ssh://m...@repo.or.cz/srv/git/git/jrn.git 
.


The git: and http: URLs should work as-is for fetching.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html