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 2014/06/18 14:19:39 UTC

[1/9] git commit: Bump the version in preparation for release

Repository: buildr
Updated Branches:
  refs/heads/master 54eb58c3c -> 661f4821d


Bump the version in preparation for release


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/884ea173
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/884ea173
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/884ea173

Branch: refs/heads/master
Commit: 884ea173417c2764cd7500812df3cf764e344344
Parents: 54eb58c
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 21:41:17 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 21:41:17 2014 +1000

----------------------------------------------------------------------
 lib/buildr/version.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/884ea173/lib/buildr/version.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/version.rb b/lib/buildr/version.rb
index a43d326..3823295 100644
--- a/lib/buildr/version.rb
+++ b/lib/buildr/version.rb
@@ -14,5 +14,5 @@
 # the License.
 
 module Buildr #:nodoc:
-  VERSION = '1.4.18.dev'.freeze
+  VERSION = '1.4.18'.freeze
 end


[6/9] git commit: Remove rubyforge require

Posted by do...@apache.org.
Remove rubyforge require


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/5759664a
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/5759664a
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/5759664a

Branch: refs/heads/master
Commit: 5759664a3cdc961b2c26c4885d8475ffd6b32b49
Parents: c2b6dfe
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 22:11:49 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 22:11:49 2014 +1000

----------------------------------------------------------------------
 rakelib/stage.rake | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/5759664a/rakelib/stage.rake
----------------------------------------------------------------------
diff --git a/rakelib/stage.rake b/rakelib/stage.rake
index 3435900..f8d9859 100644
--- a/rakelib/stage.rake
+++ b/rakelib/stage.rake
@@ -13,7 +13,6 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
-require 'rubyforge'
 require 'digest/md5'
 require 'digest/sha1'
 


[3/9] git commit: Document the highlights for the 1.4.18 release

Posted by do...@apache.org.
Document the highlights for the 1.4.18 release


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/e0bd3617
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/e0bd3617
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/e0bd3617

Branch: refs/heads/master
Commit: e0bd3617e89e0283196a99052d6046a88ce7e4ee
Parents: d79656f
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 21:44:51 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 21:44:51 2014 +1000

----------------------------------------------------------------------
 doc/index.textile | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/e0bd3617/doc/index.textile
----------------------------------------------------------------------
diff --git a/doc/index.textile b/doc/index.textile
index 882052b..4494e65 100644
--- a/doc/index.textile
+++ b/doc/index.textile
@@ -46,6 +46,16 @@ So let's get started.  You can "read the documentation online":quick_start.html,
 
 h2(#news).  What's New
 
+Highlights from Buildr 1.4.18 (2014-06-18)
+* Added:  Extend Intellij IDEA support to allow creation of glassfish,
+          java and ruby scrip configurations.
+* Change: Include additional rules in default pmd rule set:
+* Change: Upgrade the version of PMD in use to 5.1.1 and add additional
+          default rule sets 'finalizers' and 'braces'.
+* Change: Supply a default xsl file for generating the jdepend report.
+* Fixed:  Fix the naming of css_lint addon file so it is made available
+          as an addon.
+
 Highlights from Buildr 1.4.17 (2014-05-25)
 
 * Change: Supply a default xsl file for generating the checkstyle report.


[9/9] git commit: Remove rubyforge dependency

Posted by do...@apache.org.
Remove rubyforge dependency


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/661f4821
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/661f4821
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/661f4821

Branch: refs/heads/master
Commit: 661f4821da1d2a799138316c5fa00483d3ccf3d6
Parents: 0868f7e
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 22:14:57 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 22:14:57 2014 +1000

----------------------------------------------------------------------
 buildr.gemspec | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/661f4821/buildr.gemspec
----------------------------------------------------------------------
diff --git a/buildr.gemspec b/buildr.gemspec
index 7fd63db..9a24923 100644
--- a/buildr.gemspec
+++ b/buildr.gemspec
@@ -62,7 +62,6 @@ for those one-off tasks, with a language that's a joy to use.
   spec.add_dependency "jruby-pageant",        '1.1.1' if $platform.to_s == 'java'
   spec.add_dependency 'rubyzip',              '0.9.9'
   spec.add_dependency 'json_pure',            '1.8.0'
-  spec.add_dependency 'rubyforge',            '2.0.4'
   spec.add_dependency 'hoe',                  '3.7.1'
   spec.add_dependency 'rjb',                  '1.4.8' if ($platform.to_s == 'x86-mswin32' || $platform.to_s == 'ruby')
   spec.add_dependency 'atoulme-Antwrap',      '~> 0.7.4'


[4/9] git commit: Rubyforge is no more so remove it from our release process

Posted by do...@apache.org.
Rubyforge is no more so remove it from our release process


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/2a6a612e
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/2a6a612e
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/2a6a612e

Branch: refs/heads/master
Commit: 2a6a612efc76da41bba561676daff5ed64962f24
Parents: e0bd361
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 21:48:24 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 21:48:24 2014 +1000

----------------------------------------------------------------------
 rakelib/release.rake | 18 ------------------
 rakelib/stage.rake   |  8 --------
 2 files changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/2a6a612e/rakelib/release.rake
----------------------------------------------------------------------
diff --git a/rakelib/release.rake b/rakelib/release.rake
index fbcb60c..9334bff 100644
--- a/rakelib/release.rake
+++ b/rakelib/release.rake
@@ -47,24 +47,6 @@ task 'release' => %w{setup-local-site-svn} do
     puts "[X] Uploaded new site to #{spec.name}.apache.org"
   end.call
 
-  # Upload binary and source packages to RubyForge.
-  lambda do
-    # update rubyforge projects, processors, etc. in local config
-    sh 'rubyforge', 'config'
-    files = FileList["_release/#{spec.version}/dist/*.{gem,tgz,zip}"]
-    puts "Uploading #{spec.version} to RubyForge ... "
-    rubyforge = RubyForge.new.configure
-    rubyforge.login
-    rubyforge.userconfig.merge!('release_changes'=>"_release/#{spec.version}/CHANGES",  'preformatted' => true)
-    rubyforge.add_release spec.rubyforge_project.downcase, spec.name.downcase, spec.version.to_s, *files
-
-    puts "Posting news to RubyForge ... "
-    changes = File.read("_release/#{spec.version}/CHANGES")[/.*?\n(.*)/m, 1]
-    rubyforge.post_news spec.rubyforge_project.downcase, "Buildr #{spec.version} released",
-      "#{spec.description}\n\nNew in Buildr #{spec.version}:\n#{changes.gsub(/^/, '  ')}\n"
-    puts "[X] Uploaded gems and source files to #{spec.name}.rubyforge.org"
-  end.call
-
   # Push gems to Rubyforge.org
   lambda do
     files = FileList["_release/#{spec.version}/dist/*.{gem}"]

http://git-wip-us.apache.org/repos/asf/buildr/blob/2a6a612e/rakelib/stage.rake
----------------------------------------------------------------------
diff --git a/rakelib/stage.rake b/rakelib/stage.rake
index 80f6719..3435900 100644
--- a/rakelib/stage.rake
+++ b/rakelib/stage.rake
@@ -86,14 +86,6 @@ task 'prepare' do |task, args|
     puts '[X] We have prince available'
   end.call
 
-  # Need RubyForge to upload new release files.
-  lambda do
-    puts "[!] Make sure you have admin privileges to make a release on RubyForge"
-    rubyforge = RubyForge.new.configure
-    rubyforge.login
-    rubyforge.scrape_project(spec.name)
-  end.call
-
   raise "Can not run stage process under jruby" if RUBY_PLATFORM[/java/]
   raise "Can not run staging process under older rubies" unless RUBY_VERSION >= '1.9'
 end


[8/9] git commit: Replace references with rubyforge with references to the new homes of various tools.

Posted by do...@apache.org.
Replace references with rubyforge with references to the new homes of various tools.


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/0868f7e3
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/0868f7e3
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/0868f7e3

Branch: refs/heads/master
Commit: 0868f7e388e28695107e4381236caa3b133291b3
Parents: 4f208b7
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 22:14:29 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 22:14:29 2014 +1000

----------------------------------------------------------------------
 README.rdoc               | 4 ++--
 doc/_layouts/default.html | 2 +-
 doc/download.textile      | 2 --
 doc/installing.textile    | 2 +-
 doc/more_stuff.textile    | 4 ++--
 5 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/0868f7e3/README.rdoc
----------------------------------------------------------------------
diff --git a/README.rdoc b/README.rdoc
index 79e487c..10730fd 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -13,7 +13,7 @@ Buildr needs Ruby 1.8 or later and RubyGems 0.9 or later.
 Windows users can get the one-click Ruby installer, which includes the latest
 version of Ruby and RubyGems:
 
-http://rubyinstaller.rubyforge.org
+http://rubyinstaller.org
 
 Make sure to set JAVA_HOME environment variable first, then:
 
@@ -53,7 +53,7 @@ dependencies are installed when you run:
 Windows users can get the one-click Ruby installer, which includes the latest
 version of Ruby and RubyGems:
 
-http://rubyinstaller.rubyforge.org
+http://rubyinstaller.org
 
 Before installing Buildr, please set the JAVA_HOME environment variable to
 point to your JDK distribution.  Next, use Ruby Gem to install Buildr:

http://git-wip-us.apache.org/repos/asf/buildr/blob/0868f7e3/doc/_layouts/default.html
----------------------------------------------------------------------
diff --git a/doc/_layouts/default.html b/doc/_layouts/default.html
index bc52986..9d35aac 100644
--- a/doc/_layouts/default.html
+++ b/doc/_layouts/default.html
@@ -48,7 +48,7 @@
             <ol class="toc">
               <li><a href='rdoc/Buildr.html'>API</a></li>
               <li><a href='http://docs.rubyrake.org'>Rake</a></li>
-              <li><a href='http://antwrap.rubyforge.org'>Antwrap</a></li>
+              <li><a href='https://rubygems.org/gems/Antwrap'>Antwrap</a></li>
               <li><a href='http://cwiki.apache.org/confluence/display/BUILDR/Common+Problems+and+Solutions'>Troubleshooting</a></li>
             </ol>
           </li>

http://git-wip-us.apache.org/repos/asf/buildr/blob/0868f7e3/doc/download.textile
----------------------------------------------------------------------
diff --git a/doc/download.textile b/doc/download.textile
index 641413a..cb8ae3b 100644
--- a/doc/download.textile
+++ b/doc/download.textile
@@ -13,8 +13,6 @@ h2(#dists).  Official & Unofficial Distributions
 
 The official Apache distribution consists of the digitally signed binaries (gems) and source packages "available below":#dist.  To install these binaries, you must first download them to disk and then install them using the @gem install@ command (or @rake install@ for a source distribution).
 
-In addition, contributors to this project maintain a separate distribution over on "RubyForge":http://rubyforge.org/projects/buildr.  Using this distribution, you're able to install Buildr directly from the remote gem repository and to automatically upgrade when a new release comes out.  The RubyForge distribution is *not* an official Apache distribution.
-
 The source code is included in both source and binary distribution, the Gem distribution expands the source code into your local Gem repository. That's in addition to getting the source code directly. Learn more about working with source code and "living on the edge":contributing.html#edge.
 
 

http://git-wip-us.apache.org/repos/asf/buildr/blob/0868f7e3/doc/installing.textile
----------------------------------------------------------------------
diff --git a/doc/installing.textile b/doc/installing.textile
index 3472653..1403b18 100644
--- a/doc/installing.textile
+++ b/doc/installing.textile
@@ -289,6 +289,6 @@ For a quicker read (and much more humor), "Why’s (Poignant) Guide to Ruby":htt
 
 *Rake* Buildr is based on Rake, a Ruby build system that handles tasks and dependencies.  Check out the "Rake documentation":http://docs.rubyrake.org/ for more information.
 
-*AntWrap* Buildr uses AntWrap, for configuring and running Ant tasks.  You can learn more from the "Antwrap documentation":http://antwrap.rubyforge.org/.
+*AntWrap* Buildr uses AntWrap, for configuring and running Ant tasks.  You can learn more from the "Antwrap documentation":https://rubygems.org/gems/Antwrap.
 
 *YAML* Buildr uses YAML for its profiles.  You can "learn more about YAML here":http://www.yaml.org, and use this handy "YAML quick reference":http://www.yaml.org/refcard.html.

http://git-wip-us.apache.org/repos/asf/buildr/blob/0868f7e3/doc/more_stuff.textile
----------------------------------------------------------------------
diff --git a/doc/more_stuff.textile b/doc/more_stuff.textile
index d453dc3..043f80f 100644
--- a/doc/more_stuff.textile
+++ b/doc/more_stuff.textile
@@ -205,9 +205,9 @@ The purpose of the buildfile is to define your projects, and the various tasks a
 
 There are several mechanisms for developing extensions and build features across projects which we cover in more details in the section "Extending Buildr":extending.html.  Here we will talk about using extensions that are distributed in the form of RubyGems.
 
-"RubyGems":http://rubygems.rubyforge.org provides the @gem@ command line tool that you can use to search, install, upgrade, package and distribute gems. It installs all gems into a local repository that is shared across your builds and all other Ruby applications you may have running.  You can install a gem from a local file, or download and install it from any number of remote repositories.
+"RubyGems":http://rubygems.org provides the @gem@ command line tool that you can use to search, install, upgrade, package and distribute gems. It installs all gems into a local repository that is shared across your builds and all other Ruby applications you may have running.  You can install a gem from a local file, or download and install it from any number of remote repositories.
 
-RubyGems is preconfigured to use the "RubyForge":http://rubyforge.org repository.  You'll find a large number of open source Ruby libraries there, including Buildr itself and all its dependencies.  RubyForge provides a free account that you can use to host your projects and distribute your gems (you can use RubyForge strictly for distribution, as we do with Buildr).
+RubyGems is preconfigured to use the "RubyForge":http://rubygems.org repository.  You'll find a large number of open source Ruby libraries there, including Buildr itself and all its dependencies.
 
 You can also set up your own private repository and use it instead or in addition to RubyForge.  Use the @gem sources@ command to add repositories, and the @gem server@ command to run a remote repository.  You can see all available options by running @gem help@.
 


[2/9] git commit: Replace Pending flag with date

Posted by do...@apache.org.
Replace Pending flag with date


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/d79656f8
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/d79656f8
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/d79656f8

Branch: refs/heads/master
Commit: d79656f887587f1f4b9523ba6294317610f5ff41
Parents: 884ea17
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 21:41:48 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 21:41:48 2014 +1000

----------------------------------------------------------------------
 CHANGELOG | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/d79656f8/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 48e15a5..84192c5 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-1.4.18 (Pending)
+1.4.18 (2014-06-18)
 * Change: BUILDR-664 - Update Checkstyle addon so that extra_dependencies is
           the project dependencies by default. Move the checkstyle dependencies
           to the start of the classpath to avoid problems running checkstyle.


[7/9] git commit: Remove support for uploads to RubyForge.org with gem dependencies as the site no longer exists.

Posted by do...@apache.org.
Remove support for uploads to RubyForge.org with gem dependencies as the site no longer exists.


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/4f208b7b
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/4f208b7b
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/4f208b7b

Branch: refs/heads/master
Commit: 4f208b7b89c7eff12d2c9aa54f1bb1c79912a21c
Parents: 5759664
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 22:13:20 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 22:13:20 2014 +1000

----------------------------------------------------------------------
 CHANGELOG                    |  2 ++
 lib/buildr/packaging/gems.rb | 10 ----------
 2 files changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/4f208b7b/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 84192c5..4b90d55 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 1.4.18 (2014-06-18)
+* Change: Remove support for uploads to RubyForge.org with gem dependencies
+          as the site no longer exists.
 * Change: BUILDR-664 - Update Checkstyle addon so that extra_dependencies is
           the project dependencies by default. Move the checkstyle dependencies
           to the start of the classpath to avoid problems running checkstyle.

http://git-wip-us.apache.org/repos/asf/buildr/blob/4f208b7b/lib/buildr/packaging/gems.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/packaging/gems.rb b/lib/buildr/packaging/gems.rb
index 361c53c..da7bd06 100644
--- a/lib/buildr/packaging/gems.rb
+++ b/lib/buildr/packaging/gems.rb
@@ -13,7 +13,6 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
-autoload :RubyForge, 'rubyforge'
 Gem.autoload :Package, 'rubygems/package'
 
 module Buildr #:nodoc:
@@ -23,23 +22,14 @@ module Buildr #:nodoc:
     def initialize(*args)
       super
       @spec = Gem::Specification.new
-      prepare do
-        include(changelog) if changelog
-      end
     end
 
-    attr_accessor :changelog
-
     def spec
       yield @spec if block_given?
       @spec
     end
 
     def upload
-      rubyforge = RubyForge.new
-      rubyforge.login
-      rubyforge.userconfig.merge!('release_changes'=>changelog.to_s, 'preformatted'=>true) if changelog
-      rubyforge.add_release spec.rubyforge_project.downcase, spec.name.downcase, spec.version, package(:gem).to_s
     end
 
   private


[5/9] git commit: WHitespace cleanup

Posted by do...@apache.org.
WHitespace cleanup


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/c2b6dfe4
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/c2b6dfe4
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/c2b6dfe4

Branch: refs/heads/master
Commit: c2b6dfe43b6aaeb17862d4e32bbdbff6a287ca76
Parents: 2a6a612
Author: Peter Donald <pe...@realityforge.org>
Authored: Wed Jun 18 21:51:26 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Wed Jun 18 21:51:26 2014 +1000

----------------------------------------------------------------------
 lib/buildr/packaging/gems.rb | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/c2b6dfe4/lib/buildr/packaging/gems.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/packaging/gems.rb b/lib/buildr/packaging/gems.rb
index bb71f60..361c53c 100644
--- a/lib/buildr/packaging/gems.rb
+++ b/lib/buildr/packaging/gems.rb
@@ -62,10 +62,8 @@ module Buildr #:nodoc:
         end
       end
     end
-
   end
 
-
   module PackageAsGem #:nodoc:
 
     def package_as_gem(file_name) #:nodoc:
@@ -83,11 +81,9 @@ module Buildr #:nodoc:
         end
       end
     end
-
   end
 
   class Project
     include PackageAsGem
   end
-
 end