Hello community,

here is the log from the commit of package opi for openSUSE:Factory checked in 
at 2019-08-30 14:41:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opi (Old)
 and      /work/SRC/openSUSE:Factory/.opi.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opi"

Fri Aug 30 14:41:47 2019 rev:8 rq:727073 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opi/opi.changes  2019-08-19 21:42:08.792281541 
+0200
+++ /work/SRC/openSUSE:Factory/.opi.new.7948/opi.changes        2019-08-30 
14:41:50.689418246 +0200
@@ -1,0 +2,9 @@
+Thu Aug 29 17:32:59 UTC 2019 - Yunhe Guo <[email protected]>
+
+- Version 0.7.0
+  * Changed
+    - Force repo URL to HTTPS
+  * Fixed
+    - Ctrl + C handling of spinner
+
+-------------------------------------------------------------------

Old:
----
  opi-0.6.0.tar.gz

New:
----
  opi-0.7.0.tar.gz

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

Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.Y7fvty/_old  2019-08-30 14:41:51.325418181 +0200
+++ /var/tmp/diff_new_pack.Y7fvty/_new  2019-08-30 14:41:51.329418180 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           opi
-Version:        0.6.0
+Version:        0.7.0
 Release:        0
 Summary:        OBS Package Installer (CLI)
 License:        GPL-3.0-only

++++++ opi-0.6.0.tar.gz -> opi-0.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-0.6.0/CHANGELOG.md new/opi-0.7.0/CHANGELOG.md
--- old/opi-0.6.0/CHANGELOG.md  2019-08-19 00:48:48.000000000 +0200
+++ new/opi-0.7.0/CHANGELOG.md  2019-08-29 19:29:21.000000000 +0200
@@ -7,6 +7,16 @@
 
 ## [Unreleased]
 
+## [0.7.0]
+
+### Changed
+
+- Force repo URL to HTTPS [#22](https://github.com/openSUSE-zh/opi/issues/22)
+
+### Fixed
+
+- Ctrl + C handling of spinner
+
 ## [0.6.0]
 
 ### Added
@@ -95,7 +105,8 @@
 - Choose package and install
 - Keep or remove repository after installation
 
-[Unreleased]: https://github.com/openSUSE-zh/opi/compare/v0.6.0...HEAD
+[Unreleased]: https://github.com/openSUSE-zh/opi/compare/v0.7.0...HEAD
+[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
 [0.5.2]: https://github.com/openSUSE-zh/opi/compare/v0.5.1...v0.5.2
 [0.5.1]: https://github.com/openSUSE-zh/opi/compare/v0.5.0...v0.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-0.6.0/opi new/opi-0.7.0/opi
--- old/opi-0.6.0/opi   2019-08-19 00:48:48.000000000 +0200
+++ new/opi-0.7.0/opi   2019-08-29 19:29:21.000000000 +0200
@@ -14,7 +14,6 @@
 use URI::Escape;
 use Config;
 use Config::Tiny;
-use File::Temp qw/ tempfile tempdir /;
 use Term::ANSIColor;
 
 
@@ -23,13 +22,15 @@
 #
 unless (scalar @ARGV) {
     print "Please specify query keywords. For example:\n";
-    print "    opi pcsx2\n";
+    print "\topi pcsx2\n";
     exit 1;
 }
 
 #
 # Check for packages not from OBS
 #
+
+# 'vs code' --> 'vscode'
 my $serialized_query = lc(join('', @ARGV));
 
 # Check Packman Codecs
@@ -73,6 +74,8 @@
     }
 }
 else {
+    # kill child process when pressing ctrl + c
+    $SIG{'INT'} = sub { kill 'KILL', $pid; exit; };
     # parent process do request
     @obs = search_published_binary('openSUSE', $obs_apiroot, @ARGV);
     @pmbs = search_published_binary('Packman', $pmbs_apiroot, @ARGV);
@@ -499,6 +502,8 @@
         my $repo_url = 
"https://download.opensuse.org/repositories/$project/$repository/";;
         my $repo_file = "$repo_url/$project.repo";
         system "sudo zypper addrepo --refresh $repo_file";
+        # Change http:// to https://
+        system "sudo sed -i 
's~http://download.opensuse.org~https://download.opensuse.org~g' 
/etc/zypp/repos.d/*";
         system "sudo zypper refresh";
         my $install_options = "--allow-vendor-change --allow-arch-change 
--allow-downgrade --allow-name-change";
         $project =~ s/:/_/ig;


Reply via email to