On Oct 9, 2012, at 11:09 AM, Thomas Mortagne <[email protected]> wrote:

> Hi devs,
> 
> In order to automate the update of extensions imported from
> https://github.com/xwiki/ we need to have nothing to modify when an
> import is done.
> 
> The last remaining thing is the name on which there is a debate is the
> name. Right now the name we have in our maven project looks like
> "XWiki Commons - Extension - Repository - Maven" so that's what we get
> when importing this project or when viewing it in EM UI.
> 
> Some of us want to keep this idish name for Maven build but don't like
> it when displaying extension. I recently introduced a way to overwrite
> some extension related informations like the name based on properties.
> 
> So here are the choices we have:
> 
> 1) Do nothing which mean display "XWiki Commons - Extension -
> Repository - Maven" in EM UI and extensions.xwiki.org

This doesn't seem very friendly to me.

FTR I've opened http://jira.xwiki.org/jira/browse/XWIKI-8739 and FTM 
implemented option 3 to have friendly names.

> 2) Change our naming in Maven <name> property for it to be more a name
> than an id that would looks good in EM UI

I'm ok with this one since:
* I don't think it matters that much for us devs to have friendly names
* It's more important that users see friendly names than us devs
* It's less work to change in one place than to maintain 2 places

> 3) Keep the same naming for Maven <name> and overwrite it everywhere
> using <xwiki.extension.name> property

I'm also fine with this one. Slightly more work but still doable.

This is what I've done so far with http://jira.xwiki.org/jira/browse/XWIKI-8739 
using the new property introduced by Thomas.

> So, WDYT ?
> 
> The one that makes the more sense to me is 2) so my +1 goes to this
> one. Frankly I don't care too much having the current id based display
> of the summary of built modules in Maven build and I personally won't
> have any issue to know what name correspond to what project (but
> that's because I know them well, I can understand new dev could be a
> bit more lost).
> 
> Then:
> * +0 for 3) to +0 (I don't like too much having this special case
> everywhere in our Maven pom.xml)
> * -0 for 1) (I agree that it does not looks very nice as a display name).

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to