Hello community, here is the log from the commit of package opi for openSUSE:Factory checked in at 2020-02-29 21:24:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opi (Old) and /work/SRC/openSUSE:Factory/.opi.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "opi" Sat Feb 29 21:24:58 2020 rev:10 rq:780487 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opi/opi.changes 2019-11-08 15:28:31.127178158 +0100 +++ /work/SRC/openSUSE:Factory/.opi.new.26092/opi.changes 2020-02-29 21:25:15.534604889 +0100 @@ -1,0 +2,7 @@ +Sat Feb 29 12:46:19 UTC 2020 - Yunhe Guo <i@guoyunhe.me> + +- 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.EvMit0/_old 2020-02-29 21:25:15.982605776 +0100 +++ /var/tmp/diff_new_pack.EvMit0/_new 2020-02-29 21:25:15.986605784 +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.
participants (1)
-
root