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

Replace import * when modules are imported only to be cloned #17153

Merged

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Jan 11, 2017

No description provided.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_9_0_X.

It involves the following packages:

PhysicsTools/PatAlgos

@cmsbuild, @cvuosalo, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks.
@TaiSakuma, @gouskos, @imarches, @ahinzmann, @acaudron, @mmarionncern, @rappoccio, @jdolen, @nhanvtran, @gpetruc, @gkasieczka, @schoef, @ferencek, @mverzett, @mariadalfonso, @pvmulder, @JyothsnaKomaragiri this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@@ -1,14 +1,14 @@
import FWCore.ParameterSet.Config as cms

from CommonTools.ParticleFlow.Isolation.electronPFIsolationDepositsPFBRECO_cff import *
import CommonTools.ParticleFlow.Isolation.electronPFIsolationDepositsPFBRECO_cff as m
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this better be as _m so that someplace else with electronPFIsolationDepositsPAT_cff import * doesn't end up with a rogue m?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I agree that would be better. I will update the PR soon.

What I did was enough to keep unwanted things out of the Process object and the list of unscheduled modules. But you are right, the "m" symbol would show up in the symbol table of the importing modules, which is unnecessary and could cause problems if anyone tried to use it because of conflicts.

@wddgit
Copy link
Contributor Author

wddgit commented Jan 12, 2017

I updated the PR with the change from m to _m suggested by Slava. I do not know why, but I did not see the email I usually see after updating a PR, but it should be ready to be tested now.

@slava77
Copy link
Contributor

slava77 commented Jan 12, 2017

@cmsbuild please test

@smuzaffar is this the normal behavior of the bot (to send no messages on a PR that had no other state changes like no tests were started and no labels were modified yet, but there was a new commit)

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 12, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17259/console Started: 2017/01/12 22:19

@smuzaffar
Copy link
Contributor

@slava77 , no it is not a normal behavior. This only happens when there is no comment between new commit the time when bot had recognized the PR.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@monttj
Copy link
Contributor

monttj commented Jan 13, 2017

+1

@slava77
Copy link
Contributor

slava77 commented Jan 13, 2017

+1

for #17153 7093224

  • changes are as described
  • jenkins tests pass and comparisons with the baseline show no differences as expected

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@davidlange6 davidlange6 merged commit 251d630 into cms-sw:CMSSW_9_0_X Jan 13, 2017
@wddgit wddgit deleted the from-CMSSW_9_0_X_2017-01-11-1100 branch August 2, 2017 14:59
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

6 participants