On Sun, Sep 11, 2016 at 7:33 PM, Vincent Massol <vincent(a)massol.net> wrote:
Hi devs,
We have a platform distribution that allows users to pick the flavor they wish to use.
However we’re currently not advertising it. Instead we’re currently advertising XE on the
xwiki.org download pages.
I’m proposing that we change that:
* Advertise the platform distribution in the download pages of
xwiki.org. We would simply
call it “XWiki”, e.g. XWiki 8.3.
* Move existing xwiki-platform-distribution/xwiki-platform-flavor into
xwiki-platform-distribution/xwiki-platform-flavors/xwiki-platform-flavor-base
* Create a new flavor in
xwiki-platform-distribution/xwiki-platform-flavors/xwiki-platform-flavor-<new name
here>
* I’m proposing to name this new flavor
"Knowledge Base” (and the module
xwiki-platform-distribution/xwiki-platform-flavors/xwiki-platform-flavor-kb) since this is
what most users use XWiki for. The idea, initially, would simply be to use the same deps
as XE and maybe remove the Blog app (or not).
If it's the same as XE it means having a platform package depending on
various Contrib extensions.
* Stop distributing the XE packagings
We’re already well into the XWiki 8.3 dev (M2 is planned for tomorrow Monday) so it seems
a bit ambitious to do this for 8.3. We could do it for 8.4 though. WDYT?
This is not doable in 8.3 IMO.
Outstanding questions:
* How do we upgrade existing users using XE?
Here is what would be the current situation if we don't do anything special:
1) [FS] the user replace the XE WAR with the XWiki one and restart
2) [DW] a flavor is already installed (XE) so DW do nothing in the Flavor Step
3) [DW] Extensions Step cannot find any valid
org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki version so it does
nothing
4) [EM] you have to go to EM and install "Knowledge Base" flavor which
will replace XE flavor (because we make XE flavor a feature of
"Knowledge Base" flavor)
Then there is various ways to help.
= Improve 2) Flavor step
The official way to improve this use case is supposed to be to finish
http://jira.xwiki.org/browse/XWIKI-12148 for which there is already a
place holder in the code which is supposed to do the following:
* if there is already a flavor and it's invalid:
a) try to find a new valid version for it
b) if none can be found propose other valid flavors
When we have that we can improve again a bit.
== Help step a)
** use Maven reallocation mechanism which in practice mean actually
release a "virtual" artifact with old XE group idea forever
** or decide to make e.x.o. support several secondary ids for the same
extension, meaning that if you try to resolve
org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki 9.0 on it you
actually end up with extension
org.xwiki.platform:xwiki-patform-flavor-kb 9.0
This also mean making EM aware that it might not receive what it asked
for and also deal with the WTF effect this might cause.
== Help step b)
** just document the fact that "Knowledge Base" is the new name for
"XWiki Enterprise" either in the summary or in the name itself with
something like "Knowledge Base (new XWiki Enterprise)". Doing it only
during the 9.x cycle or more for example and then stop.
= Improve 3) Extensions Step
If we don't do
http://jira.xwiki.org/browse/XWIKI-12148 and we just do
what is described in "Help step a)" section then "Knowledge Base"
extension will be proposed as a valid upgrade of the extension XE
flavor in the Extensions Step of the DW.
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne