Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9A4DE373 for ; Fri, 11 Jan 2013 17:29:53 +0000 (UTC) Received: (qmail 43685 invoked by uid 500); 11 Jan 2013 17:29:53 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 43546 invoked by uid 500); 11 Jan 2013 17:29:53 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 43533 invoked by uid 99); 11 Jan 2013 17:29:53 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 17:29:53 +0000 Received: from localhost (HELO mail-la0-f48.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 17:29:52 +0000 Received: by mail-la0-f48.google.com with SMTP id ej20so1989665lab.7 for ; Fri, 11 Jan 2013 09:29:50 -0800 (PST) Received: by 10.152.103.99 with SMTP id fv3mr72508386lab.16.1357925390646; Fri, 11 Jan 2013 09:29:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.76.231 with HTTP; Fri, 11 Jan 2013 09:29:30 -0800 (PST) In-Reply-To: References: <20130111143259.0887823889BB@eris.apache.org> From: Olivier Lamy Date: Fri, 11 Jan 2013 18:29:30 +0100 Message-ID: Subject: Re: svn commit: r1432062 - /commons/cms-site/trunk/content/resources/.htaccess To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 2013/1/11 sebb : > On 11 January 2013 16:22, Olivier Lamy wrote: >> 2013/1/11 sebb : >>> On 11 January 2013 14:32, wrote: >>>> Author: olamy >>>> Date: Fri Jan 11 14:32:58 2013 >>>> New Revision: 1432062 >>>> >>>> URL: http://svn.apache.org/viewvc?rev=1432062&view=rev >>>> Log: >>>> redirect for attributes >>>> >>>> Modified: >>>> commons/cms-site/trunk/content/resources/.htaccess >>>> >>>> Modified: commons/cms-site/trunk/content/resources/.htaccess >>>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/.htaccess?rev=1432062&r1=1432061&r2=1432062&view=diff >>>> ============================================================================== >>>> --- commons/cms-site/trunk/content/resources/.htaccess (original) >>>> +++ commons/cms-site/trunk/content/resources/.htaccess Fri Jan 11 14:32:58 2013 >>>> @@ -5,6 +5,7 @@ RedirectMatch ^(.*)/exec/(.*) $1/propers >>>> RedirectMatch ^(.*)/cli/(.*) $1/propers/commons-cli/$2 >>>> RedirectMatch ^(.*)/ognl/(.*) $1/propers/commons-ognl/$2 >>>> RedirectMatch ^(.*)/digester/(.*) $1/propers/commons-digester/$2 >>>> +RedirectMatch ^(.*)/attributes/(.*) $1/propers/commons-attributes/$2 >>> >>> Could these use Redirect instead? >> Sure for live target will work but not for testing here >> http://people.apache.org/~olamy/commons-content/ >>> >>> Also, why does the path include "propers" rather than "proper" as used >>> elsewere in commons SVN? >> >> Ah yes could be better. >> As I used dormant-sites and sandbox-sites maybe proper-sites WDYT ? > > What is the point of having both? > > dormant/ > dormant-sites/ > > The existing c.a.o website uses just > > dormant/ currently dormant has a content generated by cms (index.html). So adding content in this directory not generated by the cms mechanism will mean adding paths in ext paths file to avoid deletion. This mean adding: * dormant/cache * dormant/clazz * etc.. (one line per sub project deployed manually or via the scm publish maven plugin) And furthermore such path is not supported by cms for exclusion (lines in extpaths file must be depth one only or I missed something) > > There is currently no proper/ directory, as the proper component sites > are at the top-level. same explanation as for dormant and extpath content. If you still want commons.a.o/lang commons.a.o/math this will need one line per path in ext paths file. By experience I see that too much lines in ext paths tend to slow *a lot* publishing. > > Not sure why that cannot be maintained going forward, but if not, the > minimum change would be to add a proper/ subdirectory parallel to > dormant/ and sandbox/ > > Not having a parent proper/ directory does place some minor > restrictions on component names - e.g. one could not have a proper > component called "sandbox" or "css" or "images" for example - but that > is not a huge restriction, and it would avoid needing to use the > Redirect entries. > > Having said that, having a parent proper/ directory makes sense from > the point of view of consistency across the 3 classes of components, > so it's not critical to avoid it. > > But I do think having separate -sites folders is unnecessary complication. see explanation above. > > Whatever is finally decided upon needs to be properly documented. where ? in something like commons.a.o/publish-site.html ? > >>> >>> >>>> #sandbox >>>> RedirectMatch ^(.*)/sandbox/cli2/(.*) $1/sandbox-sites/commons-cli2/$2 >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> For additional commands, e-mail: dev-help@commons.apache.org >>> >> >> >> >> -- >> Olivier Lamy >> Talend: http://coders.talend.com >> http://twitter.com/olamy | http://linkedin.com/in/olamy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org