On Wed, Dec 3, 2014 at 4:11 PM, Victor Rachieru <[email protected]> wrote: > Hei devs, > > I intend to integrate the ratings application which is now on xwiki-contrib > into the xwiki-platform. > > This in mainly due to 3 points: > ----- > 1/ give the ability to use ratings in a wiki > 2/ using it to provide ratings for the Extension Repository Application > (XWIKI-7780) > 3/ display ratings within Extension Manager (XWIKI-11509) > > The first point can be accomplished by using the ratings app as is but the > other two imply that the ratings app should be a module that is maintained > by XWiki. It makes sense that if the Extension Repository App and Extension > Manager which are maintained by XWiki depend on the Ratings App, that this > itself is maintained by XWiki as well. > > The steps needed for this is as follows: > ----- > 1/ create a new module in the xwiki-platform core for the ratings > - xwiki-platform-core > -- xwiki-platform-ratings > --- xwiki-platform-ratings-api > --- xwiki-platform-ratings-ui > 2/ change the artifact id from "application-ratings" to > "xwiki-platform-ratings" > 3/ change the package from "org.xwiki.contrib.ratings" to > "org.xwiki.platform.ratings" > > Implications > ----- > 1/ clone of the existing code is now in xwiki-platform under a different > artifact id (having duplicate code, this takes us to #2) > 2/ the code from xwiki-contrib would probably have to be deemed as "retired" > 3/ the applications with a dependency to the xwiki-contrib ratings would > have to be upgraded to depend on the module from xwiki-platform > 4/ the script service would remain unchanged (changing the artifact id and > package name does not affect the service) > 5/ if by any chance someone has code that uses the classes from the ratings > app on contrib, by upgrading, that code will cease to function > > Please state you position on this matter. > > Links > ----- > http://extensions.xwiki.org/xwiki/bin/view/Extension/Ratings+API > http://extensions.xwiki.org/xwiki/bin/view/Extension/Ratings+Application > https://github.com/xwiki-contrib/application-ratings > > Thank you, > Victor > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs
Either the the new module is a new version and it should keep retro-compatibility to not instantly break all extensions using the old app when you upgrade XWiki (but given the fact that we are not going to keep org.xwiki.contrib.ratings package I doubt this is an option) or we make sure the new module and the old module can run at the same time in the same instance which means no conflicts (different script service ids, different pages names when they are completely different from old ones, etc). -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

