You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2012/11/07 09:17:22 UTC

svn commit: r1406490 - /buildr/trunk/rakelib/doc.rake

Author: donaldp
Date: Wed Nov  7 08:17:22 2012
New Revision: 1406490

URL: http://svn.apache.org/viewvc?rev=1406490&view=rev
Log:
Remove the partial publish task and document the remaining publish task

Modified:
    buildr/trunk/rakelib/doc.rake

Modified: buildr/trunk/rakelib/doc.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/doc.rake?rev=1406490&r1=1406489&r2=1406490&view=diff
==============================================================================
--- buildr/trunk/rakelib/doc.rake (original)
+++ buildr/trunk/rakelib/doc.rake Wed Nov  7 08:17:22 2012
@@ -90,6 +90,7 @@ ForceType 'text/plain; charset=UTF-8'
 end
 
 # Publish prerequisites to Web site.
+desc "Publish web site "
 task 'publish' => 'site' do
   target = "people.apache.org:/www/#{spec.name}.apache.org/"
   puts "Uploading new site to #{target} ..."
@@ -98,16 +99,6 @@ task 'publish' => 'site' do
   puts 'Done'
 end
 
-# Update HTML + PDF documentation (but not entire site; no specs, coverage, etc.)
-task 'publish-doc' => %w(buildr.pdf _site) do
-  cp 'buildr.pdf', '_site'
-  target = "people.apache.org:/www/#{spec.name}.apache.org/"
-  puts "Uploading new site to #{target} ..."
-  sh 'rsync', '--progress', '--recursive', '_site/', target # Note: no --delete
-  sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w', "/www/#{spec.name}.apache.org/*"
-  puts 'Done'
-end
-
 task 'clobber' do
   rm_rf '_site'
   rm_f 'buildr.pdf'



Re: svn commit: r1406490 - /buildr/trunk/rakelib/doc.rake

Posted by Peter Donald <pe...@realityforge.org>.
Hi,

On Thu, Nov 8, 2012 at 6:28 AM, Alex Boisvert <al...@gmail.com> wrote:
> Just wondering the reason behind removing the partial publish task ... it's
> been useful in the past to make website updates (e.g. update installation
> instructions) between releases.

In hindsight it is a mistake. I did't release we still had release
specific documentation on our website and thought it had been reduced
to just HTML+PDF so I removed the task. However I have just reverted
that change now that I realize/you pointed out we still have rdocs
going up.

-- 
Cheers,

Peter Donald

Re: svn commit: r1406490 - /buildr/trunk/rakelib/doc.rake

Posted by Alex Boisvert <al...@gmail.com>.
Hi Donald,

Just wondering the reason behind removing the partial publish task ... it's
been useful in the past to make website updates (e.g. update installation
instructions) between releases.

alex

On Wed, Nov 7, 2012 at 12:17 AM, <do...@apache.org> wrote:

> Author: donaldp
> Date: Wed Nov  7 08:17:22 2012
> New Revision: 1406490
>
> URL: http://svn.apache.org/viewvc?rev=1406490&view=rev
> Log:
> Remove the partial publish task and document the remaining publish task
>
> Modified:
>     buildr/trunk/rakelib/doc.rake
>
> Modified: buildr/trunk/rakelib/doc.rake
> URL:
> http://svn.apache.org/viewvc/buildr/trunk/rakelib/doc.rake?rev=1406490&r1=1406489&r2=1406490&view=diff
>
> ==============================================================================
> --- buildr/trunk/rakelib/doc.rake (original)
> +++ buildr/trunk/rakelib/doc.rake Wed Nov  7 08:17:22 2012
> @@ -90,6 +90,7 @@ ForceType 'text/plain; charset=UTF-8'
>  end
>
>  # Publish prerequisites to Web site.
> +desc "Publish web site "
>  task 'publish' => 'site' do
>    target = "people.apache.org:/www/#{spec.name}.apache.org/"
>    puts "Uploading new site to #{target} ..."
> @@ -98,16 +99,6 @@ task 'publish' => 'site' do
>    puts 'Done'
>  end
>
> -# Update HTML + PDF documentation (but not entire site; no specs,
> coverage, etc.)
> -task 'publish-doc' => %w(buildr.pdf _site) do
> -  cp 'buildr.pdf', '_site'
> -  target = "people.apache.org:/www/#{spec.name}.apache.org/"
> -  puts "Uploading new site to #{target} ..."
> -  sh 'rsync', '--progress', '--recursive', '_site/', target # Note: no
> --delete
> -  sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w', "/www/#{
> spec.name}.apache.org/*"
> -  puts 'Done'
> -end
> -
>  task 'clobber' do
>    rm_rf '_site'
>    rm_f 'buildr.pdf'
>
>
>