Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-capistrano for openSUSE:Factory checked in at 2021-01-21 21:55:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-capistrano (Old) and /work/SRC/openSUSE:Factory/.rubygem-capistrano.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-capistrano" Thu Jan 21 21:55:20 2021 rev:36 rq:865175 version:3.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-capistrano/rubygem-capistrano.changes 2020-10-05 19:30:22.220557067 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-capistrano.new.28504/rubygem-capistrano.changes 2021-01-21 21:55:21.837794285 +0100 @@ -1,0 +2,7 @@ +Wed Jan 20 12:25:53 UTC 2021 - Stephan Kulow <co...@suse.com> + +updated to version 3.15.0 + see installed CHANGELOG.md + + +------------------------------------------------------------------- Old: ---- capistrano-3.14.1.gem New: ---- capistrano-3.15.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-capistrano.spec ++++++ --- /var/tmp/diff_new_pack.orgTjl/_old 2021-01-21 21:55:23.505795447 +0100 +++ /var/tmp/diff_new_pack.orgTjl/_new 2021-01-21 21:55:23.509795450 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-capistrano # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-capistrano -Version: 3.14.1 +Version: 3.15.0 Release: 0 %define mod_name capistrano %define mod_full_name %{mod_name}-%{version} ++++++ capistrano-3.14.1.gem -> capistrano-3.15.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2020-06-10 18:17:17.000000000 +0200 +++ new/.travis.yml 2021-01-05 16:58:47.000000000 +0100 @@ -1,10 +1,11 @@ language: ruby rvm: - - 2.7.1 - - 2.6.6 - - 2.5.8 - - 2.4.10 - - 2.3.8 + - 3.0 + - 2.7 + - 2.6 + - 2.5 + - 2.4 + - 2.3 - 2.2 - 2.1 - 2.0 @@ -17,8 +18,8 @@ include: - rvm: rbx-2 script: bundle exec rake spec - # Run Danger only once, on 2.5.8 - - rvm: 2.5.8 + # Run Danger only once, on 2.5 + - rvm: 2.5 before_script: bundle exec danger script: bundle exec rake spec rubocop Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/features/step_definitions/assertions.rb new/features/step_definitions/assertions.rb --- old/features/step_definitions/assertions.rb 2020-06-10 18:17:17.000000000 +0200 +++ new/features/step_definitions/assertions.rb 2021-01-05 16:58:47.000000000 +0100 @@ -5,7 +5,7 @@ end Then(/^git wrapper permissions are 0700$/) do - permissions_test = %Q([ $(stat -c "%a" #{TestApp.git_wrapper_path.shellescape}) == "700" ]) + permissions_test = %Q([ $(stat -c "%a" #{TestApp.git_wrapper_path_glob}) == "700" ]) _stdout, _stderr, status = vagrant_cli_command("ssh -c #{permissions_test.shellescape}") expect(status).to be_success diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/capistrano/scm/git.rb new/lib/capistrano/scm/git.rb --- old/lib/capistrano/scm/git.rb 2020-06-10 18:17:17.000000000 +0200 +++ new/lib/capistrano/scm/git.rb 2021-01-05 16:58:47.000000000 +0100 @@ -1,5 +1,6 @@ require "capistrano/scm/plugin" require "cgi" +require "securerandom" require "shellwords" require "uri" @@ -7,10 +8,9 @@ def set_defaults set_if_empty :git_shallow_clone, false set_if_empty :git_wrapper_path, lambda { - # Try to avoid permissions issues when multiple users deploy the same app - # by using different file names in the same dir for each deployer and stage. - suffix = %i(application stage local_user).map { |key| fetch(key).to_s }.join("-") - "#{fetch(:tmp_dir)}/git-ssh-#{suffix}.sh" + # Use a unique name that won't collide with other deployments, and + # that cannot be guessed by other processes that have access to /tmp. + "#{fetch(:tmp_dir)}/git-ssh-#{SecureRandom.hex(10)}.sh" } set_if_empty :git_environmental_variables, lambda { { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/capistrano/version.rb new/lib/capistrano/version.rb --- old/lib/capistrano/version.rb 2020-06-10 18:17:17.000000000 +0200 +++ new/lib/capistrano/version.rb 2021-01-05 16:58:47.000000000 +0100 @@ -1,3 +1,3 @@ module Capistrano - VERSION = "3.14.1".freeze + VERSION = "3.15.0".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2020-06-10 18:17:17.000000000 +0200 +++ new/metadata 2021-01-05 16:58:47.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: capistrano version: !ruby/object:Gem::Version - version: 3.14.1 + version: 3.15.0 platform: ruby authors: - Tom Clements @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2020-06-10 00:00:00.000000000 Z +date: 2021-01-05 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: airbrussh @@ -277,7 +277,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.1.4 +rubygems_version: 3.2.4 signing_key: specification_version: 4 summary: Capistrano - Welcome to easy deployment with Ruby over SSH diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/lib/capistrano/scm/git_spec.rb new/spec/lib/capistrano/scm/git_spec.rb --- old/spec/lib/capistrano/scm/git_spec.rb 2020-06-10 18:17:17.000000000 +0200 +++ new/spec/lib/capistrano/scm/git_spec.rb 2021-01-05 16:58:47.000000000 +0100 @@ -28,13 +28,10 @@ end describe "#set_defaults" do - it "makes git_wrapper_path using application, stage, and local_user" do + it "makes git_wrapper_path using a random hex value" do env.set(:tmp_dir, "/tmp") - env.set(:application, "my_app") - env.set(:stage, "staging") - env.set(:local_user, "(Git Web User) via ShipIt") subject.set_defaults - expect(env.fetch(:git_wrapper_path)).to eq("/tmp/git-ssh-my_app-staging-(Git Web User) via ShipIt.sh") + expect(env.fetch(:git_wrapper_path)).to match(%r{/tmp/git-ssh-\h{20}\.sh}) end it "makes git_max_concurrent_connections" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/support/test_app.rb new/spec/support/test_app.rb --- old/spec/support/test_app.rb 2020-06-10 18:17:17.000000000 +0200 +++ new/spec/support/test_app.rb 2021-01-05 16:58:47.000000000 +0100 @@ -185,12 +185,17 @@ FileUtils.mv(config_path, location) end - def git_wrapper_path - "/tmp/git-ssh-my_app_name-#{stage}-#{current_user}.sh" + def git_wrapper_path_glob + "/tmp/git-ssh-*.sh" end def with_clean_bundler_env(&block) return yield unless defined?(Bundler) - Bundler.with_clean_env(&block) + + if Bundler.respond_to?(:with_unbundled_env) + Bundler.with_unbundled_env(&block) + else + Bundler.with_clean_env(&block) + end end end