You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2008/06/30 22:13:51 UTC
svn commit: r672895 - /maven/sandbox/trunk/scripts/xfer-staged.rb
Author: jdcasey
Date: Mon Jun 30 13:13:51 2008
New Revision: 672895
URL: http://svn.apache.org/viewvc?rev=672895&view=rev
Log:
commenting out the DELETE command.
Modified:
maven/sandbox/trunk/scripts/xfer-staged.rb
Modified: maven/sandbox/trunk/scripts/xfer-staged.rb
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scripts/xfer-staged.rb?rev=672895&r1=672894&r2=672895&view=diff
==============================================================================
--- maven/sandbox/trunk/scripts/xfer-staged.rb (original)
+++ maven/sandbox/trunk/scripts/xfer-staged.rb Mon Jun 30 13:13:51 2008
@@ -87,21 +87,24 @@
exit exit_code
end
-puts "Cleaning staging repository: #{source_repo_url}"
-
-maint_url = URI.parse( source_repo_url )
-
-maint_req = HTTP::Delete.new( maint_url.path )
-maint_req.basic_auth( source_user, source_passwd )
-
-maint_response = HTTP.start( maint_url.host, maint_url.port ) do |http|
- http.request( maint_req )
-end
-
-puts "Got response:\n\n'#{maint_response.body}'\n\n" if debug
-
-if not maint_response.kind_of?( HTTPSuccess )
- puts "Bad HTTP response (#{maint_response})."
- exit -10000
-end
+############
+# The following will do a HTTP DELETE on the staging repository, to clean out the artifact's staging point for the next release.
+############
+#puts "Cleaning staging repository: #{source_repo_url}"
+#
+#maint_url = URI.parse( source_repo_url )
+#
+#maint_req = HTTP::Delete.new( maint_url.path )
+#maint_req.basic_auth( source_user, source_passwd )
+#
+#maint_response = HTTP.start( maint_url.host, maint_url.port ) do |http|
+# http.request( maint_req )
+#end
+#
+#puts "Got response:\n\n'#{maint_response.body}'\n\n" if debug
+#
+#if not maint_response.kind_of?( HTTPSuccess )
+# puts "Bad HTTP response (#{maint_response})."
+# exit -10000
+#end