Michael, I recall you’re working on building a test tool that sees changes and runs applicable tests? If that’s the case, why would it matter if CHANGES.txt gets updated? The vast majority of the time there is a reference to a JIRA issue from the commit message, and most JIRA issues that have code committed to them will wind up in CHANGES.txt. There may be exceptions but I wouldn’t concern yourself with that. There is an incentive to update CHANGES.txt where it is appropriate — it’s a place to give yourself credit as much as it is a place to notify users. So your tool would see a commit and run the subset of applicable tests based on some sort of source-code dependency graph; right? Of course for many parts of Lucene, that will trigger all tests being run. And in some cases, a dependency tool won’t see code looked-up dynamically using SPI mechanisms like the Analysis factories and Codecs and Solr PluginInfos.
~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Sat, Dec 6, 2014 at 11:25 PM, Michael Wechner <michael.wech...@wyona.com> wrote: > Hi > > Yesterday "morning" I have noticed the following changes > > - > lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java > - lucene/core/src/java/org/apache/lucene/index/MergePolicy.java > - > lucene/core/src/test/org/apache/lucene/index/TestConcurrentMergeScheduler.java > > and with these modifications also CHANGES.txt was updated. > > Yesterday "afternoon" I have noticed the following change > > - lucene/core/src/java/org/apache/lucene/index/IndexWriter.java > > but this time CHANGES.txt was not updated (also > lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java was not > updated). > > As written in a previous email I am trying to test changes incrementally, > hence I was wondering whether it would be helpful, that such a system for > incremental testing would also point out things like maybing missing > updates, like for example for CHANGES.txt or associated tests. > > But in order to do so, the system should implement some kind of rule, > hence I was wondering what the rule is about CHANGES.txt? > > I know it sounds a bit like parents saying "hey, have you brushed your > teeth?!" and it can be rather annoying, but it can also be very useful for > the future having good teeth :-) > > Thanks > > Michael >