buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: svn commit: r1406490 - /buildr/trunk/rakelib/doc.rake
Date Wed, 07 Nov 2012 19:28:34 GMT
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, <donaldp@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'
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message