Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-pkg-bindings for 
openSUSE:Factory checked in at 2021-04-10 15:26:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-pkg-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-pkg-bindings"

Sat Apr 10 15:26:07 2021 rev:219 rq:883769 version:4.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-pkg-bindings/yast2-pkg-bindings.changes    
2021-03-30 20:50:45.868073614 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.2401/yast2-pkg-bindings.changes
  2021-04-10 15:26:23.118308439 +0200
@@ -1,0 +2,9 @@
+Wed Apr  7 15:32:55 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Removed not working PkgFunctions::AddAuthData(), it is not needed
+  anymore (gh#yast/yast-pkg-bindings#107)
+- Do not try to modify the repository URL, return the libzypp
+  value directly
+- 4.4.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-pkg-bindings-4.3.10.tar.bz2

New:
----
  yast2-pkg-bindings-4.4.0.tar.bz2

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

Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.SqM4Cs/_old  2021-04-10 15:26:23.698309121 +0200
+++ /var/tmp/diff_new_pack.SqM4Cs/_new  2021-04-10 15:26:23.698309121 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings-devel-doc
-Version:        4.3.10
+Version:        4.4.0
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        yast2-pkg-bindings-%{version}.tar.bz2

++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.SqM4Cs/_old  2021-04-10 15:26:23.714309140 +0200
+++ /var/tmp/diff_new_pack.SqM4Cs/_new  2021-04-10 15:26:23.718309145 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings
-Version:        4.3.10
+Version:        4.4.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-pkg-bindings-4.3.10.tar.bz2 -> yast2-pkg-bindings-4.4.0.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings-devel-doc.spec 
new/yast2-pkg-bindings-4.4.0/package/yast2-pkg-bindings-devel-doc.spec
--- old/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings-devel-doc.spec     
2021-03-12 12:34:12.000000000 +0100
+++ new/yast2-pkg-bindings-4.4.0/package/yast2-pkg-bindings-devel-doc.spec      
2021-04-08 09:55:05.000000000 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:           yast2-pkg-bindings-devel-doc
-Version:        4.3.10
+Version:        4.4.0
 Release:        0
 License:        GPL-2.0-only
 Group:          Documentation/HTML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.changes 
new/yast2-pkg-bindings-4.4.0/package/yast2-pkg-bindings.changes
--- old/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.changes    
2021-03-12 12:34:12.000000000 +0100
+++ new/yast2-pkg-bindings-4.4.0/package/yast2-pkg-bindings.changes     
2021-04-08 09:55:05.000000000 +0200
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Wed Apr  7 15:32:55 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Removed not working PkgFunctions::AddAuthData(), it is not needed
+  anymore (gh#yast/yast-pkg-bindings#107)
+- Do not try to modify the repository URL, return the libzypp
+  value directly
+- 4.4.0
+
+-------------------------------------------------------------------
 Fri Mar 12 09:39:15 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
 
 - Added missing runtime dependencies ("ip" from iproute2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.spec 
new/yast2-pkg-bindings-4.4.0/package/yast2-pkg-bindings.spec
--- old/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.spec       
2021-03-12 12:34:12.000000000 +0100
+++ new/yast2-pkg-bindings-4.4.0/package/yast2-pkg-bindings.spec        
2021-04-08 09:55:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings
-Version:        4.3.10
+Version:        4.4.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.3.10/src/PkgFunctions.h 
new/yast2-pkg-bindings-4.4.0/src/PkgFunctions.h
--- old/yast2-pkg-bindings-4.3.10/src/PkgFunctions.h    2021-03-12 
12:34:12.000000000 +0100
+++ new/yast2-pkg-bindings-4.4.0/src/PkgFunctions.h     2021-04-08 
09:55:05.000000000 +0200
@@ -276,8 +276,6 @@
       // it finds the resolvable using attributes saved earlier by 
RememberBaseProduct
       zypp::Product::constPtr FindInstalledBaseProduct();
 
-      // adds authentication data to a URL
-      void AddAuthData(zypp::Url url);
       // helper with common code to SourceURL and SourceRawUrl
       YCPValue GetSourceUrl(const YCPInteger& id, bool raw);
       // helper - convert transaction_by to string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.3.10/src/Source_Get.cc 
new/yast2-pkg-bindings-4.4.0/src/Source_Get.cc
--- old/yast2-pkg-bindings-4.3.10/src/Source_Get.cc     2021-03-12 
12:34:12.000000000 +0100
+++ new/yast2-pkg-bindings-4.4.0/src/Source_Get.cc      2021-04-08 
09:55:05.000000000 +0200
@@ -439,49 +439,6 @@
     return ret;
 }
 
-// Adds authentication data to the URL if it exists
-void
-PkgFunctions::AddAuthData (zypp::Url url) {
-    zypp::media::CredentialManager cm;
-
-       zypp::media::AuthData_Ptr auth = cm.getCred(url);
-
-       if (auth)
-       {
-           y2milestone("Authentication data found, adding to URL...");
-
-           if (auth->valid())
-           {
-               if (!auth->username().empty())
-               {
-                   y2debug("Adding username...");
-                   url.setUsername(auth->username());
-               }
-
-               if (!auth->password().empty())
-               {
-                   y2debug("Adding password...");
-                   url.setPassword(auth->password());
-               }
-           }
-           else
-           {
-               y2warning("Invalid authentication data, returning URL without 
username and password");
-           }
-
-           // does the url contain credentials query?
-           zypp::url::ParamMap params = url.getQueryStringMap();
-           zypp::url::ParamMap::iterator map_it = params.find("credentials");
-
-           if (map_it != params.end())
-           {
-               y2milestone("Removing credentials query from URL");
-               params.erase(map_it);
-               url.setQueryStringMap(params);
-           }
-       }
-}
-
 // Helper with common code to SourceURL and SourceRawUrl
 YCPValue
 PkgFunctions::GetSourceUrl (const YCPInteger& id, bool raw)
@@ -500,7 +457,6 @@
             // #186842
             url = repo->repoInfo().url();
         }
-        AddAuthData(url);
     }
 
     return YCPString(url.asCompleteString());

Reply via email to