Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
[opensuse-buildservice] small patch for the import script
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Mon, 5 May 2008 12:14:52 +0200
  • Message-id: <20080505101452.GA3708@xxxxxxxxxxxxxxxxxxx>
Hi,

I just attached a small patch for the frontend/scripts/import script
which automatically selects the appropriate source server. So we can
get rid of the hardcoded default values.


Marcus
Index: script/import
===================================================================
--- script/import (Revision 3885)
+++ script/import (Arbeitskopie)
@@ -28,7 +28,7 @@

#change default_server to your backend
#map.default_server :rest, "buildservice.suse.de:5352" #real backend
- map.default_server :rest, "buildservice.suse.de:6362" #test backend
+ map.default_server :rest, "#{SOURCE_HOST}:#{SOURCE_PORT}"

map.connect :project, "bssql:///", :write_through => :false
map.connect :package, "bssql:///", :write_through => :false
< Previous Next >
Follow Ups