commit webyast-activedirectory-ws for openSUSE:Factory
Hello community, here is the log from the commit of package webyast-activedirectory-ws for openSUSE:Factory checked in at Wed May 4 11:41:48 CEST 2011. -------- --- webyast-activedirectory-ws/webyast-activedirectory-ws.changes 2011-02-09 09:32:20.000000000 +0100 +++ /mounts/work_src_done/STABLE/webyast-activedirectory-ws/webyast-activedirectory-ws.changes 2011-05-02 14:17:04.000000000 +0200 @@ -1,0 +2,12 @@ +Mon May 2 12:16:25 UTC 2011 - schubi@novell.com + +- adapt caching to the new job handling +- 0.2.9 + +------------------------------------------------------------------- +Tue Apr 12 10:19:03 UTC 2011 - schubi@novell.com + +- new caching +- 0.2.8 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-activedirectory-ws.spec ++++++ --- /var/tmp/diff_new_pack.vLHPN5/_old 2011-05-04 11:39:53.000000000 +0200 +++ /var/tmp/diff_new_pack.vLHPN5/_new 2011-05-04 11:39:53.000000000 +0200 @@ -24,7 +24,7 @@ Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.7 +Version: 0.2.9 Release: 1 Summary: WebYaST - service for configuration of Active Directory client Source: www.tar.bz2 ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/models/activedirectory.rb new/www/app/models/activedirectory.rb --- old/www/app/models/activedirectory.rb 2011-02-01 10:49:11.000000000 +0100 +++ new/www/app/models/activedirectory.rb 2011-04-29 18:23:25.000000000 +0200 @@ -39,16 +39,18 @@ public def self.find - ret = YastService.Call("YaPI::ActiveDirectory::Read", {}) - Rails.logger.info "Read Samba config: #{ret.inspect}" - ad = Activedirectory.new({ + YastCache.fetch(self) { + ret = YastService.Call("YaPI::ActiveDirectory::Read", {}) + Rails.logger.info "Read Samba config: #{ret.inspect}" + ad = Activedirectory.new({ :domain => ret["domain"], :create_dirs => ret["mkhomedir"] == "1", :enabled => ret["winbind"] == "1" - }) - leave = false - ad = {} if ad.nil? - return ad + }) + leave = false + ad = {} if ad.nil? + ad + } end def check_membership(check_domain) @@ -59,7 +61,6 @@ end def save - params = { "domain" => [ "s", @domain ], "winbind" => [ "b", @enabled ], @@ -111,6 +112,7 @@ Rails.cache.write('activedirectory:realm', "") Rails.cache.write('activedirectory:workgroup', "") + YastCache.reset(self) return true end ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de