Hello community,

here is the log from the commit of package obs-service-set_version for 
openSUSE:Factory checked in at 2016-04-28 16:55:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-set_version (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-set_version.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-set_version"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-set_version/obs-service-set_version.changes
  2016-04-12 19:37:26.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-set_version.new/obs-service-set_version.changes
     2016-04-28 16:59:26.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Apr 21 11:54:41 UTC 2016 - [email protected]
+
+- Update to version 0.5.3:
+  * VersionDetector._autodetect: prioritize the directory name over the file 
name
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Lh4BKe/_old  2016-04-28 16:59:30.000000000 +0200
+++ /var/tmp/diff_new_pack.Lh4BKe/_new  2016-04-28 16:59:30.000000000 +0200
@@ -1,5 +1,5 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">[email protected]:openSUSE/obs-service-set_version.git</param>
-  <param 
name="changesrevision">5dd3f3872b32332e4985845f0694a82132fe2df3</param></service>
+  <param 
name="changesrevision">9cb2d460ffcce8cb86ee2bd194c38620c6eebb94</param></service>
 </servicedata>
\ No newline at end of file

++++++ obs-service-set_version-0.5.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-set_version-0.5.3/set_version 
new/obs-service-set_version-0.5.3/set_version
--- old/obs-service-set_version-0.5.3/set_version       2016-04-08 
15:28:43.000000000 +0200
+++ new/obs-service-set_version-0.5.3/set_version       2016-04-21 
13:54:41.000000000 +0200
@@ -50,11 +50,10 @@
 class VersionDetector(object):
     @staticmethod
     def _autodetect(files, basename):
-        version = None
-        version = VersionDetector._get_version_via_filename(
+        version = VersionDetector._get_version_via_archive_dirname(
             files, basename)
         if not version:
-            version = VersionDetector._get_version_via_archive_dirname(
+            version = VersionDetector._get_version_via_filename(
                 files, basename)
         if not version:
             version = VersionDetector._get_version_via_debian_changelog(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-set_version-0.5.3/tests/data_test_from_tarball_with_single_file.json
 
new/obs-service-set_version-0.5.3/tests/data_test_from_tarball_with_single_file.json
--- 
old/obs-service-set_version-0.5.3/tests/data_test_from_tarball_with_single_file.json
        2016-04-08 15:28:43.000000000 +0200
+++ 
new/obs-service-set_version-0.5.3/tests/data_test_from_tarball_with_single_file.json
        2016-04-21 13:54:41.000000000 +0200
@@ -1,9 +1,9 @@
 [
   ["testprog-1.2.3.tar", [], "8.8.8", "1.2.3"],
+  ["testprog-1.2.3.tar", ["testprog-4.5.6"], "8.8.8", "4.5.6"],
   ["tetsprog-2015.10.tar", [], "8.8.8", "2015.10"],
   ["testprog-512.tar", [], "8.8.8", "512"],
   ["1.2.3.tar", ["testprog-4.5.6"], "8.8.8", "4.5.6"],
-  ["testprog-1.2.3.tar", ["testprog-4.5.6"], "8.8.8", "1.2.3"],
   ["testprog-master.tar", ["testprog-4.5.6"], "8.8.8", "4.5.6"],
   ["testprog-master.tar", ["testprog-4.5.6"], " ", "4.5.6"],
   ["testprog-master.tar", ["testprog-4.5.6"], "", "4.5.6"]


Reply via email to