Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.32 KB

Restructuring.md

File metadata and controls

43 lines (30 loc) · 2.32 KB

Repository restructuring

This is a temporary running document to summarize the changes happening in SBN code and the related modifications.

The repositories currently involved are: sbncode, sbnobj, sbndcode and icaruscode. The latter two become dependent on sbncode, which depends on sbnobj.

Code transfer

from to to commits missing steps partial?
icaruscode/PMT/Trigger/Data sbnobj/ICARUS/PMT/Trigger/Data 0834ea71 no
icaruscode/CRT/CRTProducts sbnobj/Common/CRT 629ef134 CRTHit.hh, CRTHit.cc, CRTTrack.hh, CRTTrack.cc, CRTTzero.hh, CRTTzero.cc, classes_def.xml, classes.h
icaruscode/CRT/CRTProducts sbnobj/ICARUS/CRT 40ba93a6 CRTData.cc, CRTData.hh, classes_def.xml, classes.h
sbndcode/CRT/CRTProducts sbnobj/SBND/CRT 40ba93a6 CRTData.cc, CRTData.hh, classes_def.xml, classes.h
icaruscode/IcarusObj sbnobj/Common/Analysis 743e2f50 no

In addition, "new" files were created:

Things to do when moving code

  1. copy the code to the new location [A]
  2. rework the destination path if needed
  3. update the CMakeLists.txt file of the destination directory to include the new paths, if any [B]
  4. update the fixing script sbncode/scripts/updates/restructuring.py or create a new one
  5. add and commit into the feature branch
  6. remove the code to the old location (and commit into the feature branch) [A]
  7. purge the CMakeLists.txt file of the old directory from the old path, if needed [B]
  8. run the update script and commit again (separating the addition and the fix into distinct commits)
  9. check that everything compiles and automatic tests are ok
  10. add a line to the table above

([A] and [B] mark mirror steps)