Mailinglist Archive: zypp-commit (149 mails)

< Previous Next >
[zypp-commit] r5456 - /trunk/libzypp/zypp/data/ResolvableData.h
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Fri, 27 Apr 2007 08:46:24 -0000
  • Message-id: <20070427084624.E1B29592EB@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Fri Apr 27 10:46:24 2007
New Revision: 5456

URL: http://svn.opensuse.org/viewcvs/zypp?rev=5456&view=rev
Log:
Use std:string instead of zypp::Url for package upstream homepage.
zypp::Url accepts only valid URLs, whereas the upstream URLs may come in
many different forms.

Modified:
    trunk/libzypp/zypp/data/ResolvableData.h

Modified: trunk/libzypp/zypp/data/ResolvableData.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/data/ResolvableData.h?rev=5456&r1=5455&r2=5456&view=diff
==============================================================================
--- trunk/libzypp/zypp/data/ResolvableData.h (original)
+++ trunk/libzypp/zypp/data/ResolvableData.h Fri Apr 27 10:46:24 2007
@@ -175,7 +175,7 @@
       std::string releasenotesurl;
   };
 
-    /*
+  /*
    * Data Object for Package
    * resolvable
    */
@@ -193,9 +193,13 @@
       std::string license;
       std::string packager;
       std::string group;
-      Url url;
+      /**
+       * Upstream home page URL.
+       * \see zypp::Package::url();
+       */
+      std::string url;
       std::string os;
-      
+
       std::string prein;
       std::string postin;
       std::string preun;
@@ -223,7 +227,7 @@
     std::string license;
     std::string packager;
     std::string group;
-    Url url;
+    std::string url;
     std::string os;
       
     std::string prein;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages