Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2023-11-15 21:06:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sshkit" Wed Nov 15 21:06:55 2023 rev:31 rq:1126308 version:1.21.5 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2022-10-12 18:27:02.522000314 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.17445/rubygem-sshkit.changes 2023-11-15 21:07:22.333562459 +0100 @@ -1,0 +2,5 @@ +Tue Nov 14 15:39:42 UTC 2023 - Dan Äermák <[email protected]> + +- New upstream release 1.21.5, see bundled CHANGELOG.md + +------------------------------------------------------------------- Old: ---- sshkit-1.21.3.gem New: ---- sshkit-1.21.5.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sshkit.spec ++++++ --- /var/tmp/diff_new_pack.nl4xvv/_old 2023-11-15 21:07:23.333599355 +0100 +++ /var/tmp/diff_new_pack.nl4xvv/_new 2023-11-15 21:07:23.337599503 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,11 +24,10 @@ # Name: rubygem-sshkit -Version: 1.21.3 +Version: 1.21.5 Release: 0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 @@ -37,7 +36,6 @@ Source1: gem2rpm.yml Summary: SSHKit makes it easy to write structured, testable SSH commands in License: MIT -Group: Development/Languages/Ruby %description A comprehensive toolkit for remotely running commands in a structured manner ++++++ sshkit-1.21.3.gem -> sshkit-1.21.5.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/workflows/ci.yml new/.github/workflows/ci.yml --- old/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/.github/workflows/ci.yml 2023-07-04 18:20:56.000000000 +0200 @@ -0,0 +1,113 @@ +name: test on CI +on: + push: + branches: [master] + pull_request: +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "head"] + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run tests + run: bundle exec rake test:units + + test-legacy: + runs-on: ubuntu-20.04 + strategy: + matrix: + ruby: ["2.0", "2.1", "2.2"] + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run tests + run: bundle exec rake test:units + + test-all: + runs-on: ubuntu-latest + needs: [test, test-legacy] + if: always() + steps: + - name: All tests ok + if: ${{ !(contains(needs.*.result, 'failure')) }} + run: exit 0 + - name: Some tests failed + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1 + + rubocop: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "2.7" + bundler-cache: true + - name: Run rubocop + run: bundle exec rake lint + + functional: + runs-on: macos-12 + strategy: + matrix: + ruby: + [ + "2.0", + "2.1", + "2.2", + "2.3", + "2.4", + "2.5", + "2.6", + "2.7", + "3.0", + "3.1", + "3.2", + "head", + ] + steps: + - uses: actions/checkout@v3 + + - name: Cache Vagrant boxes + uses: actions/cache@v3 + with: + path: ~/.vagrant.d/boxes + key: ${{ runner.os }}-vagrant-v2-${{ hashFiles('Vagrantfile') }} + restore-keys: | + ${{ runner.os }}-vagrant-v2- + + - name: Run vagrant up + run: vagrant up + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - name: Run functional tests + run: bundle exec rake test:functional + + functional-all: + runs-on: ubuntu-latest + needs: [functional] + if: always() + steps: + - name: All tests ok + if: ${{ !(contains(needs.*.result, 'failure')) }} + run: exit 0 + - name: Some tests failed + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/workflows/push.yml new/.github/workflows/push.yml --- old/.github/workflows/push.yml 2022-09-06 01:51:02.000000000 +0200 +++ new/.github/workflows/push.yml 2023-07-04 18:20:56.000000000 +0200 @@ -7,6 +7,6 @@ steps: - uses: actions/checkout@master - name: Draft Release - uses: toolmantim/[email protected] + uses: toolmantim/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2022-09-06 01:51:02.000000000 +0200 +++ new/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -language: ruby -rvm: - - 3.0 - - 2.7 - - 2.6 - - 2.5 - - 2.4 - - 2.3 - - 2.2 - - 2.1 - - 2.0 -branches: - only: - - master -matrix: - include: - # Run Danger only once, on 2.5 - - rvm: 2.5 - script: bundle exec danger -script: bundle exec rake test:units lint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2022-09-06 01:51:02.000000000 +0200 +++ new/README.md 2023-07-04 18:20:56.000000000 +0200 @@ -4,7 +4,7 @@ more servers. [](https://rubygems.org/gems/sshkit) -[](https://travis-ci.org/capistrano/sshkit) +[](https://github.com/capistrano/sshkit/actions/workflows/ci.yml) ## Example diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vagrantfile new/Vagrantfile --- old/Vagrantfile 2022-09-06 01:51:02.000000000 +0200 +++ new/Vagrantfile 2023-07-04 18:20:56.000000000 +0200 @@ -1,10 +1,14 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = 'hashicorp/precise64' + config.vm.box = 'bento/ubuntu-22.10' + + config.vm.boot_timeout = 600 # seconds + config.ssh.insert_key = false config.vm.provision "shell", inline: <<-SHELL - echo 'ClientAliveInterval 1' >> /etc/ssh/sshd_config - echo 'ClientAliveCountMax 1' >> /etc/ssh/sshd_config + echo 'ClientAliveInterval 3' >> /etc/ssh/sshd_config + echo 'ClientAliveCountMax 3' >> /etc/ssh/sshd_config + echo 'MaxAuthTries 6' >> /etc/ssh/sshd_config service ssh restart SHELL Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/deprecation_logger.rb new/lib/sshkit/deprecation_logger.rb --- old/lib/sshkit/deprecation_logger.rb 2022-09-06 01:51:02.000000000 +0200 +++ new/lib/sshkit/deprecation_logger.rb 2023-07-04 18:20:56.000000000 +0200 @@ -1,3 +1,5 @@ +require 'set' + module SSHKit class DeprecationLogger def initialize(out) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/version.rb new/lib/sshkit/version.rb --- old/lib/sshkit/version.rb 2022-09-06 01:51:02.000000000 +0200 +++ new/lib/sshkit/version.rb 2023-07-04 18:20:56.000000000 +0200 @@ -1,3 +1,3 @@ module SSHKit - VERSION = "1.21.3".freeze + VERSION = "1.21.5".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2022-09-06 01:51:02.000000000 +0200 +++ new/metadata 2023-07-04 18:20:56.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: sshkit version: !ruby/object:Gem::Version - version: 1.21.3 + version: 1.21.5 platform: ruby authors: - Lee Hambley @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2022-09-05 00:00:00.000000000 Z +date: 2023-07-04 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: net-ssh @@ -182,11 +182,11 @@ files: - ".github/dependabot.yml" - ".github/release-drafter.yml" +- ".github/workflows/ci.yml" - ".github/workflows/push.yml" - ".gitignore" - ".rubocop.yml" - ".rubocop_todo.yml" -- ".travis.yml" - ".yardopts" - BREAKING_API_WISHLIST.md - CHANGELOG.md @@ -291,7 +291,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.3.21 +rubygems_version: 3.4.13 signing_key: specification_version: 4 summary: SSHKit makes it easy to write structured, testable SSH commands in Ruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/functional/backends/test_netssh.rb new/test/functional/backends/test_netssh.rb --- old/test/functional/backends/test_netssh.rb 2022-09-06 01:51:02.000000000 +0200 +++ new/test/functional/backends/test_netssh.rb 2023-07-04 18:20:56.000000000 +0200 @@ -75,14 +75,14 @@ def test_group_netssh Netssh.new(a_host) do - as user: :root, group: :admin do + as user: :root, group: :root do execute :touch, 'restart.txt' end end.run command_lines = @output.lines.select { |line| line.start_with?('Command:') } assert_equal [ "Command: if ! sudo -u root whoami > /dev/null; then echo \"You cannot switch to user 'root' using sudo, please check the sudoers file\" 1>&2; false; fi\n", - "Command: sudo -u root -- sh -c sg\\ admin\\ -c\\ /usr/bin/env\\\\\\ touch\\\\\\ restart.txt\n" + "Command: sudo -u root -- sh -c sg\\ root\\ -c\\ /usr/bin/env\\\\\\ touch\\\\\\ restart.txt\n" ], command_lines end
