Mailinglist Archive: yast-devel (233 mails)

< Previous Next >
[yast-devel] Re: [yast-commit] <rest-service> master : don't define the test task, the submit task doesn't work anyway
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Thu, 29 Oct 2009 23:40:11 +0100
  • Message-id: <200910292340.11978.>
On Thursday 29 October 2009 07:29:57 pm Ladislav Slezak wrote:
ref: refs/heads/master
commit 6d208683b3aa00b8b517022551467de6ad09e244
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
Date: Thu Oct 29 19:29:57 2009 +0100

don't define the test task, the submit task doesn't work anyway

the problem is that the submit task cannot change e.g.
yast2-webservice-tasks-0.0.7.gem to yast2-webservice-tasks-0.0.8.gem
(remove the old file and add a new one), it can only update files

Interesting, I already solve it for rake push and forget for submit. solution
is quite simple. just clean package dir, copy package content and then call
osc addremove . I do it on Monday (doesn't have commit rights at home).
Josef
diff --git a/webservice-tasks/Rakefile b/webservice-tasks/Rakefile
index 51d50c7..95e9f85 100644
--- a/webservice-tasks/Rakefile
+++ b/webservice-tasks/Rakefile
@@ -6,9 +6,6 @@ require 'rake/rdoctask'
require 'lib/tasks/webservice_tasks'
WebserviceTasks.loadTasks(:exclude => ["package-local.rake"])

-# define empty test task (rake submit doesn't fail then)
-task :test do
-end

# define clean and clobber tasks
require 'rake/clean'

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages