On Fri, May 30, 2014 at 1:16 PM, Tudor Girba <tu...@tudorgirba.com> wrote:
> I do not quite understand. > > If it is an overriden method, the dirtyness should not go away when > looking for changes, no? > +1 > In our case, there are no changes found. > > @Usman: what is the problematic method? > Doru, I didn't try it in moose yet. I'll give it a try later in the afternoon and inform you. > > Doru > > > On Fri, May 30, 2014 at 1:11 PM, Usman Bhatti <usman.bha...@gmail.com> > wrote: > >> Tx for the pointer Thierry. >> >> So, I did a small script (because there were 314 methods) to see number >> of non-class-extension methods with and without loading the dirty marker >> package and I could spot the culprit. >> >> Running this script before and after loading the second package and doing >> a difference on the two sets shows determining the overridden method. >> >> methods := (RPackage organizer packageNamed: packageName) definedClasses >> flatCollect: [:class | class methodDict values]. >> methods := methods select: [:aMethod | aMethod category asString >> includesSubstring: '*']. >> >> >> regards, >> usman >> >> >> >> On Wed, May 28, 2014 at 4:30 PM, Goubier Thierry <thierry.goub...@cea.fr> >> wrote: >> >>> Hi Usman, >>> >>> look if the loaded package has overrides on other packages. If yes, it >>> will dirty them, and looking for changes will clean them. >>> >>> Thierry >>> >>> Le 28/05/2014 15:59, Usman Bhatti a écrit : >>> >>> Hi, >>>> >>>> It is second time in a week that I have to analyze a problem related to >>>> a package getting dirty because of loading another package. But when >>>> looking for changes, the first package becomes clean again. >>>> >>>> >>>> One occurrence of the problem can be seen in the latest moose image: >>>> - download the latest image here:https://ci.inria.fr/ >>>> moose/job/moose-5.0/ >>>> - monticello browser -> Collections-Abstract -> changes and the package >>>> becomes clean. >>>> >>>> Any idea how to determine which method(s) from the incoming package >>>> might be causing changes in the loaded package? Or generally, how to go >>>> about correcting this problem? >>>> >>>> usman >>>> >>>> >>> -- >>> Thierry Goubier >>> CEA list >>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués >>> 91191 Gif sur Yvette Cedex >>> France >>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95 >>> >>> >> > > > -- > www.tudorgirba.com > > "Every thing has its own flow" >