-
1. Re: are there any plans to produce reports that highlight changes between versions?
jesper.pedersen Jun 28, 2010 9:35 AM (in response to tkirby)1 of 1 people found this helpfulShort answer: Yes
Longer answer: Yes, I have plans about making diff an integrated part of Tattletale - from a class level to an archive level. This will allow us to deep dive into the differences between various project/product releases and get an overview of what has changed - the same use-case as yours.
That being said - I have limited time atm to work on the 1.2 release - hopefully there will be a 1.1.1 release soon though.
So any contributions in this area would be great, and I can provide starting points too.
-
2. Re: are there any plans to produce reports that highlight changes between versions?
tkirby Jun 28, 2010 11:37 AM (in response to jesper.pedersen)If you would care to give me the starting points I can certainly have a look at doing something.
-
3. Re: are there any plans to produce reports that highlight changes between versions?
jesper.pedersen Jun 28, 2010 3:18 PM (in response to tkirby)Ah, excellent
My initial thoughts are that
org.jboss.tattletale.Main
should have the ability to have two directories as inputs and output the difference between these directories as sort of the same reports we have today.
The
org.jboss.tattletale.core
package contains the core datastructures that represents an archive - like JarArchive.
The
org.jboss.tattletale.analyzers
package handles the scanning of the archives -- note that only .jar is supported atm -- so you should get the list from there.
Then it is "basically" to make a diff between these two datastructures and generate the reports.
However, what would be an optimal approach would be to design an XML representation of the reports which takes the diff use-case into account. I think we need to think about how we want the information presented first.
I would like to see the information for both source directory as well as any difference, which I think would be tricky using the current format -- ideally we should have both the standard report and the diff report within the same report component.
The XML model would also allow us to easier to integrate with other frontends than HTML - f.ex. a Hudson Tattletale plugin.
Depending on your use-case we may need to record more information, but I see that as a minor problem as Javassist already is scanning the classes.
Open a forum thread for each of the features you would like to work on - and feel free to ping me anytime.
HTH