You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/03/25 19:09:15 UTC
[jira] [Commented] (COMMONSSITE-75) Revert to short URLs for the
component sites
[ https://issues.apache.org/jira/browse/COMMONSSITE-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612922#comment-13612922 ]
Sebb commented on COMMONSSITE-75:
---------------------------------
There were several reasons why the /proper/ path segment was introduced:
* consistency with sandbox/dormant
* there are already some directories at top-level; using a sub-directory eliminates the possibility of name clashes
* makes the extpaths.txt file much simpler; does not have to be editted every time a new component is added
I'm not 100% sure why <componentName> was changed to commons-<componentName>.
The former is available from ${commons.componentid}; the latter from ${project.artifactId}.
I suspect it's not possible to use ${commons.componentid} directly, as that may not always be the correct value.
However, it would be possible to introduce a new property which defaults to ${commons.componentid} and only override where necessary.
I'm not saying that the layout cannot be changed, but it may not be trivial; it took a long time to get this one right.
> Revert to short URLs for the component sites
> --------------------------------------------
>
> Key: COMMONSSITE-75
> URL: https://issues.apache.org/jira/browse/COMMONSSITE-75
> Project: Commons All
> Issue Type: Bug
> Components: Site
> Reporter: Emmanuel Bourg
>
> With the recent site update the components are now published at the URL:
> {code}http://commons.apache.org/(proper|sandbox|dormant)/commons-<componentname>{code}
> That doesn't make very friendly URLs. "commons" is displayed twice, in the subdomain and before the component name. We should at least have:
> {code}http://commons.apache.org/(proper|sandbox|dormant)/<componentname>{code}
> And for the components in Commons Proper we should drop "proper" from the path such that we are back with the same, short, friendly URLs:
> {code}http://commons.apache.org/<componentname>{code}
> or
> {code}http://commons.apache.org/(sandbox|dormant)/<componentname>{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira