-
Notifications
You must be signed in to change notification settings - Fork 0
/
extraTags
45 lines (35 loc) · 1.33 KB
/
extraTags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
CDIR=$PWD
cd /tmp/$USER
git clone --mirror [email protected]:cms-sw/cmssw cmssw.git
cd $CDIR
cmsrel CMSSW_5_3_9
cd CMSSW_5_3_9/src
cmsenv
git init
git remote add setup [email protected]:h2gglobe/setup.git
git fetch setup
git merge setup/master
#git checkout TAG
git submodule init
git submodule update
git remote add cmssw_local /tmp/$USER/cmssw.git
#need to fetch at each checkout -> Local mirror
#addpkg CommonTools/RecoUtils V00-00-09 771a64690052e4b4e7eaf68d41f19ba03c6ea05e
git fetch cmssw_local CMSSW_6_2_X
git checkout 771a64690052e4b4e7eaf68d41f19ba03c6ea05e -- CommonTools/RecoUtils
#addpkg RecoEgamma/EgammaTools V09-00-00 ae6aebfd02089494ec045953f1a13c6719d8f9d6 96e5f7e
git fetch cmssw_local CMSSW_6_2_X
git checkout 96e5f7e -- RecoEgamma/EgammaTools
cp HiggsAnalysis/HiggsTo2photons/scripts/download.url EGamma/EGammaAnalysisTools/data/.
cd EGamma/EGammaAnalysisTools/data/
wget -i ../../../HiggsAnalysis/HiggsTo2photons/scripts/download.url
cd ../../../
##################### UNUSED STUFF & USEFUL COMMAND
#echo "CommonTools/RecoUtils" >> .git/info/sparsecheckout
#echo "RecoEgamma/EgammaTools" >> .git/info/sparsecheckout
#git addpkg CommonTools/RecoUtils
#git addpkg RecoEgamma/EgammaTools
#git rev-list -n 1 --before="=2013-05-23 15:41:36" CMSSW_6_2_X
#git remote add cmssw [email protected]:cms-sw/cmssw
#git fetch cmssw-main-ro