On Apr 7, 2011, at 8:38 PM, Sergiu Dumitriu wrote:
On 04/07/2011 08:04 PM, Vincent Massol wrote:
On Apr 7, 2011, at 7:55 PM, Sergiu Dumitriu wrote:
On 04/07/2011 07:00 PM, Vincent Massol wrote:
Hi devs,
The idea is to have the same version and same release for everything related to commons.
Rationale:
* Stop the spread of a git repos (see
https://github.com/xwiki).
* Make it even easier to release. Only one command to release the whole xwiki-commons
* No need for git modules (svn externals previously)
The proposal is:
xwiki-commons/ (git repo)
|_ xwiki-commons-pom/
|_ xwiki-commons-tools/
|_ xwiki-commons-core/
|_ pom.xml
Details:
* xwiki-commons/pom.xml contains everything that's currently in
xwiki-commons-pom/pom.xml *except* the parts related to the tools (license and
verification)
* xwiki-commons/pom.xml has an artifact id of "xwiki-commons"
* xwiki-commons/xwiki-commons-pom/pom.xml has xwiki-commons/pom.xml as parent and adds
the parts related to the tools (license and verification)
* xwiki-commons/xwiki-commons-pom/pom.xml has an artifact id of
"xwiki-commons-pom"
* xwiki-commons/xwiki-commons-tools/pom.xml uses xwiki-commons/pom.xml as parent
* all other git repos uses "xwiki-commons-pom" as their parent
+1.
Note that for JIRA we would have 3 jira projects
to make it easy for users (because jira doesn't allow nested components):
* XWiki Commons POM
* XWiki Commons Tools
* XWiki Commons Core
I'm not sure 3 projects are needed. Why not a single XWiki-commons project, with
different submodules? Especially since they are released together and have the same
version.
what is a submodule in jira?
Sorry, I meant components.
The problem is that you can have nested components so we would need to prefix all current
components with "Core -" and introduce the tool ones with "Tools -" +
the pom one with "Pom -".
I think it's going to be confusing for users and their focus is going to be core
modules mostly, not tools nor top level pom.
What we could do though is log anything related to tools and top level pom in the existing
"Build, Infrastructure and Tests". I like that idea. WDYT?
Thanks
-Vincent
Note that if
we agree we would do the same for xwiki-platform (ie move platform tools in
xwiki-platform).
WDYM? The tools are already there.
They're git repos now and not in the xwiki-platform git repo.
I see, I was thinking about the final subdirectory structure, without
thinking of repositories and submodules.
--
Sergiu Dumitriu