Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-20837

init-repository `--http' switch doesn't apply to nested submodules (e.g. v8)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.0
    • 5.0.0
    • Build tools: Other
    • None
    • Standard Ubuntu 11.04 desktop (git protocol ports blocked)
    • 38e02c6434ef7bc29c38a2139db2595031414440

    Description

      Steps:
      1. git clone https://git.gitorious.org/qt/qt5.git qt5
      2. cd qt5
      3. ./init-repository --ignore-submodules --http --no-webkit

      Output:
      ...
      Cloning into qtdeclarative...
      + git config commit.template /home/user/qt5/qtdeclarative/../.commit-template
      + git remote add gerrit http://codereview.qt.nokia.com/p/qt/qtdeclarative
      + git submodule init
      Submodule 'src/3rdparty/v8' (git://github.com/aaronkennedy/v8.git) registered for path 'src/3rdparty/v8'
      + git submodule update
      Cloning into src/3rdparty/v8...
      github.com[0: 207.97.227.239]: errno=Connection timed out
      fatal: unable to connect a socket (Connection timed out)
      Clone of 'git://github.com/aaronkennedy/v8.git' into submodule path 'src/3rdparty/v8' failed
      git submodule update exited with status 256 at ./init-repository line 298
      Qt::InitRepository::exe('Qt::InitRepository=HASH(0x9337b38)', 'git', 'submodule', 'update') called at ./init-repository line 645
      Qt::InitRepository::git_clone_one_submodule('Qt::InitRepository=HASH(0x9337b38)', 'qtdeclarative', 'http://git.gitorious.org/qt/qtdeclarative.git') called at ./init-repository line 506
      Qt::InitRepository::git_clone_all_submodules('Qt::InitRepository=HASH(0x9337b38)') called at ./init-repository line 670
      Qt::InitRepository::run('Qt::InitRepository=HASH(0x9337b38)') called at ./init-repository line 681

      It seems that git-protocol is used for v8. This problem can be circumvented by cloning the repository by hand after the error and re-running the script with --force.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rmcgover Rohan McGovern (Inactive)
            akseppan Aki Seppänen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes