1. Oct 01, 2013
  2. Aug 28, 2013
  3. Aug 21, 2013
    • Andras Becsi's avatar
      Add command line flags to init-repository.py · fd661fe6
      Andras Becsi authored
      
      This patch adds --upstream (-u) and --snapshot (-s) flags to the
      init-repository script which make it possible to choose the
      Chromium sources to use when building QtWebEngine. The default
      is to use the upstream submodules.
      This option is persisted with git config and used throughout the
      build system.
      This patch also keeps support for the CHROMIUM_SRC_DIR env
      variable which can be used to specify external Chromium
      sources which are assumed to be set up for the build and
      thus left untouched by the script.
      
      Change-Id: Ic83984199770076f90867f1b22a63b220bfe7359
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      fd661fe6
  4. Aug 19, 2013
    • Zeno Albisser's avatar
      Make sure submodule changes do not show up as a diff. · 0342f6c5
      Zeno Albisser authored
      
      This is needed to prevent .gitmodules changes
      from showing up when using the upstream repositories.
      It will also prevent changes in submodules from showing
      up and being added to a commit by accident.
      
      Change-Id: Ia74f59ebce6d458b39c6ca2472aa6e623cd280fd
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      0342f6c5
    • Zeno Albisser's avatar
      Update init-repository.py to allow using upstream chromium repository. · fada4c70
      Zeno Albisser authored
      
      The regular workflow now is just to clone the qtwebengine repository
      and then execute the following commands.
        git submodule init && git submodule update --recursive && qmake && make
      This will also clone a submodule called 3rdparty which contains the
      chromium and ninja sources without pulling in further submodules
      and without a complete history.
      
      Developers that do want to have a complete chromium checkout instead
      should not use the above command sequence.
      Instead they should just clone qtwebengine, execute the
      init-repository.py script, run qmake and make.
      The init-repository.py script will then checkout the complete
      chromium sources into a subdirectory called 3rdparty_upstream.
      The location of these sources will be picked up by qmake automatically.
      
      Change-Id: I0fa4f1d554bdca2e852b6a97aa2e5462d90d8664
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      fada4c70
  5. Aug 16, 2013
    • Zeno Albisser's avatar
      Add export_from_git.py to take snapshots from chromium and ninja. · 285ba164
      Zeno Albisser authored
      
      Split out the Submodule class and related functions from
      init-repository.py into a separate python module git_submodule.py.
      This is necessary in order to reuse the code for the export script.
      
      The export_from_git.py script can be used to export files
      from a git repository into an arbitrary directory.
      It spiders submodules and applies some pattern matching to remove
      unwanted files.
      This script can be used to create flattened chromium snapshots
      to be used in our CI system.
      
      Change-Id: Iade8126fae6c28b5347c9d6e08941e28d3e0e7be
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      285ba164
  6. Jul 28, 2013
    • Zeno Albisser's avatar
      Make init-repository.py properly reset all submodules. · dcfabade
      Zeno Albisser authored
      
      With this patch init-repository.py will also abort uncommited
      git am/merge/rebase sessions and it will do a git reset --hard
      on every submodule.
      
      We are no longer executing a 'git submodule update --recursive'
      in the patch-chromium.sh script, since init-repository.py
      takes care of checking out the proper revisions.
      
      Change-Id: I6cc50944d888ffce5e3d282500dffe3daffecdf4
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      dcfabade
  7. Jun 27, 2013