create_nuevdb.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 # BEFORE YOU RUN THIS SCRIPT:
4 # git clone ssh://p-nutools@cdcvs.fnal.gov/cvs/projects/nutools nuevdb
5 # cd nuevdb
6 # git remote remove origin
7 # use git mv and git rm
8 # nutools becomes nuevdb
9 # nuevdb contains EventDisplayBase and IFDatabase
10 # edit CMakeLists.txt and nuevdb/CMakeLists.txt
11 # run UseNuevdb.sh
12 # git commit
13 
14 # AFTER EVERYTHING IS WORKING
15 # git remote add origin ssh://p-nuevdb@cdcvs.fnal.gov/cvs/projects/nuevdb
16 # git remote -v
17 # git push -u origin develop
18 # git push -u origin nova_v1_00_br
19 
20 # use git-delete-history.sh
21 
22 cd /home/garren/devel/nu/nuevdb
23 /home/garren/devel/nu/nutools/tools/nutools3/creation/git-delete-history.sh \
24  test \
25  tools \
26  nutools/EventGeneratorBase \
27  nutools/G4Base \
28  nutools/G4NuPhysicsLists \
29  nutools/MagneticField \
30  nutools/NuBeamWeights \
31  nutools/NuReweight \
32  nutools/ParticleNavigation \
33  nutools/RandomUtils
34 
35 git repack -A
36 git gc --aggressive
37 
38 # now rename
39 ##git mv nutools nugen
40 
41 exit 0
42