Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-3500

code.qt.io does not allow shallow copies of submodules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 2014q1
    • Gerrit
    • None
    • Ubuntu 18.04 LTS 64 bit

      Trying to obtain a shallow copy of qt5's submodules fails with "error: Server does not allow request for unadvertised object".

      When cloning from codereview.qt-project.org, this will work. Please allow it on code.qt.io, too.

      Full log:

      qtrob@rob-desktop:/tmp$ git clone -b 5.15 --depth 1 git://code.qt.io/qt/qt5.git
      Cloning into 'qt5'...
      remote: Counting objects: 796, done.
      remote: Compressing objects: 100% (566/566), done.
      remote: Total 796 (delta 267), reused 374 (delta 83)
      Receiving objects: 100% (796/796), 2.06 MiB | 2.37 MiB/s, done.
      Resolving deltas: 100% (267/267), done.
      qtrob@rob-desktop:/tmp$ cd qt5
      qtrob@rob-desktop:/tmp/qt5$ git submodule update --init --depth 1 qtbase
      Submodule 'qtbase' (git://code.qt.io/qt/qtbase.git) registered for path 'qtbase'
      Cloning into '/tmp/qt5/qtbase'...
      remote: Total 0 (delta 0), reused 0 (delta 0)
      error: Server does not allow request for unadvertised object 2cbc5f6f7ae8ba580126a7cafc1898377c2a2407
      Fetched in submodule path 'qtbase', but it did not contain 2cbc5f6f7ae8ba580126a7cafc1898377c2a2407. Direct fetching of that commit failed.
      

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

            kari.oikarinen Kari Oikarinen
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes