Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-530

Allow modules to define if they are single/multi-module builds

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P4: Low
    • None
    • None
    • Dependency Resolver
    • None

    Description

      At the moment the submodule resolver requires 'branch' field in .gitmodules to determine that submodule should be cloned within the parent/modules folder. In case that field is missing, it will introduce hidden side-effect that will cause the submodule to be cloned as a top-level git repository, e.g:

       {QT_CI_REPO_DIR}/submodule/.git

      instead of the parent's module submodule folder

       {QT_CI_REPO_DIR}/parent/modules/submodule/.git

      This causes breakages in citests that assume static git-repos folder structure and will fail to assert when attempting to clone submodule repository.

      Ideally, we should not have dependency to 'branch' field, but rather allow parent module to declare whether its submodules should be declared as separate module or as submodule.

      Attachments

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

        Activity

          People

            tosaario Toni Saario
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes