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 33EF3D505 for ; Tue, 18 Dec 2012 20:44:19 +0000 (UTC) Received: (qmail 3045 invoked by uid 500); 18 Dec 2012 20:44:18 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 2837 invoked by uid 500); 18 Dec 2012 20:44:18 -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 2808 invoked by uid 99); 18 Dec 2012 20:44:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 20:44:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ralph.goers@dslextreme.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-ob0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 20:44:09 +0000 Received: by mail-ob0-f182.google.com with SMTP id 16so1163041obc.13 for ; Tue, 18 Dec 2012 12:43:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=UQVkel0txFSqysM9kBelOeUZrcn8nSf7n/wtG5qFAtY=; b=e1CaYghY5RmgduNGDEGeIoEG+JvaVeezhUjj7G3dupzzhLbFcclxVb97B+lvei2MTC OGUYpnfaFBQAbn9BxR0weP885fTCwQF7HiKsSC8uRDXDpUigpvXI6QYEgqkSkpmI5Rve ZqQVVWNW1MzrcI/DoxsB6dabFh+HjpRwqGX2+qQibOtVvU+r9A+d7pruV7tif7gjSzCb iVHxz1W2asCTbSENl7XwLoOtEXA+SLlY4VSD+JE5fn+qUiSgtuf7umkm8ho8niHg/E4T lRVV7wNwxQXDvcfxRPPCECUOfHbIgcUXix+4hpRaJa7oDMwf0LVGvKEJfGvfuyPa92dC iB7g== X-Received: by 10.182.202.39 with SMTP id kf7mr2868699obc.37.1355863428579; Tue, 18 Dec 2012 12:43:48 -0800 (PST) Received: from [192.168.244.102] (cowboy.intuit.com. [65.204.229.11]) by mx.google.com with ESMTPS id q4sm1898572obz.3.2012.12.18.12.43.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Dec 2012 12:43:47 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: We will not be able to update our websites... From: Ralph Goers In-Reply-To: Date: Tue, 18 Dec 2012 12:43:54 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20121214214054.GF20488@dusk.harfang.homelinux.org> <20121214220725.GH20488@dusk.harfang.homelinux.org> <27696813-A824-48B0-B8D2-A4890E492574@dslextreme.com> <1DA172AB-7EBA-4D82-8267-AD9CB4B0530E@dslextreme.com> <2CED3B63-FFFB-4E31-B0F7-A0CE6965CC15@dslextreme.com> <88030D83-4CEF-40F6-BA85-1E83664C57B7@dslextreme.com> To: "Commons Developers List" X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQnPLZOFz/AzteI/uqbKr6AXyE+24oDyehUsdWmcafmGK+W1SI5/TNnpyDFFQEj80aBCsKOm X-Virus-Checked: Checked by ClamAV on apache.org On Dec 18, 2012, at 12:18 PM, Olivier Lamy wrote: > 2012/12/18 Ralph Goers : >>=20 >> On Dec 18, 2012, at 9:10 AM, Olivier Lamy wrote: >>=20 >>> 2012/12/18 Ralph Goers : >>>> I still don't understand why you are committing the subprojects to = svn. That is not required. Just use stage-deploy to deploy to a local = directory on your computer, then copy that under where you have the = production web site checked out and check it in. See = http://wiki.apache.org/logging/ManagingTheWebSite >>>>=20 >>> As I can see in section "Managing Sub-project Sites" this doc says >>> "Make sure all that is added to svn and commit it." >>> So subsites must be checked in (here I configure this to be done tru = a >>> maven plugin and not manually) >>> Infra will be able to use as production web site: >>> http://svn.apache.org/repos/asf/commons/cms-site/trunk/ (or >>> = https://svn.apache.org/repos/infra/websites/production/commons/content/ >>> but this one still doesn't exist, I will ping infra on the jira = entry >>> for their preference). >>=20 >> Step 6 is referring to checking it in directly to = https://svn.apache.org/repos/infra/websites/production/logging/content/ = in the subdirectory that is listed in extpaths.txt, not some other = subversion location. If you look under log4j, for example, you will see = a directory for each release and a directory that is a symlink to the = current release (for Log4j 2 the 2.x directory links to log4j-2.0-beta3. >>=20 >>>=20 >>> So if you want sub-project sites available AFAIK this (check in all >>> content) must be done (or I misunderstand something: -)). >>>=20 >>> Makes sense ? >>=20 >> Not really. > So maybe I misunderstood what you want to do. >=20 > What I understood: > 1) main site is build from > http://svn.apache.org/repos/asf/commons/proper/commons-site/trunk/ > (and marked as cms content so possible to modify files via the cms ui) > technically a buildbot job run the maven build and commit the > generated site to > http://svn.apache.org/repos/asf/commons/cms-site/trunk/ (this svn path > will serve as infra for web site content staging then live) (note I > did the change for infra requirement on sources structure) > 2) due to #1 sub project content (take lang) must be committed to > http://svn.apache.org/repos/asf/commons/cms-site/trunk/lang This step is not necessary. sub-project content can be committed = directly to = https://svn.apache.org/repos/infra/websites/production/commons/content/lan= g/lang-n.n or = https://svn.apache.org/repos/infra/websites/production/commons/content/pro= per/lang/lang-n.n depending on what is in extpaths.txt > 3) as lang is not generated by cms it must be added to extpaths file. This is true, unless it resides under a directory that was declared in = extpaths.txt, (for example, "proper" as in the second url above. > 4) committing sub project content will be done using the maven > scm-publish plugin (that's what I started to do) I don't do this. I do mvn site:stage-deploy = -DstaginngSiteURL=3Dfile:///Users/rgoers/log4j for my Log4j 2 web site. = I zip it and publish it at p.a.o/~rgoers/log4j2 for review during a = release and then I do a "cp -r ~/log4j/*" to where I want it to go under = where I have the production web site checked out on my machine. After it = is copied I remove the link from the old release and create a link to = the new release and then do an svn commit. >=20 > Regarding your point on versionned subsites, I don't such structure > here (no commons.a.o/lang-2.x) Correct. We are doing this in logging because it makes it easy to deploy = a new release of the web site. >=20 > So let me know what is your plan ? > I proposed to help but it looks I don't know exactly what is the plan > so that will be a bit complicated for me. The plan would be to follow what is published in the logging wiki link. = I'm not sure why you think it is complicated. It should be simpler than = what you are doing. Ralph= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org