Re: [Development] Problems pushing changes to Gerrit

2014-03-19 Thread Konstantin Tokarev


17.03.2014, 16:19, Dmitry Shachnev mitya57...@gmail.com:
 Hi,

 On Mon, 17 Mar 2014 07:54:31 +, Andy Shaw wrote:

  You seem to be missing the port, if you add:

  :29418

  After the address so it is:

  git push ssh://mandri...@codereview.qt-project.org:29418/qt/qt 
 HEAD:refs/for/4.8

  then does this solve the problem?

 No, that does not work. Actually, when it works, it works without the port 
 number.


Works fine in the url of remote:

[remote origin]
fetch = +refs/heads/*:refs/remotes/origin/*
url = ssh://annu...@codereview.qt-project.org:29418/qt-creator/qt-creator


-- 
Regards, Konstantin
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Problems pushing changes to Gerrit

2014-03-17 Thread Shaw Andy
 Gerrit seems to reject some of my changes with this error:
 
   $ git push ssh://mandri...@codereview.qt-project.org/qt/qt HEAD:refs/for/4.8
   error: error: invalid protocol: wanted 'old new ref'
   fatal: internal server error
   fatal: The remote end hung up unexpectedly
   Counting objects: 30, done.
   Compressing objects: 100% (6/6), done.
   error: pack-objects died of signal 13
   error: failed to push some refs to 'ssh://mandri...@codereview.qt-
 project.org/qt/qt'
 
 For example, today I successfully pushed a change to qtmultimedia, but failed 
 to
 push a change to qt4. Some weeks ago I got a similar problem with qtwebkit,
 but
 resolved this by pushing from a different machine. Now I get this error from 
 two
 different machines (with different SSH keys), one running Ubuntu and one
 running
 Debian GNU/Linux.
 
 Retrying from a fresh Git tree, adding different port numbers or URI schemes
 does not help.
 
 Does anybody know what may cause this behavior?

You seem to be missing the port, if you add:

 :29418

After the address so it is:

git push ssh://mandri...@codereview.qt-project.org:29418/qt/qt HEAD:refs/for/4.8

then does this solve the problem?

Andy
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Problems pushing changes to Gerrit

2014-03-17 Thread Dmitry Shachnev
Hi,

On Mon, 17 Mar 2014 07:54:31 +, Andy Shaw wrote:
 You seem to be missing the port, if you add:

 :29418

 After the address so it is:
 
 git push ssh://mandri...@codereview.qt-project.org:29418/qt/qt 
 HEAD:refs/for/4.8
 
 then does this solve the problem?

No, that does not work. Actually, when it works, it works without the port 
number.

--
Dmitry Shachnev

signature.asc
Description: OpenPGP digital signature
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Problems pushing changes to Gerrit

2014-03-17 Thread Thiago Macieira
Em seg 17 mar 2014, às 16:19:36, Dmitry Shachnev escreveu:
  git push ssh://mandri...@codereview.qt-project.org:29418/qt/qt
  HEAD:refs/for/4.8
  
  then does this solve the problem?
 
 No, that does not work. Actually, when it works, it works without the port
 number.

It never works with the regular port 22. If it works for you without the port 
number, you must have configured ssh (~/.ssh/config) for that particular host.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Problems pushing changes to Gerrit

2014-03-16 Thread Dmitry Shachnev
Hi,

Gerrit seems to reject some of my changes with this error:

  $ git push ssh://mandri...@codereview.qt-project.org/qt/qt HEAD:refs/for/4.8
  error: error: invalid protocol: wanted 'old new ref'
  fatal: internal server error
  fatal: The remote end hung up unexpectedly
  Counting objects: 30, done.
  Compressing objects: 100% (6/6), done.
  error: pack-objects died of signal 13
  error: failed to push some refs to 
'ssh://mandri...@codereview.qt-project.org/qt/qt'

For example, today I successfully pushed a change to qtmultimedia, but failed to
push a change to qt4. Some weeks ago I got a similar problem with qtwebkit, but
resolved this by pushing from a different machine. Now I get this error from two
different machines (with different SSH keys), one running Ubuntu and one running
Debian GNU/Linux.

Retrying from a fresh Git tree, adding different port numbers or URI schemes
does not help.

Does anybody know what may cause this behavior?

Kind regards,

--
Dmitry Shachnev

signature.asc
Description: OpenPGP digital signature
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development