Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change some strings to InputTag for proper HLT ConfDB tracking #1656

Merged
merged 3 commits into from Dec 7, 2013

Conversation

Martin-Grunewald
Copy link
Contributor

Change some strings to InputTag for proper HLT ConfDB tracking.
Package code and local py cfi files are updated.

This change is backward compatible: if an old or private py config still contains
the parameter as a string, cmsRun will issue a warning for you to update your py
config but run doing the correct(TM) thing!

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2013

A new Pull Request was created by @Martin-Grunewald (Martin Grunewald) for CMSSW_7_0_X.

Change some strings to InputTag for proper HLT ConfDB tracking

It involves the following packages:

Calibration/HcalIsolatedTrackReco
RecoMuon/L3MuonIsolationProducer

@nclopezo, @demattia, @cmsbuild, @thspeer, @rcastello, @slava77 can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@ktf you are the release manager for this.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2013

@thspeer
Copy link
Contributor

thspeer commented Dec 3, 2013

+1
tested 9e3b567 in CMSSW_7_0_X_2013-12-03-0200-1656
No difference in reco, based on RelMon and reco script

@rcastello
Copy link

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2013

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

@nclopezo
Copy link
Contributor

nclopezo commented Dec 6, 2013

@Martin-Grunewald

Hi Martin,

This pull request has become unmergeable. Could you please rebase it?

@Martin-Grunewald
Copy link
Contributor Author

Sorry, I do not see any conflict - so what am I supposed to do?

@nclopezo
Copy link
Contributor

nclopezo commented Dec 6, 2013

You can resolve the conflicts, and then push again to this branch. I think this can help you:
http://cms-sw.github.io/cmssw/tutorial-forward-port.html

@Martin-Grunewald
Copy link
Contributor Author

Sorry, it does not:

First of all I do not see any merge conflicts.
Second, what release should I rebase to?
The generic 7_0_X git tag?
I tried, again no conflicts:

gruen@ughent2:~/CMS/CMSSW_7_0_X_2013-12-06-0200/src/[118]$ git branch
CMSSW_7_0_X
cms-sw/refs/pull/1656/head

  • from-CMSSW_7_0_X_2013-12-06-0200
    gruen@ughent2:/CMS/CMSSW_7_0_X_2013-12-06-0200/src/[119]$ git rebase CMSSW_7_0_X
    First, rewinding head to replay your work on top of it...
    Applying: Change some strings to InputTag for proper HLT ConfDB tracking
    gruen@ughent2:
    /CMS/CMSSW_7_0_X_2013-12-06-0200/src/[120]$ ls

@davidlt
Copy link
Contributor

davidlt commented Dec 6, 2013

Does not merge on top of CMSSW_7_0_X:

$ git merge Martin-Grunewald/String2InputTag
Auto-merging Calibration/HcalIsolatedTrackReco/src/HITRegionalPixelSeedGenerator.h
CONFLICT (content): Merge conflict in Calibration/HcalIsolatedTrackReco/src/HITRegionalPixelSeedGenerator.h
Auto-merging RecoMuon/L3MuonIsolationProducer/src/IsolationRegionAroundL3Muon.h
CONFLICT (content): Merge conflict in RecoMuon/L3MuonIsolationProducer/src/IsolationRegionAroundL3Muon.h
Automatic merge failed; fix conflicts and then commit the result.

Between IB you use and CMSSW_7_0_X there are changes on the same files.

Regarding rebasing, you should rebase it on top of CMSSW_7_0_X.

@nclopezo
Copy link
Contributor

nclopezo commented Dec 6, 2013

Thanks! I was just going to write something similar.

@Martin-Grunewald
Copy link
Contributor Author

error: failed to push some refs to 'git@github.com:Martin-Grunewald/cmssw.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

The tutorial is kind of useless for this case.

@nclopezo
Copy link
Contributor

nclopezo commented Dec 6, 2013

you can check that what you currently have is what you want for this pr, and then try doing git push -f to rewrite the history of this branch.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2013

Pull request #1656 was updated. @nclopezo, @demattia, @cmsbuild, @thspeer, @rcastello, @slava77 can you please check and sign again.

@rcastello
Copy link

+1

@Martin-Grunewald
Copy link
Contributor Author

Can someone re-write the cited tutorial to make it actually usefull?

Ie, it seems to me it should be:

If someone tells you that your branch no longer merges, do the following:

Make a new developer area:

cmsrel CMSSW_7_0_X_2013-12-06-0200
cd CMSSW_7_0_X_2013-12-06-0200/src
cmsrel

Update to the HEAD of 7_0_X:

git cms-merge-topic CMSSW_7_0_X

Connect to your old branch which does not merge, for example:

git checkout -b String2InputTag

Run the merge try, eg:

git cms-merge-topic 1656

Look for conflicts:

git diff

Fix them:

emacs ...
emacs ...

Commit them back to the old branch:

git commit -a -m "This sucks bigtime"

Push the branch:

git push my-cmssw HEAD:String2InputTag

(beware: must add "HEAD:" in the above)

@Martin-Grunewald
Copy link
Contributor Author

Ah, sorry, second cmsrel (without argument) in the above should rather be cmsenv.

@Martin-Grunewald
Copy link
Contributor Author

#1702 to add the above recipe to the tutorial page.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2013

ktf added a commit that referenced this pull request Dec 7, 2013
HLT cleanups -- Change some strings to InputTag for proper HLT ConfDB tracking
@ktf ktf merged commit 11fc3fd into cms-sw:CMSSW_7_0_X Dec 7, 2013
@ktf
Copy link
Contributor

ktf commented Dec 7, 2013

Bypassing signatures, given they were all given previously.

@Martin-Grunewald Martin-Grunewald deleted the String2InputTag branch December 8, 2013 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants