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

init-repository --module-subset=essential initializes too much

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • Build tools: Other
    • None
    • All

    Description

      The new Bourne shell + cmake based init-repository does not properly honor initializing just the essential modules.

      It is initializing all of the modules with status "essential" and their "recommends" modules. It should be only initializing the "essential" modules and their "depends" modules.

      Command line I use to test:

      poppy:qt5-testinitrepository kkyzivat$ ./init-repository --module-subset=essential
      + git config --get initrepository.initialized
      + git config remote.origin.url
      + git submodule init qtrepotools qtbase qtimageformats qtshadertools qtsvg qtlanguageserver qtdeclarative qtactiveqt qttools qttranslations qtquicktimeline qtquick3d qtmultimedia qtwebsockets qtwebchannel qtserialport qtpositioning qtwebengine qtdoc qtqa
      Submodule 'qtactiveqt' (git://code.qt.io/qt/qtactiveqt.git) registered for path 'qtactiveqt'
      Submodule 'qtbase' (git://code.qt.io/qt/qtbase.git) registered for path 'qtbase'
      Submodule 'qtdeclarative' (git://code.qt.io/qt/qtdeclarative.git) registered for path 'qtdeclarative'
      Submodule 'qtdoc' (git://code.qt.io/qt/qtdoc.git) registered for path 'qtdoc'
      Submodule 'qtimageformats' (git://code.qt.io/qt/qtimageformats.git) registered for path 'qtimageformats'
      Submodule 'qtlanguageserver' (git://code.qt.io/qt/qtlanguageserver.git) registered for path 'qtlanguageserver'
      Submodule 'qtmultimedia' (git://code.qt.io/qt/qtmultimedia.git) registered for path 'qtmultimedia'
      Submodule 'qtpositioning' (git://code.qt.io/qt/qtpositioning.git) registered for path 'qtpositioning'
      Submodule 'qtqa' (git://code.qt.io/qt/qtqa.git) registered for path 'qtqa'
      Submodule 'qtquick3d' (git://code.qt.io/qt/qtquick3d.git) registered for path 'qtquick3d'
      Submodule 'qtquicktimeline' (git://code.qt.io/qt/qtquicktimeline) registered for path 'qtquicktimeline'
      Submodule 'qtserialport' (git://code.qt.io/qt/qtserialport.git) registered for path 'qtserialport'
      Submodule 'qtshadertools' (git://code.qt.io/qt/qtshadertools.git) registered for path 'qtshadertools'
      Submodule 'qtsvg' (git://code.qt.io/qt/qtsvg.git) registered for path 'qtsvg'
      Submodule 'qtwebchannel' (git://code.qt.io/qt/qtwebchannel.git) registered for path 'qtwebchannel'
      Submodule 'qtwebengine' (git://code.qt.io/qt/qtwebengine.git) registered for path 'qtwebengine'
      Submodule 'qtwebsockets' (git://code.qt.io/qt/qtwebsockets.git) registered for path 'qtwebsockets'
      + git config commit.template /Users/kkyzivat/Build/qt-git/qt5-testinitrepository/.commit-template
      + git version
      + git config remote.origin.url git://code.qt.io/qt/qtrepotools.git
      + git fetch origin --progress
      + git config commit.template /Users/kkyzivat/Build/qt-git/qt5-testinitrepository/.commit-template
      + git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtrepotools.git
      + git config remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* /heads/
      + git clone --no-checkout --progress git://code.qt.io/qt/qtbase.git qtbase
      Cloning into 'qtbase'...
      ^C

      Workaround presently is to just fall back to using the legacy perl script.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes