The solution of putting anything *skin-dependent* in the 'skins' directories
make sense.  And then, let *.vm files that are *not skin-dependent* in the
'templates' directory.  In JIRA[1], you argue that files in 'templates' may
break one of the skin without noticing it (because you were testing on the other
skin) but they shouldn't if they're truly *not skin-dependent*.

Of course, at least at the beginning, this modification will probably bring us
bugs about skins for files that are in 'templates' (even it they shouldn't), but
it's will be temporary ;-)

[1] 
http://jira.xwiki.org/browse/XWIKI-11027?focusedCommentId=82727&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-82727

On Wed, Oct 01, 2014 at 02:42:02PM +0200, Guillaume "Louis-Marie" Delhumeau 
wrote:
> Hi.
> 
> Since 6.2, we have the following issue:
> http://jira.xwiki.org/browse/XWIKI-11027 "The templates directory has VMs
> from Colibri".
> 
> Until now, we used to have all *.vm files in this directory, and nothing in
> the "colibri" one, because Colibri was the default skin.
> 
> Now that Flamingo is the default skin, we have to decide what we do with
> this directory. Should we move all Flamingo's files in that directory?
> Should we only put the files that Colibri & Flamingo have in common? I have
> reported a list of problems that these decisions make, on the Jira.
> 
> Actually, the "templates" directory seems to mean that we should put only
> "generic" templates. But what does it mean? Most of the files depends on
> the skin, so they are not generic. Except some files for the Distribution
> Wizard that should not be skin-dependent.
> 
> What do you think about it?
> 
> Thanks,
> 
> -- 
> Guillaume Delhumeau ([email protected])
> Research & Development Engineer at XWiki SAS
> Committer on the XWiki.org project
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs

-- 
Jean Simard
[email protected]
Research engineer at XWiki SAS
http://www.xwiki.com
Committer on the XWiki.org project
http://www.xwiki.org
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to