Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-auth-server for 
openSUSE:Factory checked in at 2023-06-04 16:41:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-auth-server (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-auth-server.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-auth-server"

Sun Jun  4 16:41:43 2023 rev:30 rq:1090682 version:4.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-auth-server/yast2-auth-server.changes      
2023-03-08 14:51:55.886466564 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-auth-server.new.15902/yast2-auth-server.changes
   2023-06-04 16:41:52.553870289 +0200
@@ -1,0 +2,6 @@
+Mon Apr 24 21:29:00 UTC 2023 - William Brown <william.br...@suse.com>
+
+- Add deprecation notice to this tool (bsc#1211734).
+- 4.6.2
+
+-------------------------------------------------------------------

Old:
----
  yast2-auth-server-4.6.1.tar.bz2

New:
----
  yast2-auth-server-4.6.2.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-auth-server.spec ++++++
--- /var/tmp/diff_new_pack.qdwD8O/_old  2023-06-04 16:41:53.373875169 +0200
+++ /var/tmp/diff_new_pack.qdwD8O/_new  2023-06-04 16:41:53.377875193 +0200
@@ -19,7 +19,7 @@
 Name:           yast2-auth-server
 Group:          System/YaST
 Summary:        A tool for creating identity management server instances
-Version:        4.6.1
+Version:        4.6.2
 Release:        0
 License:        GPL-2.0-or-later
 URL:            https://github.com/yast/yast-auth-server

++++++ yast2-auth-server-4.6.1.tar.bz2 -> yast2-auth-server-4.6.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-auth-server-4.6.1/package/yast2-auth-server.changes 
new/yast2-auth-server-4.6.2/package/yast2-auth-server.changes
--- old/yast2-auth-server-4.6.1/package/yast2-auth-server.changes       
2023-03-07 11:21:15.000000000 +0100
+++ new/yast2-auth-server-4.6.2/package/yast2-auth-server.changes       
2023-06-03 21:19:29.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Apr 24 21:29:00 UTC 2023 - William Brown <william.br...@suse.com>
+
+- Add deprecation notice to this tool (bsc#1211734).
+- 4.6.2
+
+-------------------------------------------------------------------
 Mon Mar  6 17:06:25 UTC 2023 - Martin Vidner <mvid...@suse.com>
 
 - Stop using File.exists? which no longer works in Ruby 3.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-auth-server-4.6.1/package/yast2-auth-server.spec 
new/yast2-auth-server-4.6.2/package/yast2-auth-server.spec
--- old/yast2-auth-server-4.6.1/package/yast2-auth-server.spec  2023-03-07 
11:21:15.000000000 +0100
+++ new/yast2-auth-server-4.6.2/package/yast2-auth-server.spec  2023-06-03 
21:19:29.000000000 +0200
@@ -18,7 +18,7 @@
 Name:           yast2-auth-server
 Group:          System/YaST
 Summary:        A tool for creating identity management server instances
-Version:        4.6.1
+Version:        4.6.2
 Release:        0
 License:        GPL-2.0-or-later
 Url:            https://github.com/yast/yast-auth-server
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-auth-server-4.6.1/src/clients/ldap-server.rb 
new/yast2-auth-server-4.6.2/src/clients/ldap-server.rb
--- old/yast2-auth-server-4.6.1/src/clients/ldap-server.rb      2023-03-07 
11:21:15.000000000 +0100
+++ new/yast2-auth-server-4.6.2/src/clients/ldap-server.rb      2023-06-03 
21:19:29.000000000 +0200
@@ -11,8 +11,10 @@
 # Authors:      Howard Guo <h...@suse.com>
 
 require 'authserver/ui/new_dir_inst'
+require 'authserver/ui/deprecation'
 require 'authserver/cli/auth-cli'
 if Yast::WFM.Args.empty?
+  Deprecation.new.run
   NewDirInst.new.run
 else
   AuthServer::CLI.run("ldap-server")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-auth-server-4.6.1/src/lib/authserver/ui/deprecation.rb 
new/yast2-auth-server-4.6.2/src/lib/authserver/ui/deprecation.rb
--- old/yast2-auth-server-4.6.1/src/lib/authserver/ui/deprecation.rb    
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-auth-server-4.6.2/src/lib/authserver/ui/deprecation.rb    
2023-06-03 21:19:29.000000000 +0200
@@ -0,0 +1,51 @@
+# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany.
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of version 2 of the GNU General Public License as published by the
+# Free Software Foundation.
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more 
details.
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, contact SUSE LINUX GmbH.
+
+# Authors:      William Brown <wbr...@suse.de>
+
+require 'yast'
+require 'ui/dialog'
+require 'authserver/dir/ds389'
+require 'authserver/dir/client'
+Yast.import 'UI'
+Yast.import 'Icon'
+Yast.import 'Label'
+Yast.import 'Popup'
+
+class Deprecation < UI::Dialog
+  include Yast
+  include UIShortcuts
+  include I18n
+  include Logger
+
+  def initialize
+    super
+    textdomain 'authserver'
+  end
+
+  def dialog_options
+    Opt(:decorated)
+  end
+
+  def dialog_content
+    VBox(
+        Left(Heading(_('This tool is deprecated.'))),
+        Left(Heading(_('You should use dscreate directly.'))),
+        HBox(
+            PushButton(Id(:ok), Label.OKButton),
+        ),
+        ReplacePoint(Id(:busy), Empty()),
+    )
+  end
+
+  def ok_handler
+    finish_dialog(:next)
+  end
+end

Reply via email to