Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  05 Aug 2022, Stefan Ritt, Info, Information for midas updates though git 
    Reply  08 Aug 2022, Konstantin Olchanski, Info, Information for midas updates though git 
       Reply  08 Aug 2022, Stefan Ritt, Info, Information for midas updates though git 
Message ID: 2423     Entry time: 08 Aug 2022     In reply to: 2421
Author: Stefan Ritt 
Topic: Info 
Subject: Information for midas updates though git 
> after I set "submodule.recurse true", I still have to type "git submodule update --
> init --recursive", without --recursive, mscb/mxml is empty and the build bombs.

Indeed, doesn't work for me either. If some git guru has some more insight, please post 
here!

 
> P.S. the underlying issue is that the mxml submodule is now included twice 
> (midas/mxml and midas/mscb/mxml) and there is nothing to enforce that both copies are 
> the same. (No idea what happens if the two mxml's are different).

The version of each mxml is defined by last commit of the parent repository, which contains 
the hash of the submodule version. If we have to update mxml for some reason, we have to 
commit also mscb with the new version, and then midas with the same version of mxml. If one 
checks out midas then with 

git clone https://bitbucket.org/tmidas/midas --recursive

one gets the same versions for mxml.
ELOG V3.1.4-2e1708b5