Hello community,

here is the log from the commit of package opi for openSUSE:Leap:15.2 checked 
in at 2020-03-01 20:32:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/opi (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.opi.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opi"

Sun Mar  1 20:32:01 2020 rev:2 rq:780642 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/opi/opi.changes        2020-02-21 
23:51:36.460835466 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.opi.new.26092/opi.changes     2020-03-01 
20:32:04.925662390 +0100
@@ -1,0 +2,7 @@
+Sat Feb 29 12:46:19 UTC 2020 - Yunhe Guo <[email protected]>
+
+- Version 0.8.0
+  * Changed
+    - Type number 0 to exit
+
+-------------------------------------------------------------------

Old:
----
  opi-0.7.1.tar.gz

New:
----
  opi-0.8.0.tar.gz

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

Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.AWVf5W/_old  2020-03-01 20:32:05.469663528 +0100
+++ /var/tmp/diff_new_pack.AWVf5W/_new  2020-03-01 20:32:05.485663562 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package opi
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           opi
-Version:        0.7.1
+Version:        0.8.0
 Release:        0
 Summary:        OBS Package Installer (CLI)
 License:        GPL-3.0-only

++++++ opi-0.7.1.tar.gz -> opi-0.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-0.7.1/CHANGELOG.md new/opi-0.8.0/CHANGELOG.md
--- old/opi-0.7.1/CHANGELOG.md  2019-11-08 12:13:54.000000000 +0100
+++ new/opi-0.8.0/CHANGELOG.md  2020-02-29 13:43:04.000000000 +0100
@@ -7,6 +7,12 @@
 
 ## [Unreleased]
 
+## [0.8.0]
+
+### Changed
+
+- Type number `0` to exit [#26](https://github.com/openSUSE-zh/opi/pulls/26)
+
 ## [0.7.1]
 
 ### Fixed
@@ -111,7 +117,8 @@
 - Choose package and install
 - Keep or remove repository after installation
 
-[Unreleased]: https://github.com/openSUSE-zh/opi/compare/v0.7.1...HEAD
+[Unreleased]: https://github.com/openSUSE-zh/opi/compare/v0.8.0...HEAD
+[0.8.0]: https://github.com/openSUSE-zh/opi/compare/v0.7.1...v0.8.0
 [0.7.1]: https://github.com/openSUSE-zh/opi/compare/v0.7.0...v0.7.1
 [0.7.0]: https://github.com/openSUSE-zh/opi/compare/v0.6.0...v0.7.0
 [0.6.0]: https://github.com/openSUSE-zh/opi/compare/v0.5.2...v0.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-0.7.1/opi new/opi-0.8.0/opi
--- old/opi-0.7.1/opi   2019-11-08 12:13:54.000000000 +0100
+++ new/opi-0.8.0/opi   2020-02-29 13:43:04.000000000 +0100
@@ -192,7 +192,7 @@
     my $min = shift;
     my $max = shift;
     my $message = shift;
-    print $message || "Choose a number: ";
+    print $message || "Choose a number(0 to quit): ";
     my $typed_number = <STDIN>;
     chomp $typed_number;
     if ($typed_number =~ /^(\d+)$/) {
@@ -201,7 +201,9 @@
             return $typed_number;
         }
     }
-
+    if ($typed_number eq 0) {
+            exit;
+    }
     return type_a_number($min, $max, "Number must be between $min and $max. 
Please try again: ");
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-0.7.1/proxy/index.php 
new/opi-0.8.0/proxy/index.php
--- old/opi-0.7.1/proxy/index.php       2019-11-08 12:13:54.000000000 +0100
+++ new/opi-0.8.0/proxy/index.php       2020-02-29 13:43:04.000000000 +0100
@@ -2,7 +2,6 @@
 
 # Test it with `php -S localhost:8000 index.php`
 
-require __DIR__ . '/vendor/autoload.php';
 require __DIR__ . '/config.php';
 
 # TODO add API rate limits.


Reply via email to