openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
May 2015
- 1 participants
- 1756 discussions
Hello community,
here is the log from the commit of package rubygem-minitest for openSUSE:Factory checked in at 2015-05-02 21:34:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-minitest (Old)
and /work/SRC/openSUSE:Factory/.rubygem-minitest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-minitest"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-minitest/rubygem-minitest.changes 2015-04-21 10:52:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-minitest.new/rubygem-minitest.changes 2015-05-02 21:34:55.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Apr 28 07:47:37 UTC 2015 - coolo(a)suse.com
+
+- updated to version 5.6.1
+ see installed History.rdoc
+
+ === 5.6.1 / 2015-04-27
+
+ * 2 bug fixes:
+
+ * Added Minitest.clock_time and switched all Time.now to it. (tenderlove)
+ * Moved Minitest::Expectations#_ into Minitest::Spec::DSL.
+
+-------------------------------------------------------------------
Old:
----
minitest-5.6.0.gem
New:
----
minitest-5.6.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-minitest.spec ++++++
--- /var/tmp/diff_new_pack.Z7BIAM/_old 2015-05-02 21:34:56.000000000 +0200
+++ /var/tmp/diff_new_pack.Z7BIAM/_new 2015-05-02 21:34:56.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-minitest
-Version: 5.6.0
+Version: 5.6.1
Release: 0
%define mod_name minitest
%define mod_full_name %{mod_name}-%{version}
++++++ minitest-5.6.0.gem -> minitest-5.6.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc
--- old/History.rdoc 2015-04-14 00:08:47.000000000 +0200
+++ new/History.rdoc 2015-04-27 23:30:17.000000000 +0200
@@ -1,3 +1,10 @@
+=== 5.6.1 / 2015-04-27
+
+* 2 bug fixes:
+
+ * Added Minitest.clock_time and switched all Time.now to it. (tenderlove)
+ * Moved Minitest::Expectations#_ into Minitest::Spec::DSL.
+
=== 5.6.0 / 2015-04-13
* 4 major enhancements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 2015-04-14 00:08:47.000000000 +0200
+++ new/README.rdoc 2015-04-27 23:30:17.000000000 +0200
@@ -449,6 +449,10 @@
minitest-ansi :: Colorize minitest output with ANSI colors.
minitest-around :: Around block for minitest. An alternative to
setup/teardown dance.
+minitest-autotest :: autotest is a continous testing facility meant to
+ be used during development.
+minitest-bacon :: minitest-bacon extends minitest with bacon-like
+ functionality.
minitest-bang :: Adds support for RSpec-style let! to immediately
invoke let statements before each test.
minitest-bisect :: Helps you isolate and debug random test failures.
@@ -475,9 +479,14 @@
expectations.
minitest-excludes :: Clean API for excluding certain tests you
don't want to run under certain conditions.
+minitest-filecontent :: Support unit tests with expectation results in files.
+ Differing results will be stored again in files.
minitest-filesystem :: Adds assertion and expectation to help testing
filesystem contents.
minitest-firemock :: Makes your Minitest mocks more resilient.
+minitest-focus :: Focus on one test at a time.
+minitest-gcstats :: A minitest plugin that adds a report of the top
+ tests by number of objects allocated.
minitest-great_expectations :: Generally useful additions to minitest's
assertions and expectations.
minitest-growl :: Test notifier for minitest via growl.
@@ -487,8 +496,11 @@
test method is executed.
minitest-instrument-db :: Store information about speed of test execution
provided by minitest-instrument in database.
+minitest-junit :: JUnit-style XML reporter for minitest.
minitest-libnotify :: Test notifier for minitest via libnotify.
minitest-line :: Run test at line number.
+minitest-logger :: Define assert_log and enable minitest to test log messages.
+ Supports Logger and Log4r::Logger.
minitest-macruby :: Provides extensions to minitest for macruby UI
testing.
minitest-matchers :: Adds support for RSpec-style matchers to
@@ -509,6 +521,9 @@
minitest-reporters :: Create customizable Minitest output formats.
minitest-rg :: Colored red/green output for Minitest.
minitest-rspec_mocks :: Use RSpec Mocks with Minitest.
+minitest-server :: minitest-server provides a client/server setup
+ with your minitest process, allowing your test
+ run to send its results directly to a handler.
minitest-should_syntax :: RSpec-style +x.should == y+ assertions for
Minitest.
minitest-shouldify :: Adding all manner of shoulds to Minitest (bad
@@ -521,11 +536,15 @@
minitest-spec-magic :: Minitest::Spec extensions for Rails and beyond.
minitest-spec-rails :: Drop in Minitest::Spec superclass for
ActiveSupport::TestCase.
+minitest-sprint :: Runs (Get it? It's fast!) your tests and makes
+ it easier to rerun individual failures.
minitest-stately :: Find leaking state between tests
minitest-stub_any_instance :: Stub any instance of a method on the given class
for the duration of a block.
minitest-stub-const :: Stub constants for the duration of a block.
minitest-tags :: Add tags for minitest.
+minitest-unordered :: Adds a new assertion to minitest for checking the
+ contents of a collection, ignoring element order.
minitest-vcr :: Automatic cassette managment with Minitest::Spec
and VCR.
minitest-wscolor :: Yet another test colorizer.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/minitest/benchmark.rb new/lib/minitest/benchmark.rb
--- old/lib/minitest/benchmark.rb 2015-04-14 00:08:47.000000000 +0200
+++ new/lib/minitest/benchmark.rb 2015-04-27 23:30:17.000000000 +0200
@@ -90,9 +90,9 @@
range.each do |x|
GC.start
- t0 = Time.now
+ t0 = Minitest.clock_time
instance_exec(x, &work)
- t = Time.now - t0
+ t = Minitest.clock_time - t0
io.print "\t%9.6f" % t
times << t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/minitest/expectations.rb new/lib/minitest/expectations.rb
--- old/lib/minitest/expectations.rb 2015-04-14 00:08:47.000000000 +0200
+++ new/lib/minitest/expectations.rb 2015-04-27 23:30:17.000000000 +0200
@@ -19,30 +19,6 @@
module Minitest::Expectations
##
- # Returns a value monad that has all of Expectations methods
- # available to it.
- #
- # Also aliased to #value and #expect for your aesthetic pleasure:
- #
- # _(1 + 1).must_equal 2
- # value(1 + 1).must_equal 2
- # expect(1 + 1).must_equal 2
- #
- # This method of expectation-based testing is preferable to
- # straight-expectation methods (on Object) because it stores its
- # test context, bypassing our hacky use of thread-local variables.
- #
- # At some point, the methods on Object will be deprecated and then
- # removed.
-
- def _ value = nil, &block
- Minitest::Expectation.new block || value, self
- end
-
- alias value _
- alias expect _
-
- ##
# See Minitest::Assertions#assert_empty.
#
# collection.must_be_empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/minitest/spec.rb new/lib/minitest/spec.rb
--- old/lib/minitest/spec.rb 2015-04-14 00:08:47.000000000 +0200
+++ new/lib/minitest/spec.rb 2015-04-27 23:30:17.000000000 +0200
@@ -277,7 +277,34 @@
attr_reader :desc # :nodoc:
alias :specify :it
- module InstanceMethods # :nodoc:
+ ##
+ # Rdoc... why are you so dumb?
+
+ module InstanceMethods
+ ##
+ # Returns a value monad that has all of Expectations methods
+ # available to it.
+ #
+ # Also aliased to #value and #expect for your aesthetic pleasure:
+ #
+ # _(1 + 1).must_equal 2
+ # value(1 + 1).must_equal 2
+ # expect(1 + 1).must_equal 2
+ #
+ # This method of expectation-based testing is preferable to
+ # straight-expectation methods (on Object) because it stores its
+ # test context, bypassing our hacky use of thread-local variables.
+ #
+ # At some point, the methods on Object will be deprecated and then
+ # removed.
+
+ def _ value = nil, &block
+ Minitest::Expectation.new block || value, self
+ end
+
+ alias value _
+ alias expect _
+
def before_setup # :nodoc:
super
Thread.current[:current_spec] = self
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/minitest/test.rb new/lib/minitest/test.rb
--- old/lib/minitest/test.rb 2015-04-14 00:08:47.000000000 +0200
+++ new/lib/minitest/test.rb 2015-04-27 23:30:17.000000000 +0200
@@ -251,11 +251,11 @@
end
def time_it # :nodoc:
- t0 = Time.now
+ t0 = Minitest.clock_time
yield
ensure
- self.time = Time.now - t0
+ self.time = Minitest.clock_time - t0
end
def to_s # :nodoc:
@@ -267,10 +267,10 @@
end
def with_info_handler &block # :nodoc:
- t0 = Time.now
+ t0 = Minitest.clock_time
handler = lambda do
- warn "\nCurrent: %s#%s %.2fs" % [self.class, self.name, Time.now - t0]
+ warn "\nCurrent: %s#%s %.2fs" % [self.class, self.name, Minitest.clock_time - t0]
end
self.class.on_signal "INFO", handler, &block
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/minitest.rb new/lib/minitest.rb
--- old/lib/minitest.rb 2015-04-14 00:08:47.000000000 +0200
+++ new/lib/minitest.rb 2015-04-27 23:30:17.000000000 +0200
@@ -7,7 +7,7 @@
# :include: README.rdoc
module Minitest
- VERSION = "5.6.0" # :nodoc:
+ VERSION = "5.6.1" # :nodoc:
ENCS = "".respond_to? :encoding # :nodoc:
@@installed_at_exit ||= false
@@ -507,7 +507,7 @@
end
def start # :nodoc:
- self.start_time = Time.now
+ self.start_time = Minitest.clock_time
end
def record result # :nodoc:
@@ -521,7 +521,7 @@
aggregate = results.group_by { |r| r.failure.class }
aggregate.default = [] # dumb. group_by should provide this
- self.total_time = Time.now - start_time
+ self.total_time = Minitest.clock_time - start_time
self.failures = aggregate[Assertion].size
self.errors = aggregate[UnexpectedError].size
self.skips = aggregate[Skip].size
@@ -780,6 +780,16 @@
raise "#{klass}#run _must_ return self" unless klass === result
result
end
+
+ if defined? Process::CLOCK_MONOTONIC
+ def self.clock_time
+ Process.clock_gettime Process::CLOCK_MONOTONIC
+ end
+ else
+ def self.clock_time
+ Time.now
+ end
+ end
end
require "minitest/test"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-04-14 00:08:47.000000000 +0200
+++ new/metadata 2015-04-27 23:30:17.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: minitest
version: !ruby/object:Gem::Version
- version: 5.6.0
+ version: 5.6.1
platform: ruby
authors:
- Ryan Davis
@@ -29,7 +29,7 @@
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
VpzF30vNaJK6ZT7xlIsIlwmH
-----END CERTIFICATE-----
-date: 2015-04-13 00:00:00.000000000 Z
+date: 2015-04-27 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rdoc
Files old/metadata.gz.sig and new/metadata.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/minitest/test_minitest_spec.rb new/test/minitest/test_minitest_spec.rb
--- old/test/minitest/test_minitest_spec.rb 2015-04-14 00:08:47.000000000 +0200
+++ new/test/minitest/test_minitest_spec.rb 2015-04-27 23:30:17.000000000 +0200
@@ -912,3 +912,26 @@
end
end
end
+
+class ValueMonadTest < Minitest::Test
+ attr_accessor :struct
+
+ def setup
+ @struct = { :_ => 'a', :value => 'b', :expect => 'c' }
+ def @struct.method_missing k # think openstruct
+ self[k]
+ end
+ end
+
+ def test_value_monad_method
+ assert_equal 'a', struct._
+ end
+
+ def test_value_monad_value_alias
+ assert_equal 'b', struct.value
+ end
+
+ def test_value_monad_expect_alias
+ assert_equal 'c', struct.expect
+ end
+end
1
0
Hello community,
here is the log from the commit of package rubygem-sexp_processor for openSUSE:Factory checked in at 2015-05-02 21:34:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sexp_processor (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sexp_processor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sexp_processor"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sexp_processor/rubygem-sexp_processor.changes 2015-03-18 13:04:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sexp_processor.new/rubygem-sexp_processor.changes 2015-05-02 21:34:39.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Apr 28 07:48:12 UTC 2015 - coolo(a)suse.com
+
+- updated to version 4.5.1
+ see installed History.txt
+
+ === 4.5.1 / 2015-04-27
+
+ * 1 minor enhancement:
+
+ * Cache processors and rewriters. Significant speedup. (presidentbeef)
+
+-------------------------------------------------------------------
Old:
----
sexp_processor-4.5.0.gem
New:
----
sexp_processor-4.5.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sexp_processor.spec ++++++
--- /var/tmp/diff_new_pack.1tUnjZ/_old 2015-05-02 21:34:39.000000000 +0200
+++ /var/tmp/diff_new_pack.1tUnjZ/_new 2015-05-02 21:34:39.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-sexp_processor
-Version: 4.5.0
+Version: 4.5.1
Release: 0
%define mod_name sexp_processor
%define mod_full_name %{mod_name}-%{version}
++++++ sexp_processor-4.5.0.gem -> sexp_processor-4.5.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt 2015-03-10 00:26:05.000000000 +0100
+++ new/History.txt 2015-04-28 01:39:39.000000000 +0200
@@ -1,3 +1,9 @@
+=== 4.5.1 / 2015-04-27
+
+* 1 minor enhancement:
+
+ * Cache processors and rewriters. Significant speedup. (presidentbeef)
+
=== 4.5.0 / 2015-03-09
* 1 minor enhancement:
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sexp_processor.rb new/lib/sexp_processor.rb
--- old/lib/sexp_processor.rb 2015-03-10 00:26:05.000000000 +0100
+++ new/lib/sexp_processor.rb 2015-04-28 01:39:39.000000000 +0200
@@ -33,7 +33,7 @@
class SexpProcessor
- VERSION = "4.5.0"
+ VERSION = "4.5.1"
##
# Automatically shifts off the Sexp type before handing the
@@ -110,6 +110,20 @@
end
##
+ # Cache processor methods per class.
+
+ def self.processors
+ @processors ||= {}
+ end
+
+ ##
+ # Cache rewiter methods per class.
+
+ def self.rewriters
+ @rewriters ||= {}
+ end
+
+ ##
# Creates a new SexpProcessor. Use super to invoke this
# initializer from SexpProcessor subclasses, then use the
# attributes above to customize the functionality of the
@@ -130,16 +144,18 @@
# we do this on an instance basis so we can subclass it for
# different processors.
- @processors = {}
- @rewriters = {}
+ @processors = self.class.processors
+ @rewriters = self.class.rewriters
@context = []
- public_methods.each do |name|
- case name
- when /^process_(.*)/ then
- @processors[$1.to_sym] = name.to_sym
- when /^rewrite_(.*)/ then
- @rewriters[$1.to_sym] = name.to_sym
+ if @processors.empty?
+ public_methods.each do |name|
+ case name
+ when /^process_(.*)/ then
+ @processors[$1.to_sym] = name.to_sym
+ when /^rewrite_(.*)/ then
+ @rewriters[$1.to_sym] = name.to_sym
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-03-10 00:26:05.000000000 +0100
+++ new/metadata 2015-04-28 01:39:39.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: sexp_processor
version: !ruby/object:Gem::Version
- version: 4.5.0
+ version: 4.5.1
platform: ruby
authors:
- Ryan Davis
@@ -29,7 +29,7 @@
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
VpzF30vNaJK6ZT7xlIsIlwmH
-----END CERTIFICATE-----
-date: 2015-03-09 00:00:00.000000000 Z
+date: 2015-04-27 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: minitest
@@ -37,14 +37,14 @@
requirements:
- - ~>
- !ruby/object:Gem::Version
- version: '5.5'
+ version: '5.6'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - ~>
- !ruby/object:Gem::Version
- version: '5.5'
+ version: '5.6'
- !ruby/object:Gem::Dependency
name: rdoc
requirement: !ruby/object:Gem::Requirement
Files old/metadata.gz.sig and new/metadata.gz.sig differ
1
0
Hello community,
here is the log from the commit of package rubygem-sprockets for openSUSE:Factory checked in at 2015-05-02 21:34:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sprockets"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes 2015-04-25 11:25:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 2015-05-02 21:34:21.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 28 07:48:46 UTC 2015 - coolo(a)suse.com
+
+- updated to version 3.0.3
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
sprockets-3.0.2.gem
New:
----
sprockets-3.0.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sprockets.spec ++++++
--- /var/tmp/diff_new_pack.ZszobT/_old 2015-05-02 21:34:22.000000000 +0200
+++ /var/tmp/diff_new_pack.ZszobT/_new 2015-05-02 21:34:22.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-sprockets
-Version: 3.0.2
+Version: 3.0.3
Release: 0
%define mod_name sprockets
%define mod_full_name %{mod_name}-%{version}
++++++ sprockets-3.0.2.gem -> sprockets-3.0.3.gem ++++++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sprockets/errors.rb new/lib/sprockets/errors.rb
--- old/lib/sprockets/errors.rb 2015-04-23 07:01:53.000000000 +0200
+++ new/lib/sprockets/errors.rb 2015-04-28 04:24:58.000000000 +0200
@@ -8,5 +8,4 @@
class ConversionError < NotFound; end
class FileNotFound < NotFound; end
class FileOutsidePaths < NotFound; end
- class VersionNotFound < NotFound; end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sprockets/loader.rb new/lib/sprockets/loader.rb
--- old/lib/sprockets/loader.rb 2015-04-23 07:01:53.000000000 +0200
+++ new/lib/sprockets/loader.rb 2015-04-28 04:24:58.000000000 +0200
@@ -26,8 +26,13 @@
def load(uri)
filename, params = parse_asset_uri(uri)
if params.key?(:id)
- asset = cache.fetch("asset-uri:#{VERSION}#{uri}") do
- load_asset_by_id_uri(uri, filename, params)
+ unless asset = cache.get("asset-uri:#{VERSION}:#{uri}", true)
+ id = params.delete(:id)
+ uri_without_id = build_asset_uri(filename, params)
+ asset = load_asset_by_uri(uri_without_id, filename, params)
+ if asset[:id] != id
+ @logger.warn "Sprockets load error: Tried to find #{uri}, but latest was id #{asset[:id]}"
+ end
end
else
asset = fetch_asset_from_dependency_cache(uri, filename) do |paths|
@@ -45,28 +50,7 @@
end
private
- def load_asset_by_id_uri(uri, filename, params)
- # Internal assertion, should be routed through load_asset_by_uri
- unless id = params.delete(:id)
- raise ArgumentError, "expected uri to have an id: #{uri}"
- end
-
- uri = build_asset_uri(filename, params)
- asset = load_asset_by_uri(uri, filename, params)
-
- if id && asset[:id] != id
- raise VersionNotFound, "could not find specified id: #{uri}##{id}"
- end
-
- asset
- end
-
def load_asset_by_uri(uri, filename, params)
- # Internal assertion, should be routed through load_asset_by_id_uri
- if params.key?(:id)
- raise ArgumentError, "expected uri to have no id: #{uri}"
- end
-
unless file?(filename)
raise FileNotFound, "could not find file: #{filename}"
end
@@ -118,6 +102,7 @@
length: source.bytesize
)
else
+ dependencies << build_file_digest_uri(filename)
metadata = {
digest: file_digest(filename),
length: self.stat(filename).size,
@@ -145,11 +130,12 @@
asset[:mtime] = metadata[:dependencies].map { |u|
if u.start_with?("file-digest:")
s = self.stat(parse_file_digest_uri(u))
- s ? s.mtime.to_i : 1211698800
+ s ? s.mtime.to_i : nil
else
- 1211698800
+ nil
end
- }.max
+ }.compact.max
+ asset[:mtime] ||= self.stat(filename).mtime.to_i
cache.set("asset-uri:#{VERSION}:#{asset[:uri]}", asset, true)
cache.set("asset-uri-digest:#{VERSION}:#{uri}:#{asset[:dependencies_digest]}", asset[:uri], true)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sprockets/version.rb new/lib/sprockets/version.rb
--- old/lib/sprockets/version.rb 2015-04-23 07:01:53.000000000 +0200
+++ new/lib/sprockets/version.rb 2015-04-28 04:24:58.000000000 +0200
@@ -1,3 +1,3 @@
module Sprockets
- VERSION = "3.0.2"
+ VERSION = "3.0.3"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-04-23 07:01:53.000000000 +0200
+++ new/metadata 2015-04-28 04:24:58.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: sprockets
version: !ruby/object:Gem::Version
- version: 3.0.2
+ version: 3.0.3
platform: ruby
authors:
- Sam Stephenson
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2015-04-23 00:00:00.000000000 Z
+date: 2015-04-28 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rack
1
0
Hello community,
here is the log from the commit of package perl-Class-Accessor-Lite for openSUSE:Factory checked in at 2015-05-02 21:34:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-Accessor-Lite (Old)
and /work/SRC/openSUSE:Factory/.perl-Class-Accessor-Lite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-Accessor-Lite"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Class-Accessor-Lite/perl-Class-Accessor-Lite.changes 2014-03-09 18:34:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Class-Accessor-Lite.new/perl-Class-Accessor-Lite.changes 2015-05-02 21:34:03.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Apr 28 06:07:01 UTC 2015 - coolo(a)suse.com
+
+- updated to 0.07
+ see /usr/share/doc/packages/perl-Class-Accessor-Lite/Changes
+
+ 0.07
+ - lazy Carp loading (thanks to qsimpleq)
+
+-------------------------------------------------------------------
Old:
----
Class-Accessor-Lite-0.06.tar.gz
New:
----
Class-Accessor-Lite-0.07.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Class-Accessor-Lite.spec ++++++
--- /var/tmp/diff_new_pack.oADHQc/_old 2015-05-02 21:34:03.000000000 +0200
+++ /var/tmp/diff_new_pack.oADHQc/_new 2015-05-02 21:34:03.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Class-Accessor-Lite
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-Class-Accessor-Lite
-Version: 0.06
+Version: 0.07
Release: 0
%define cpan_name Class-Accessor-Lite
-Summary: a minimalistic variant of Class::Accessor
+Summary: Minimalistic Variant of Class::Accessor
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-Accessor-Lite/
-Source: http://www.cpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
++++++ Class-Accessor-Lite-0.06.tar.gz -> Class-Accessor-Lite-0.07.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/.gitignore new/Class-Accessor-Lite-0.07/.gitignore
--- old/Class-Accessor-Lite-0.06/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/.gitignore 2015-04-28 02:46:01.000000000 +0200
@@ -0,0 +1,6 @@
+inc*
+blib*
+META.*
+MYMETA.*
+Makefile
+pm_to_blib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/Changes new/Class-Accessor-Lite-0.07/Changes
--- old/Class-Accessor-Lite-0.06/Changes 2014-01-31 08:55:56.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/Changes 2015-04-28 02:47:24.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Perl extension Class::Accessor::Lite.
+0.07
+ - lazy Carp loading (thanks to qsimpleq)
+
0.06
- fix documentation issues (thanks to magnolia-k)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/MANIFEST new/Class-Accessor-Lite-0.07/MANIFEST
--- old/Class-Accessor-Lite-0.06/MANIFEST 2010-12-06 08:03:40.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/MANIFEST 2015-04-28 02:46:49.000000000 +0200
@@ -1,3 +1,4 @@
+.gitignore
Changes
inc/Module/AutoInstall.pm
inc/Module/Install.pm
@@ -15,6 +16,8 @@
Makefile.PL
MANIFEST This list of files
META.yml
+MYMETA.json
+MYMETA.yml
README
t/00-base.t
t/01-new.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/META.yml new/Class-Accessor-Lite-0.07/META.yml
--- old/Class-Accessor-Lite-0.06/META.yml 2014-01-31 08:57:10.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/META.yml 2015-04-28 02:47:46.000000000 +0200
@@ -3,11 +3,12 @@
author:
- 'Copyright (C) 2008 - 2010 Kazuho Oku'
build_requires:
- ExtUtils::MakeMaker: 6.42
+ ExtUtils::MakeMaker: 6.36
configure_requires:
- ExtUtils::MakeMaker: 6.42
+ ExtUtils::MakeMaker: 6.36
distribution_type: module
-generated_by: 'Module::Install version 1.00'
+dynamic_config: 1
+generated_by: 'Module::Install version 1.08'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,4 +20,5 @@
- t
resources:
license: http://dev.perl.org/licenses/
-version: 0.06
+ repository: https://github.com/kazuho/p5-Class-Accessor-Lite
+version: '0.07'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/MYMETA.json new/Class-Accessor-Lite-0.07/MYMETA.json
--- old/Class-Accessor-Lite-0.06/MYMETA.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/MYMETA.json 2015-04-28 02:47:46.000000000 +0200
@@ -0,0 +1,47 @@
+{
+ "abstract" : "a minimalistic variant of Class::Accessor",
+ "author" : [
+ "Copyright (C) 2008 - 2010 Kazuho Oku"
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Module::Install version 1.08, CPAN::Meta::Converter version 2.143240",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Class-Accessor-Lite",
+ "no_index" : {
+ "directory" : [
+ "inc",
+ "t"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "6.36"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {}
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ],
+ "repository" : {
+ "url" : "https://github.com/kazuho/p5-Class-Accessor-Lite"
+ }
+ },
+ "version" : "0.06"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/MYMETA.yml new/Class-Accessor-Lite-0.07/MYMETA.yml
--- old/Class-Accessor-Lite-0.06/MYMETA.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/MYMETA.yml 2015-04-28 02:47:46.000000000 +0200
@@ -0,0 +1,24 @@
+---
+abstract: 'a minimalistic variant of Class::Accessor'
+author:
+ - 'Copyright (C) 2008 - 2010 Kazuho Oku'
+build_requires:
+ ExtUtils::MakeMaker: '6.36'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
+dynamic_config: 0
+generated_by: 'Module::Install version 1.08, CPAN::Meta::Converter version 2.143240'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Class-Accessor-Lite
+no_index:
+ directory:
+ - inc
+ - t
+requires: {}
+resources:
+ license: http://dev.perl.org/licenses/
+ repository: https://github.com/kazuho/p5-Class-Accessor-Lite
+version: '0.06'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/Makefile.PL new/Class-Accessor-Lite-0.07/Makefile.PL
--- old/Class-Accessor-Lite-0.06/Makefile.PL 2010-11-30 06:01:45.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/Makefile.PL 2015-04-28 02:46:01.000000000 +0200
@@ -5,5 +5,7 @@
all_from('lib/Class/Accessor/Lite.pm');
readme_from('lib/Class/Accessor/Lite.pm');
+repository('https://github.com/kazuho/p5-Class-Accessor-Lite');
+
auto_install;
WriteAll;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/AutoInstall.pm new/Class-Accessor-Lite-0.07/inc/Module/AutoInstall.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/AutoInstall.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/AutoInstall.pm 2015-04-28 02:47:46.000000000 +0200
@@ -3,11 +3,12 @@
use strict;
use Cwd ();
+use File::Spec ();
use ExtUtils::MakeMaker ();
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.03';
+ $VERSION = '1.08';
}
# special map on pre-defined feature sets
@@ -17,11 +18,14 @@
);
# various lexical flags
-my ( @Missing, @Existing, %DisabledTests, $UnderCPAN, $HasCPANPLUS );
+my ( @Missing, @Existing, %DisabledTests, $UnderCPAN, $InstallDepsTarget, $HasCPANPLUS );
my (
- $Config, $CheckOnly, $SkipInstall, $AcceptDefault, $TestOnly, $AllDeps
+ $Config, $CheckOnly, $SkipInstall, $AcceptDefault, $TestOnly, $AllDeps,
+ $UpgradeDeps
);
-my ( $PostambleActions, $PostambleUsed );
+my ( $PostambleActions, $PostambleActionsNoTest, $PostambleActionsUpgradeDeps,
+ $PostambleActionsUpgradeDepsNoTest, $PostambleActionsListDeps,
+ $PostambleActionsListAllDeps, $PostambleUsed, $NoTest);
# See if it's a testing or non-interactive session
_accept_default( $ENV{AUTOMATED_TESTING} or ! -t STDIN );
@@ -31,6 +35,10 @@
$AcceptDefault = shift;
}
+sub _installdeps_target {
+ $InstallDepsTarget = shift;
+}
+
sub missing_modules {
return @Missing;
}
@@ -63,6 +71,11 @@
__PACKAGE__->install( $Config, @Missing = split( /,/, $1 ) );
exit 0;
}
+ elsif ( $arg =~ /^--upgradedeps=(.*)$/ ) {
+ $UpgradeDeps = 1;
+ __PACKAGE__->install( $Config, @Missing = split( /,/, $1 ) );
+ exit 0;
+ }
elsif ( $arg =~ /^--default(?:deps)?$/ ) {
$AcceptDefault = 1;
}
@@ -125,7 +138,7 @@
# check entirely since we don't want to have to load (and configure)
# an old CPAN just for a cosmetic message
- $UnderCPAN = _check_lock(1) unless $SkipInstall;
+ $UnderCPAN = _check_lock(1) unless $SkipInstall || $InstallDepsTarget;
while ( my ( $feature, $modules ) = splice( @args, 0, 2 ) ) {
my ( @required, @tests, @skiptests );
@@ -175,7 +188,7 @@
}
# XXX: check for conflicts and uninstalls(!) them.
- my $cur = _load($mod);
+ my $cur = _version_of($mod);
if (_version_cmp ($cur, $arg) >= 0)
{
print "loaded. ($cur" . ( $arg ? " >= $arg" : '' ) . ")\n";
@@ -207,6 +220,7 @@
$CheckOnly
or ($mandatory and $UnderCPAN)
or $AllDeps
+ or $InstallDepsTarget
or _prompt(
qq{==> Auto-install the }
. ( @required / 2 )
@@ -237,10 +251,17 @@
}
}
- if ( @Missing and not( $CheckOnly or $UnderCPAN ) ) {
+ if ( @Missing and not( $CheckOnly or $UnderCPAN) ) {
require Config;
- print
-"*** Dependencies will be installed the next time you type '$Config::Config{make}'.\n";
+ my $make = $Config::Config{make};
+ if ($InstallDepsTarget) {
+ print
+"*** To install dependencies type '$make installdeps' or '$make installdeps_notest'.\n";
+ }
+ else {
+ print
+"*** Dependencies will be installed the next time you type '$make'.\n";
+ }
# make an educated guess of whether we'll need root permission.
print " (You may need to do that as the 'root' user.)\n"
@@ -271,6 +292,10 @@
sub _check_lock {
return unless @Missing or @_;
+ if ($ENV{PERL5_CPANM_IS_RUNNING}) {
+ return _running_under('cpanminus');
+ }
+
my $cpan_env = $ENV{PERL5_CPAN_IS_RUNNING};
if ($ENV{PERL5_CPANPLUS_IS_RUNNING}) {
@@ -324,7 +349,7 @@
while ( my ( $pkg, $ver ) = splice( @_, 0, 2 ) ) {
# grep out those already installed
- if ( _version_cmp( _load($pkg), $ver ) >= 0 ) {
+ if ( _version_cmp( _version_of($pkg), $ver ) >= 0 ) {
push @installed, $pkg;
}
else {
@@ -332,6 +357,11 @@
}
}
+ if ($UpgradeDeps) {
+ push @modules, @installed;
+ @installed = ();
+ }
+
return @installed unless @modules; # nothing to do
return @installed if _check_lock(); # defer to the CPAN shell
@@ -363,7 +393,7 @@
# see if we have successfully installed them
while ( my ( $pkg, $ver ) = splice( @modules, 0, 2 ) ) {
- if ( _version_cmp( _load($pkg), $ver ) >= 0 ) {
+ if ( _version_cmp( _version_of($pkg), $ver ) >= 0 ) {
push @installed, $pkg;
}
elsif ( $args{do_once} and open( FAILED, '>> .#autoinstall.failed' ) ) {
@@ -463,6 +493,11 @@
} else {
die "*** Cannot convert option $key = '$value' to CPANPLUS version.\n";
}
+ push @config, 'prereqs', $value;
+ } elsif ( $key eq 'force' ) {
+ push @config, $key, $value;
+ } elsif ( $key eq 'notest' ) {
+ push @config, 'skiptest', $value;
} else {
die "*** Cannot convert option $key to CPANPLUS version.\n";
}
@@ -497,10 +532,14 @@
# set additional options
while ( my ( $opt, $arg ) = splice( @config, 0, 2 ) ) {
( $args{$opt} = $arg, next )
- if $opt =~ /^force$/; # pseudo-option
+ if $opt =~ /^(?:force|notest)$/; # pseudo-option
$CPAN::Config->{$opt} = $arg;
}
+ if ($args{notest} && (not CPAN::Shell->can('notest'))) {
+ die "Your version of CPAN is too old to support the 'notest' pragma";
+ }
+
local $CPAN::Config->{prerequisites_policy} = 'follow';
while ( my ( $pkg, $ver ) = splice( @modules, 0, 2 ) ) {
@@ -519,8 +558,16 @@
delete $INC{$inc};
}
- my $rv = $args{force} ? CPAN::Shell->force( install => $pkg )
- : CPAN::Shell->install($pkg);
+ my $rv = do {
+ if ($args{force}) {
+ CPAN::Shell->force( install => $pkg )
+ } elsif ($args{notest}) {
+ CPAN::Shell->notest( install => $pkg )
+ } else {
+ CPAN::Shell->install($pkg)
+ }
+ };
+
$rv ||= eval {
$CPAN::META->instance( 'CPAN::Distribution', $obj->cpan_file, )
->{install}
@@ -575,7 +622,7 @@
my $ver = shift;
return
- if _version_cmp( _load($class), $ver ) >= 0; # no need to upgrade
+ if _version_cmp( _version_of($class), $ver ) >= 0; # no need to upgrade
if (
_prompt( "==> A newer version of $class ($ver) is required. Install?",
@@ -660,16 +707,30 @@
# load a module and return the version it reports
sub _load {
- my $mod = pop; # class/instance doesn't matter
+ my $mod = pop; # method/function doesn't matter
my $file = $mod;
-
$file =~ s|::|/|g;
$file .= '.pm';
-
local $@;
return eval { require $file; $mod->VERSION } || ( $@ ? undef: 0 );
}
+# report version without loading a module
+sub _version_of {
+ my $mod = pop; # method/function doesn't matter
+ my $file = $mod;
+ $file =~ s|::|/|g;
+ $file .= '.pm';
+ foreach my $dir ( @INC ) {
+ next if ref $dir;
+ my $path = File::Spec->catfile($dir, $file);
+ next unless -e $path;
+ require ExtUtils::MM_Unix;
+ return ExtUtils::MM_Unix->parse_version($path);
+ }
+ return undef;
+}
+
# Load CPAN.pm and it's configuration
sub _load_cpan {
return if $CPAN::VERSION and $CPAN::Config and not @_;
@@ -763,6 +824,35 @@
: "\$(NOECHO) \$(NOOP)"
);
+ my $deps_list = join( ',', @Missing, @Existing );
+
+ $PostambleActionsUpgradeDeps =
+ "\$(PERL) $0 --config=$config --upgradedeps=$deps_list";
+
+ my $config_notest =
+ join( ',', (UNIVERSAL::isa( $Config, 'HASH' ) ? %{$Config} : @{$Config}),
+ 'notest', 1 )
+ if $Config;
+
+ $PostambleActionsNoTest = (
+ ($missing and not $UnderCPAN)
+ ? "\$(PERL) $0 --config=$config_notest --installdeps=$missing"
+ : "\$(NOECHO) \$(NOOP)"
+ );
+
+ $PostambleActionsUpgradeDepsNoTest =
+ "\$(PERL) $0 --config=$config_notest --upgradedeps=$deps_list";
+
+ $PostambleActionsListDeps =
+ '@$(PERL) -le "print for @ARGV" '
+ . join(' ', map $Missing[$_], grep $_ % 2 == 0, 0..$#Missing);
+
+ my @all = (@Missing, @Existing);
+
+ $PostambleActionsListAllDeps =
+ '@$(PERL) -le "print for @ARGV" '
+ . join(' ', map $all[$_], grep $_ % 2 == 0, 0..$#all);
+
return %args;
}
@@ -797,11 +887,15 @@
sub postamble {
$PostambleUsed = 1;
+ my $fragment;
- return <<"END_MAKE";
+ $fragment .= <<"AUTO_INSTALL" if !$InstallDepsTarget;
config :: installdeps
\t\$(NOECHO) \$(NOOP)
+AUTO_INSTALL
+
+ $fragment .= <<"END_MAKE";
checkdeps ::
\t\$(PERL) $0 --checkdeps
@@ -809,12 +903,28 @@
installdeps ::
\t$PostambleActions
+installdeps_notest ::
+\t$PostambleActionsNoTest
+
+upgradedeps ::
+\t$PostambleActionsUpgradeDeps
+
+upgradedeps_notest ::
+\t$PostambleActionsUpgradeDepsNoTest
+
+listdeps ::
+\t$PostambleActionsListDeps
+
+listalldeps ::
+\t$PostambleActionsListAllDeps
+
END_MAKE
+ return $fragment;
}
1;
__END__
-#line 1071
+#line 1193
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/AutoInstall.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/AutoInstall.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/AutoInstall.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/AutoInstall.pm 2015-04-28 02:47:46.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -73,6 +73,17 @@
);
}
+sub installdeps_target {
+ my ($self, @args) = @_;
+
+ $self->include('Module::AutoInstall');
+ require Module::AutoInstall;
+
+ Module::AutoInstall::_installdeps_target(1);
+
+ $self->auto_install(@args);
+}
+
sub auto_install_now {
my $self = shift;
$self->auto_install(@_);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Base.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Base.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Base.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Base.pm 2015-04-28 02:47:46.000000000 +0200
@@ -4,7 +4,7 @@
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
}
# Suspend handler for "redefined" warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Can.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Can.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Can.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Can.pm 2015-04-28 02:47:46.000000000 +0200
@@ -3,13 +3,12 @@
use strict;
use Config ();
-use File::Spec ();
use ExtUtils::MakeMaker ();
use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -29,7 +28,7 @@
eval { require $mod; $pkg->VERSION($ver || 0); 1 };
}
-# check if we can run some command
+# Check if we can run some command
sub can_run {
my ($self, $cmd) = @_;
@@ -38,14 +37,88 @@
for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') {
next if $dir eq '';
- my $abs = File::Spec->catfile($dir, $_[1]);
+ require File::Spec;
+ my $abs = File::Spec->catfile($dir, $cmd);
return $abs if (-x $abs or $abs = MM->maybe_command($abs));
}
return;
}
-# can we locate a (the) C compiler
+# Can our C compiler environment build XS files
+sub can_xs {
+ my $self = shift;
+
+ # Ensure we have the CBuilder module
+ $self->configure_requires( 'ExtUtils::CBuilder' => 0.27 );
+
+ # Do we have the configure_requires checker?
+ local $@;
+ eval "require ExtUtils::CBuilder;";
+ if ( $@ ) {
+ # They don't obey configure_requires, so it is
+ # someone old and delicate. Try to avoid hurting
+ # them by falling back to an older simpler test.
+ return $self->can_cc();
+ }
+
+ # Do we have a working C compiler
+ my $builder = ExtUtils::CBuilder->new(
+ quiet => 1,
+ );
+ unless ( $builder->have_compiler ) {
+ # No working C compiler
+ return 0;
+ }
+
+ # Write a C file representative of what XS becomes
+ require File::Temp;
+ my ( $FH, $tmpfile ) = File::Temp::tempfile(
+ "compilexs-XXXXX",
+ SUFFIX => '.c',
+ );
+ binmode $FH;
+ print $FH <<'END_C';
+#include "EXTERN.h"
+#include "perl.h"
+#include "XSUB.h"
+
+int main(int argc, char **argv) {
+ return 0;
+}
+
+int boot_sanexs() {
+ return 1;
+}
+
+END_C
+ close $FH;
+
+ # Can the C compiler access the same headers XS does
+ my @libs = ();
+ my $object = undef;
+ eval {
+ local $^W = 0;
+ $object = $builder->compile(
+ source => $tmpfile,
+ );
+ @libs = $builder->link(
+ objects => $object,
+ module_name => 'sanexs',
+ );
+ };
+ my $result = $@ ? 0 : 1;
+
+ # Clean up all the build files
+ foreach ( $tmpfile, $object, @libs ) {
+ next unless defined $_;
+ 1 while unlink;
+ }
+
+ return $result;
+}
+
+# Can we locate a (the) C compiler
sub can_cc {
my $self = shift;
my @chunks = split(/ /, $Config::Config{cc}) or return;
@@ -78,4 +151,4 @@
__END__
-#line 156
+#line 236
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Fetch.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Fetch.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Fetch.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Fetch.pm 2015-04-28 02:47:46.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Include.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Include.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Include.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Include.pm 2015-04-28 02:47:46.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Makefile.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Makefile.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Makefile.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Makefile.pm 2015-04-28 02:47:46.000000000 +0200
@@ -8,7 +8,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -215,18 +215,22 @@
require ExtUtils::MakeMaker;
if ( $perl_version and $self->_cmp($perl_version, '5.006') >= 0 ) {
- # MakeMaker can complain about module versions that include
- # an underscore, even though its own version may contain one!
- # Hence the funny regexp to get rid of it. See RT #35800
- # for details.
- my $v = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/;
- $self->build_requires( 'ExtUtils::MakeMaker' => $v );
- $self->configure_requires( 'ExtUtils::MakeMaker' => $v );
+ # This previous attempted to inherit the version of
+ # ExtUtils::MakeMaker in use by the module author, but this
+ # was found to be untenable as some authors build releases
+ # using future dev versions of EU:MM that nobody else has.
+ # Instead, #toolchain suggests we use 6.59 which is the most
+ # stable version on CPAN at time of writing and is, to quote
+ # ribasushi, "not terminally fucked, > and tested enough".
+ # TODO: We will now need to maintain this over time to push
+ # the version up as new versions are released.
+ $self->build_requires( 'ExtUtils::MakeMaker' => 6.59 );
+ $self->configure_requires( 'ExtUtils::MakeMaker' => 6.59 );
} else {
# Allow legacy-compatibility with 5.005 by depending on the
# most recent EU:MM that supported 5.005.
- $self->build_requires( 'ExtUtils::MakeMaker' => 6.42 );
- $self->configure_requires( 'ExtUtils::MakeMaker' => 6.42 );
+ $self->build_requires( 'ExtUtils::MakeMaker' => 6.36 );
+ $self->configure_requires( 'ExtUtils::MakeMaker' => 6.36 );
}
# Generate the MakeMaker params
@@ -241,7 +245,6 @@
'all_from' if you prefer) in Makefile.PL.
EOT
- $DB::single = 1;
if ( $self->tests ) {
my @tests = split ' ', $self->tests;
my %seen;
@@ -412,4 +415,4 @@
__END__
-#line 541
+#line 544
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Metadata.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Metadata.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Metadata.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Metadata.pm 2015-04-28 02:47:46.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -151,15 +151,21 @@
sub install_as_vendor { $_[0]->installdirs('vendor') }
sub dynamic_config {
- my $self = shift;
- unless ( @_ ) {
- warn "You MUST provide an explicit true/false value to dynamic_config\n";
- return $self;
+ my $self = shift;
+ my $value = @_ ? shift : 1;
+ if ( $self->{values}->{dynamic_config} ) {
+ # Once dynamic we never change to static, for safety
+ return 0;
}
- $self->{values}->{dynamic_config} = $_[0] ? 1 : 0;
+ $self->{values}->{dynamic_config} = $value ? 1 : 0;
return 1;
}
+# Convenience command
+sub static_config {
+ shift->dynamic_config(0);
+}
+
sub perl_version {
my $self = shift;
return $self->{values}->{perl_version} unless @_;
@@ -170,7 +176,7 @@
# Normalize the version
$version = $self->_perl_version($version);
- # We don't support the reall old versions
+ # We don't support the really old versions
unless ( $version >= 5.005 ) {
die "Module::Install only supports 5.005 or newer (use ExtUtils::MakeMaker)\n";
}
@@ -515,6 +521,7 @@
'GNU Free Documentation license' => 'unrestricted', 1,
'GNU Affero General Public License' => 'open_source', 1,
'(?:Free)?BSD license' => 'bsd', 1,
+ 'Artistic license 2\.0' => 'artistic_2', 1,
'Artistic license' => 'artistic', 1,
'Apache (?:Software )?license' => 'apache', 1,
'GPL' => 'gpl', 1,
@@ -550,9 +557,9 @@
sub _extract_bugtracker {
my @links = $_[0] =~ m#L<(
- \Qhttp://rt.cpan.org/\E[^>]+|
- \Qhttp://github.com/\E[\w_]+/[\w_]+/issues|
- \Qhttp://code.google.com/p/\E[\w_\-]+/issues/list
+ https?\Q://rt.cpan.org/\E[^>]+|
+ https?\Q://github.com/\E[\w_]+/[\w_]+/issues|
+ https?\Q://code.google.com/p/\E[\w_\-]+/issues/list
)>#gx;
my %links;
@links{@links}=();
@@ -581,7 +588,7 @@
sub requires_from {
my $self = shift;
my $content = Module::Install::_readperl($_[0]);
- my @requires = $content =~ m/^use\s+([^\W\d]\w*(?:::\w+)*)\s+([\d\.]+)/mg;
+ my @requires = $content =~ m/^use\s+([^\W\d]\w*(?:::\w+)*)\s+(v?[\d\.]+)/mg;
while ( @requires ) {
my $module = shift @requires;
my $version = shift @requires;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/ReadmeFromPod.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/ReadmeFromPod.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/ReadmeFromPod.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/ReadmeFromPod.pm 2015-04-28 02:47:46.000000000 +0200
@@ -7,29 +7,119 @@
use base qw(Module::Install::Base);
use vars qw($VERSION);
-$VERSION = '0.12';
+$VERSION = '0.22';
sub readme_from {
my $self = shift;
return unless $self->is_admin;
- my $file = shift || $self->_all_from
+ # Input file
+ my $in_file = shift || $self->_all_from
or die "Can't determine file to make readme_from";
- my $clean = shift;
- print "Writing README from $file\n";
+ # Get optional arguments
+ my ($clean, $format, $out_file, $options);
+ my $args = shift;
+ if ( ref $args ) {
+ # Arguments are in a hashref
+ if ( ref($args) ne 'HASH' ) {
+ die "Expected a hashref but got a ".ref($args)."\n";
+ } else {
+ $clean = $args->{'clean'};
+ $format = $args->{'format'};
+ $out_file = $args->{'output_file'};
+ $options = $args->{'options'};
+ }
+ } else {
+ # Arguments are in a list
+ $clean = $args;
+ $format = shift;
+ $out_file = shift;
+ $options = \@_;
+ }
+
+ # Default values;
+ $clean ||= 0;
+ $format ||= 'txt';
+
+ # Generate README
+ print "readme_from $in_file to $format\n";
+ if ($format =~ m/te?xt/) {
+ $out_file = $self->_readme_txt($in_file, $out_file, $options);
+ } elsif ($format =~ m/html?/) {
+ $out_file = $self->_readme_htm($in_file, $out_file, $options);
+ } elsif ($format eq 'man') {
+ $out_file = $self->_readme_man($in_file, $out_file, $options);
+ } elsif ($format eq 'pdf') {
+ $out_file = $self->_readme_pdf($in_file, $out_file, $options);
+ }
- require Pod::Text;
- my $parser = Pod::Text->new();
- open README, '> README' or die "$!\n";
- $parser->output_fh( *README );
- $parser->parse_file( $file );
if ($clean) {
- $self->clean_files('README');
+ $self->clean_files($out_file);
}
+
return 1;
}
+
+sub _readme_txt {
+ my ($self, $in_file, $out_file, $options) = @_;
+ $out_file ||= 'README';
+ require Pod::Text;
+ my $parser = Pod::Text->new( @$options );
+ open my $out_fh, '>', $out_file or die "Could not write file $out_file:\n$!\n";
+ $parser->output_fh( *$out_fh );
+ $parser->parse_file( $in_file );
+ close $out_fh;
+ return $out_file;
+}
+
+
+sub _readme_htm {
+ my ($self, $in_file, $out_file, $options) = @_;
+ $out_file ||= 'README.htm';
+ require Pod::Html;
+ Pod::Html::pod2html(
+ "--infile=$in_file",
+ "--outfile=$out_file",
+ @$options,
+ );
+ # Remove temporary files if needed
+ for my $file ('pod2htmd.tmp', 'pod2htmi.tmp') {
+ if (-e $file) {
+ unlink $file or warn "Warning: Could not remove file '$file'.\n$!\n";
+ }
+ }
+ return $out_file;
+}
+
+
+sub _readme_man {
+ my ($self, $in_file, $out_file, $options) = @_;
+ $out_file ||= 'README.1';
+ require Pod::Man;
+ my $parser = Pod::Man->new( @$options );
+ $parser->parse_from_file($in_file, $out_file);
+ return $out_file;
+}
+
+
+sub _readme_pdf {
+ my ($self, $in_file, $out_file, $options) = @_;
+ $out_file ||= 'README.pdf';
+ eval { require App::pod2pdf; }
+ or die "Could not generate $out_file because pod2pdf could not be found\n";
+ my $parser = App::pod2pdf->new( @$options );
+ $parser->parse_from_file($in_file);
+ open my $out_fh, '>', $out_file or die "Could not write file $out_file:\n$!\n";
+ select $out_fh;
+ $parser->output;
+ select STDOUT;
+ close $out_fh;
+ return $out_file;
+}
+
+
sub _all_from {
my $self = shift;
return unless $self->admin->{extensions};
@@ -44,5 +134,5 @@
__END__
-#line 112
+#line 254
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/Win32.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/Win32.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/Win32.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/Win32.pm 2015-04-28 02:47:46.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install/WriteAll.pm new/Class-Accessor-Lite-0.07/inc/Module/Install/WriteAll.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install/WriteAll.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install/WriteAll.pm 2015-04-28 02:47:46.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.08';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/inc/Module/Install.pm new/Class-Accessor-Lite-0.07/inc/Module/Install.pm
--- old/Class-Accessor-Lite-0.06/inc/Module/Install.pm 2014-01-31 08:57:09.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/inc/Module/Install.pm 2015-04-28 02:47:46.000000000 +0200
@@ -31,7 +31,7 @@
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '1.00';
+ $VERSION = '1.08';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -451,7 +451,7 @@
}
sub _cmp ($$) {
- _version($_[0]) <=> _version($_[1]);
+ _version($_[1]) <=> _version($_[2]);
}
# Cloned from Params::Util::_CLASS
@@ -467,4 +467,4 @@
1;
-# Copyright 2008 - 2010 Adam Kennedy.
+# Copyright 2008 - 2012 Adam Kennedy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Accessor-Lite-0.06/lib/Class/Accessor/Lite.pm new/Class-Accessor-Lite-0.07/lib/Class/Accessor/Lite.pm
--- old/Class-Accessor-Lite-0.06/lib/Class/Accessor/Lite.pm 2014-01-31 08:56:04.000000000 +0100
+++ new/Class-Accessor-Lite-0.07/lib/Class/Accessor/Lite.pm 2015-04-28 02:47:31.000000000 +0200
@@ -2,9 +2,9 @@
use strict;
-our $VERSION = '0.06';
+our $VERSION = '0.07';
-use Carp ();
+sub croak {require Carp; Carp::croak(@_)}
sub import {
shift;
@@ -17,7 +17,7 @@
);
for my $key (sort keys %key_ctor) {
if (defined $args{$key}) {
- Carp::croak "value of the '$key' parameter should be an arrayref"
+ croak("value of the '$key' parameter should be an arrayref")
unless ref($args{$key}) eq 'ARRAY';
$key_ctor{$key}->($pkg, @{$args{$key}});
}
@@ -114,7 +114,7 @@
return $_[0]->{$n} if @_ == 1;
} else {
my $caller = caller(0);
- Carp::croak("'$caller' cannot access the value of '$n' on objects of class '$pkg'");
+ croak("'$caller' cannot access the value of '$n' on objects of class '$pkg'");
}
};
}
@@ -124,7 +124,7 @@
sub {
if (@_ == 1) {
my $caller = caller(0);
- Carp::croak( "'$caller' cannot alter the value of '$n' on objects of class '$pkg'")
+ croak("'$caller' cannot alter the value of '$n' on objects of class '$pkg'")
} else {
return $_[0]->{$n} = $_[1] if @_ == 2;
shift->{$n} = \@_;
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package perl-Perl-Critic for openSUSE:Factory checked in at 2015-05-02 21:33:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Perl-Critic (Old)
and /work/SRC/openSUSE:Factory/.perl-Perl-Critic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Perl-Critic"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Perl-Critic/perl-Perl-Critic.changes 2014-09-23 10:42:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Perl-Critic.new/perl-Perl-Critic.changes 2015-05-02 21:33:46.000000000 +0200
@@ -1,0 +2,40 @@
+Tue Apr 28 06:36:06 UTC 2015 - coolo(a)suse.com
+
+- updated to 1.125
+ see /usr/share/doc/packages/perl-Perl-Critic/Changes
+
+ 1.125 2015-03-02
+
+ [Bug Fixes]
+ * Corrected dependency on List::Util::any() to List::MoreUtils::any()
+
+ [Miscellanea]
+ * Revised and updated documentation.
+
+ 1.124 2015-02-27
+
+ [Policy Changes]
+ * The ProhibitUnusedPrivateSubroutines policy can now ignore files that
+ use particular modules with 'skip_when_using' option allows of, for
+ example, skipping the policy for roles. Thanks to Mark Fowler.
+
+ * The RequireUseStrict and RequireUseWarnings policies now regard Moose,
+ Moo, Mouse, Dancer, Mojolicious, and several other modules as equivalent
+ to the strict and warnings pragma.
+
+ [Bug Fixes]
+ * The RequireChecked* family of policies has been fixed to accommodate
+ version numbers when use-ing the autodie pragma. GH #612. Thanks citrin.
+
+ 1.123 2014-11-11
+
+ [Dependencies]
+ * Now requires PPI-1.220 which has numerous bug fixes. This may
+ eliminate the need for some "## no critic" markers you inserted to
+ work around those bugs. The "ProhibitUselessNoCritic" policy should
+ help you find them.
+
+ [Miscellanea]
+ * Fixed a typo in the Variables::ProhibitPerl4PackageNames message.
+
+-------------------------------------------------------------------
Old:
----
Perl-Critic-1.122.tar.gz
New:
----
Perl-Critic-1.125.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Perl-Critic.spec ++++++
--- /var/tmp/diff_new_pack.9UdrPl/_old 2015-05-02 21:33:47.000000000 +0200
+++ /var/tmp/diff_new_pack.9UdrPl/_new 2015-05-02 21:33:47.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Perl-Critic
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-Perl-Critic
-Version: 1.122
+Version: 1.125
Release: 0
%define cpan_name Perl-Critic
-Summary: Critique Perl source code for best-practices.
+Summary: Critique Perl source code for best-practices
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Perl-Critic/
-Source: http://www.cpan.org/authors/id/T/TH/THALJEF/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/T/TH/THALJEF/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -38,14 +39,14 @@
BuildRequires: perl(File::Which)
BuildRequires: perl(IO::String)
BuildRequires: perl(List::MoreUtils) >= 0.19
-BuildRequires: perl(Module::Build) >= 0.4024
+BuildRequires: perl(Module::Build) >= 0.402400
BuildRequires: perl(Module::Pluggable) >= 3.1
-BuildRequires: perl(PPI) >= 1.218
-BuildRequires: perl(PPI::Document) >= 1.218
-BuildRequires: perl(PPI::Document::File) >= 1.218
-BuildRequires: perl(PPI::Node) >= 1.218
-BuildRequires: perl(PPI::Token::Quote::Single) >= 1.218
-BuildRequires: perl(PPI::Token::Whitespace) >= 1.218
+BuildRequires: perl(PPI) >= 1.220
+BuildRequires: perl(PPI::Document) >= 1.220
+BuildRequires: perl(PPI::Document::File) >= 1.220
+BuildRequires: perl(PPI::Node) >= 1.220
+BuildRequires: perl(PPI::Token::Quote::Single) >= 1.220
+BuildRequires: perl(PPI::Token::Whitespace) >= 1.220
BuildRequires: perl(PPIx::Regexp) >= 0.027
BuildRequires: perl(PPIx::Utilities::Node) >= 1.001
BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001
@@ -68,12 +69,12 @@
Requires: perl(IO::String)
Requires: perl(List::MoreUtils) >= 0.19
Requires: perl(Module::Pluggable) >= 3.1
-Requires: perl(PPI) >= 1.218
-Requires: perl(PPI::Document) >= 1.218
-Requires: perl(PPI::Document::File) >= 1.218
-Requires: perl(PPI::Node) >= 1.218
-Requires: perl(PPI::Token::Quote::Single) >= 1.218
-Requires: perl(PPI::Token::Whitespace) >= 1.218
+Requires: perl(PPI) >= 1.220
+Requires: perl(PPI::Document) >= 1.220
+Requires: perl(PPI::Document::File) >= 1.220
+Requires: perl(PPI::Node) >= 1.220
+Requires: perl(PPI::Token::Quote::Single) >= 1.220
+Requires: perl(PPI::Token::Whitespace) >= 1.220
Requires: perl(PPIx::Regexp) >= 0.027
Requires: perl(PPIx::Utilities::Node) >= 1.001
Requires: perl(PPIx::Utilities::Statement) >= 1.001
@@ -90,39 +91,27 @@
%description
Perl::Critic is an extensible framework for creating and applying coding
standards to Perl source code. Essentially, it is a static source code
-analysis engine. Perl::Critic is distributed with a number of
-Perl::Critic::Policy modules that attempt to enforce various coding
+analysis engine. Perl::Critic is distributed with a number of the
+Perl::Critic::Policy manpage modules that attempt to enforce various coding
guidelines. Most Policy modules are based on Damian Conway's book *Perl
Best Practices*. However, Perl::Critic is *not* limited to PBP and will
even support Policies that contradict Conway. You can enable, disable, and
customize those Polices through the Perl::Critic interface. You can also
create new Policy modules that suit your own tastes.
-For a command-line interface to Perl::Critic, see the documentation for
-perlcritic. If you want to integrate Perl::Critic with your build process,
-Test::Perl::Critic provides an interface that is suitable for test
-programs. Also, Test::Perl::Critic::Progressive is useful for gradually
-applying coding standards to legacy code. For the ultimate convenience (at
-the expense of some flexibility) see the criticism pragma.
-
-Win32 and ActivePerl users can find PPM distributions of Perl::Critic at
-the http://theoryx5.uwinnipeg.ca/ppms/ manpage and Alexandr Ciornii's
-downloadable executable at the http://chorny.net/perl/perlcritic.html
-manpage.
-
-If you'd like to try Perl::Critic without installing anything, there is a
-web-service available at the http://perlcritic.com manpage. The web-service
-does not yet support all the configuration features that are available in
-the native Perl::Critic API, but it should give you a good idea of what it
-does. You can also invoke the perlcritic web-service from the command-line
-by doing an HTTP-post, such as one of these:
-
- $> lwp-request -m POST http://perlcritic.com/perl/critic.pl < MyModule.pm
- $> wget -q -O - --post-file=MyModule.pm http://perlcritic.com/perl/critic.pl
- $> curl --data @MyModule.pm http://perlcritic.com/perl/critic.pl
-
-Please note that the perlcritic web-service is still alpha code. The URL
-and interface to the service are subject to change.
+For a command-line interface to Perl::Critic, see the documentation for the
+perlcritic manpage. If you want to integrate Perl::Critic with your build
+process, the Test::Perl::Critic manpage provides an interface that is
+suitable for test programs. Also, the Test::Perl::Critic::Progressive
+manpage is useful for gradually applying coding standards to legacy code.
+For the ultimate convenience (at the expense of some flexibility) see the
+the criticism manpage pragma.
+
+If you'd like to try the Perl::Critic manpage without installing anything,
+there is a web-service available at the http://perlcritic.com manpage. The
+web-service does not yet support all the configuration features that are
+available in the native Perl::Critic API, but it should give you a good
+idea of what it does.
Also, ActivePerl includes a very slick graphical interface to Perl-Critic
called 'perlcritic-gui'. You can get a free community edition of ActivePerl
@@ -145,6 +134,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples extras LICENSE README README.md tools xt
+%doc Changes examples extras LICENSE README README.md tools
%changelog
++++++ Perl-Critic-1.122.tar.gz -> Perl-Critic-1.125.tar.gz ++++++
++++ 8783 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package kiwi for openSUSE:Factory checked in at 2015-05-02 21:32:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiwi (Old)
and /work/SRC/openSUSE:Factory/.kiwi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiwi"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kiwi/kiwi.changes 2015-04-15 17:42:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kiwi.new/kiwi.changes 2015-05-02 21:32:25.000000000 +0200
@@ -1,0 +2,254 @@
+Fri May 1 20:40:57 CEST 2015 - ms(a)suse.de
+
+- v7.02.42 released
+
+-------------------------------------------------------------------
+Thu Apr 30 16:20:32 CEST 2015 - ms(a)suse.de
+
+- Update RHEL7 JeOS template
+
+ Added lan0 udev rule, don't use lvm to simplify setup
+
+-------------------------------------------------------------------
+Thu Apr 30 10:51:16 CEST 2015 - ms(a)suse.de
+
+- Fixed use of custom kernel options for recovery
+
+ custom kernel paratmers are stored in $kiwi_cmdline inside
+ of the boot code. The information was not used for the recovery
+ grub config. Therefore a difference in kernel boot options for
+ standard boot and for recovery boot could happen which should
+ not be the case
+
+-------------------------------------------------------------------
+Thu Apr 30 10:39:37 CEST 2015 - ms(a)suse.de
+
+- Fixed boot_efilabel for elilo compat mode
+
+ The efi boot label should match the title set in the bootloader
+ menu. This is should be set to kiwi_oemtitle
+
+-------------------------------------------------------------------
+Wed Apr 29 11:45:46 CEST 2015 - ms(a)suse.de
+
+- v7.02.41 released
+
+-------------------------------------------------------------------
+Wed Apr 29 11:21:02 CEST 2015 - ms(a)suse.de
+
+- Run lvcreate with --noudevsync
+
+ This allows to build LVM images in container systems
+ which doesn't have udev running
+
+-------------------------------------------------------------------
+Wed Apr 29 10:54:48 CEST 2015 - ms(a)suse.de
+
+- Update SLE12 JeOS description
+
+ The new pattern system requires libsolv >= 0.6.5 to be installed on
+ the building host. Thus solve patterns as package to stay compatible
+ with older build host systems
+
+-------------------------------------------------------------------
+Wed Apr 29 10:51:42 CEST 2015 - ms(a)suse.de
+
+- Added dice buildsystem config to x86 JeOS images
+
+-------------------------------------------------------------------
+Wed Apr 29 09:06:00 CEST 2015 - rjschwei(a)suse.de
+
+- The linuxefi and initrdefi commands only exists on x86 and x86_64.
+ Write the grub config setting for linuxefi and initrdefi only on these
+ platforms, for all others the appropriate command is linux and initrd.
+
+-------------------------------------------------------------------
+Fri Apr 24 12:01:52 CEST 2015 - ms(a)suse.de
+
+- Keep terminal reset utility inside boot images
+
+-------------------------------------------------------------------
+Fri Apr 24 09:51:42 CEST 2015 - ms(a)suse.de
+
+- Fixed useless use of greediness modifier '+' in regex
+
+-------------------------------------------------------------------
+Thu Apr 23 13:13:40 CEST 2015 - rjschwei(a)suse.de
+
+- Builder infrastructure
+ + Integrate ext* file system image builds into the "builder"
+ infrastructure to simplify and improve the structure of image builds
+
+-------------------------------------------------------------------
+Thu Apr 23 09:51:19 CEST 2015 - ms(a)suse.de
+
+- Style changes for mount dependency checker
+
+ * Use here documents to construct messages
+ * Use pstree to show sub tree of processes
+ * Use perl builtin methods to read from proc
+
+-------------------------------------------------------------------
+Wed Apr 22 21:16:46 CEST 2015 - ms(a)suse.de
+
+- Fixed product name in SLE12 s390 JeOS
+
+-------------------------------------------------------------------
+Wed Apr 22 21:04:08 CEST 2015 - ms(a)suse.de
+
+- Better description for pattern use in 13.2 JeOS
+
+-------------------------------------------------------------------
+Wed Apr 22 15:47:42 CEST 2015 - ms(a)suse.de
+
+- Fetch errno($!) directly after call
+
+ Reading of $! later will not provide the information
+
+-------------------------------------------------------------------
+Wed Apr 22 15:36:57 CEST 2015 - ms(a)suse.de
+
+- Added __checkMountDependencies runtime check
+
+ The check looks for processes which holds onto mounts created by a
+ previos kiwi run. In such a condition kiwi is not able to release
+ its own mount table and shows information about the processes which
+ keeps these mount points busy. We still don't understand why there
+ could be non kiwi related processes holding onto mounts kiwi has
+ created during its run but kiwi should provide a way to tell this
+ information to the user and stop if the environment is still tainted
+ by such processes (bnc #895204)
+
+-------------------------------------------------------------------
+Tue Apr 21 16:38:30 CEST 2015 - ms(a)suse.de
+
+- Added __checkDeprecatedFilesystem runtime check
+
+ The use of clicfs is deprecated, a hint to use overlayfs if
+ possible is shown as a warning message to the user
+
+-------------------------------------------------------------------
+Tue Apr 21 14:56:23 CEST 2015 - ms(a)suse.de
+
+- Delete kernel/adaptec-firmware from boot images
+
+ For s390 there are no such packages in the SLE12 code base
+
+-------------------------------------------------------------------
+Tue Apr 21 12:21:56 CEST 2015 - ms(a)suse.de
+
+- v7.02.40 released
+
+-------------------------------------------------------------------
+Tue Apr 21 12:06:24 CEST 2015 - adrian(a)suse.de
+
+- remove call to addAppdata again
+
+ merge error
+
+-------------------------------------------------------------------
+Mon Apr 20 15:26:43 CEST 2015 - ms(a)suse.de
+
+- v7.02.39 released
+
+-------------------------------------------------------------------
+Mon Apr 20 13:43:31 CEST 2015 - adrian(a)suse.de
+
+- prefer packages by priority of repositories, not by architectures.
+
+-------------------------------------------------------------------
+Mon Apr 20 13:00:53 CEST 2015 - ms(a)suse.de
+
+- Ensure recovery entry is appended for elilo compat
+
+ elilo does not support adding custom entries to the written
+ grub configuration. Thus we have to make sure the recovery
+ entry doesn't get lost after a recovery run. Therefore the
+ menu entry is added as part of the installBootloader function
+ because this function is called after a recovery run while
+ the installBootloaderRecovery functions are only called once
+ at initialization time of the recovery partition
+
+-------------------------------------------------------------------
+Mon Apr 20 12:33:31 CEST 2015 - ms(a)suse.de
+
+- Fixed missing boot/efi mount path after recovery
+
+ In recovery/repair mode the boot/efi path is not umounted
+ correctly when init/systemd is started. Both paths /boot and
+ /boot/efi are part of the fstab and if boot/efi is already
+ mounted when fstab is processed the mount of /boot will
+ cover and therefore hide the contents of boot/efi
+
+-------------------------------------------------------------------
+Fri Apr 17 10:02:37 CEST 2015 - ms(a)suse.de
+
+- v7.02.38 released
+
+-------------------------------------------------------------------
+Thu Apr 16 10:49:09 CEST 2015 - ms(a)suse.de
+
+- Revert "Added gptfdisk to SLE11 oemboot descriptions"
+
+ This reverts commit 8a49b0d75f583cc4f18fdb57fb36722777e71725.
+
+-------------------------------------------------------------------
+Thu Apr 16 10:37:18 CEST 2015 - ms(a)suse.de
+
++++ 57 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kiwi/kiwi.changes
++++ and /work/SRC/openSUSE:Factory/.kiwi.new/kiwi.changes
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kiwi.spec ++++++
--- /var/tmp/diff_new_pack.X8TAHj/_old 2015-05-02 21:32:27.000000000 +0200
+++ /var/tmp/diff_new_pack.X8TAHj/_new 2015-05-02 21:32:27.000000000 +0200
@@ -26,7 +26,7 @@
Group: System/Management
Url: http://github.com/openSUSE/kiwi
Name: kiwi
-Version: 7.02.37
+Version: 7.02.42
Release: 0
Provides: kiwi-image:lxc
Provides: kiwi-image:tbz
++++++ kiwi-docu.tar.bz2 ++++++
++++++ kiwi-repo.tar.bz2 ++++++
++++++ kiwi.tar.bz2 ++++++
++++ 4047 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package libqb for openSUSE:Factory checked in at 2015-05-02 21:31:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqb (Old)
and /work/SRC/openSUSE:Factory/.libqb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqb"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqb/libqb.changes 2015-03-18 13:01:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libqb.new/libqb.changes 2015-05-02 21:31:19.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Apr 30 12:30:07 UTC 2015 - ygao(a)suse.com
+
+- loop: fixes resource starvation in mainloop code
+- Upstream version cs: c3bcf25b72bf451c2ef79ec3946a1c48077a50a0
+
+-------------------------------------------------------------------
Old:
----
libqb-0.17.1.git20150305.8355269.tar.bz2
New:
----
libqb-0.17.1.git20150429.c3bcf25.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqb.spec ++++++
--- /var/tmp/diff_new_pack.Nkd683/_old 2015-05-02 21:31:20.000000000 +0200
+++ /var/tmp/diff_new_pack.Nkd683/_new 2015-05-02 21:31:20.000000000 +0200
@@ -17,7 +17,7 @@
Name: libqb
-Version: 0.17.1.git20150305.8355269
+Version: 0.17.1.git20150429.c3bcf25
Release: 0
Summary: An IPC library for high performance servers
License: LGPL-2.1+
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Nkd683/_old 2015-05-02 21:31:20.000000000 +0200
+++ /var/tmp/diff_new_pack.Nkd683/_new 2015-05-02 21:31:20.000000000 +0200
@@ -11,7 +11,7 @@
<param name="version">0.17.1</param>
-->
<param name="versionformat">0.17.1+git%cd.%h</param>
- <param name="revision">83552692aa5425e50049b130eb2e17ea7b31217d</param>
+ <param name="revision">c3bcf25b72bf451c2ef79ec3946a1c48077a50a0</param>
</service>
<service name="recompress" mode="disabled">
++++++ libqb-0.17.1.git20150305.8355269.tar.bz2 -> libqb-0.17.1.git20150429.c3bcf25.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/HEAD new/libqb-0.17.1.git20150429.c3bcf25/.git/HEAD
--- old/libqb-0.17.1.git20150305.8355269/.git/HEAD 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/HEAD 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-ref: refs/heads/master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/ORIG_HEAD new/libqb-0.17.1.git20150429.c3bcf25/.git/ORIG_HEAD
--- old/libqb-0.17.1.git20150305.8355269/.git/ORIG_HEAD 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/ORIG_HEAD 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-83552692aa5425e50049b130eb2e17ea7b31217d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/config new/libqb-0.17.1.git20150429.c3bcf25/.git/config
--- old/libqb-0.17.1.git20150305.8355269/.git/config 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/config 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-[core]
- repositoryformatversion = 0
- filemode = true
- bare = false
- logallrefupdates = true
-[remote "origin"]
- url = git://github.com/ClusterLabs/libqb.git
- fetch = +refs/heads/*:refs/remotes/origin/*
-[branch "master"]
- remote = origin
- merge = refs/heads/master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/description new/libqb-0.17.1.git20150429.c3bcf25/.git/description
--- old/libqb-0.17.1.git20150305.8355269/.git/description 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/description 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-Unnamed repository; edit this file 'description' to name the repository.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/applypatch-msg.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/applypatch-msg.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/applypatch-msg.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/applypatch-msg.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to check the commit log message taken by
-# applypatch from an e-mail message.
-#
-# The hook should exit with non-zero status after issuing an
-# appropriate message if it wants to stop the commit. The hook is
-# allowed to edit the commit message file.
-#
-# To enable this hook, rename this file to "applypatch-msg".
-
-. git-sh-setup
-test -x "$GIT_DIR/hooks/commit-msg" &&
- exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
-:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/commit-msg.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/commit-msg.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/commit-msg.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/commit-msg.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to check the commit log message.
-# Called by "git commit" with one argument, the name of the file
-# that has the commit message. The hook should exit with non-zero
-# status after issuing an appropriate message if it wants to stop the
-# commit. The hook is allowed to edit the commit message file.
-#
-# To enable this hook, rename this file to "commit-msg".
-
-# Uncomment the below to add a Signed-off-by line to the message.
-# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
-# hook is more suited to it.
-#
-# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
-# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
-
-# This example catches duplicate Signed-off-by lines.
-
-test "" = "$(grep '^Signed-off-by: ' "$1" |
- sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
- echo >&2 Duplicate Signed-off-by lines.
- exit 1
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/post-update.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/post-update.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/post-update.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/post-update.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to prepare a packed repository for use over
-# dumb transports.
-#
-# To enable this hook, rename this file to "post-update".
-
-exec git update-server-info
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-applypatch.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-applypatch.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-applypatch.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-applypatch.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to verify what is about to be committed
-# by applypatch from an e-mail message.
-#
-# The hook should exit with non-zero status after issuing an
-# appropriate message if it wants to stop the commit.
-#
-# To enable this hook, rename this file to "pre-applypatch".
-
-. git-sh-setup
-test -x "$GIT_DIR/hooks/pre-commit" &&
- exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
-:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-commit.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-commit.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-commit.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-commit.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to verify what is about to be committed.
-# Called by "git commit" with no arguments. The hook should
-# exit with non-zero status after issuing an appropriate message if
-# it wants to stop the commit.
-#
-# To enable this hook, rename this file to "pre-commit".
-
-if git rev-parse --verify HEAD >/dev/null 2>&1
-then
- against=HEAD
-else
- # Initial commit: diff against an empty tree object
- against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
-fi
-
-# If you want to allow non-ASCII filenames set this variable to true.
-allownonascii=$(git config --bool hooks.allownonascii)
-
-# Redirect output to stderr.
-exec 1>&2
-
-# Cross platform projects tend to avoid non-ASCII filenames; prevent
-# them from being added to the repository. We exploit the fact that the
-# printable range starts at the space character and ends with tilde.
-if [ "$allownonascii" != "true" ] &&
- # Note that the use of brackets around a tr range is ok here, (it's
- # even required, for portability to Solaris 10's /usr/bin/tr), since
- # the square bracket bytes happen to fall in the designated range.
- test $(git diff --cached --name-only --diff-filter=A -z $against |
- LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
-then
- cat <<\EOF
-Error: Attempt to add a non-ASCII file name.
-
-This can cause problems if you want to work with people on other platforms.
-
-To be portable it is advisable to rename the file.
-
-If you know what you are doing you can disable this check using:
-
- git config hooks.allownonascii true
-EOF
- exit 1
-fi
-
-# If there are whitespace errors, print the offending file names and fail.
-exec git diff-index --check --cached $against --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-push.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-push.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-push.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-push.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-# An example hook script to verify what is about to be pushed. Called by "git
-# push" after it has checked the remote status, but before anything has been
-# pushed. If this script exits with a non-zero status nothing will be pushed.
-#
-# This hook is called with the following parameters:
-#
-# $1 -- Name of the remote to which the push is being done
-# $2 -- URL to which the push is being done
-#
-# If pushing without using a named remote those arguments will be equal.
-#
-# Information about the commits which are being pushed is supplied as lines to
-# the standard input in the form:
-#
-# <local ref> <local sha1> <remote ref> <remote sha1>
-#
-# This sample shows how to prevent push of commits where the log message starts
-# with "WIP" (work in progress).
-
-remote="$1"
-url="$2"
-
-z40=0000000000000000000000000000000000000000
-
-IFS=' '
-while read local_ref local_sha remote_ref remote_sha
-do
- if [ "$local_sha" = $z40 ]
- then
- # Handle delete
- :
- else
- if [ "$remote_sha" = $z40 ]
- then
- # New branch, examine all commits
- range="$local_sha"
- else
- # Update to existing branch, examine new commits
- range="$remote_sha..$local_sha"
- fi
-
- # Check for WIP commit
- commit=`git rev-list -n 1 --grep '^WIP' "$range"`
- if [ -n "$commit" ]
- then
- echo "Found WIP commit in $local_ref, not pushing"
- exit 1
- fi
- fi
-done
-
-exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-rebase.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-rebase.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/pre-rebase.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/pre-rebase.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,169 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2006, 2008 Junio C Hamano
-#
-# The "pre-rebase" hook is run just before "git rebase" starts doing
-# its job, and can prevent the command from running by exiting with
-# non-zero status.
-#
-# The hook is called with the following parameters:
-#
-# $1 -- the upstream the series was forked from.
-# $2 -- the branch being rebased (or empty when rebasing the current branch).
-#
-# This sample shows how to prevent topic branches that are already
-# merged to 'next' branch from getting rebased, because allowing it
-# would result in rebasing already published history.
-
-publish=next
-basebranch="$1"
-if test "$#" = 2
-then
- topic="refs/heads/$2"
-else
- topic=`git symbolic-ref HEAD` ||
- exit 0 ;# we do not interrupt rebasing detached HEAD
-fi
-
-case "$topic" in
-refs/heads/??/*)
- ;;
-*)
- exit 0 ;# we do not interrupt others.
- ;;
-esac
-
-# Now we are dealing with a topic branch being rebased
-# on top of master. Is it OK to rebase it?
-
-# Does the topic really exist?
-git show-ref -q "$topic" || {
- echo >&2 "No such branch $topic"
- exit 1
-}
-
-# Is topic fully merged to master?
-not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
-if test -z "$not_in_master"
-then
- echo >&2 "$topic is fully merged to master; better remove it."
- exit 1 ;# we could allow it, but there is no point.
-fi
-
-# Is topic ever merged to next? If so you should not be rebasing it.
-only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
-only_next_2=`git rev-list ^master ${publish} | sort`
-if test "$only_next_1" = "$only_next_2"
-then
- not_in_topic=`git rev-list "^$topic" master`
- if test -z "$not_in_topic"
- then
- echo >&2 "$topic is already up-to-date with master"
- exit 1 ;# we could allow it, but there is no point.
- else
- exit 0
- fi
-else
- not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
- /usr/bin/perl -e '
- my $topic = $ARGV[0];
- my $msg = "* $topic has commits already merged to public branch:\n";
- my (%not_in_next) = map {
- /^([0-9a-f]+) /;
- ($1 => 1);
- } split(/\n/, $ARGV[1]);
- for my $elem (map {
- /^([0-9a-f]+) (.*)$/;
- [$1 => $2];
- } split(/\n/, $ARGV[2])) {
- if (!exists $not_in_next{$elem->[0]}) {
- if ($msg) {
- print STDERR $msg;
- undef $msg;
- }
- print STDERR " $elem->[1]\n";
- }
- }
- ' "$topic" "$not_in_next" "$not_in_master"
- exit 1
-fi
-
-exit 0
-
-################################################################
-
-This sample hook safeguards topic branches that have been
-published from being rewound.
-
-The workflow assumed here is:
-
- * Once a topic branch forks from "master", "master" is never
- merged into it again (either directly or indirectly).
-
- * Once a topic branch is fully cooked and merged into "master",
- it is deleted. If you need to build on top of it to correct
- earlier mistakes, a new topic branch is created by forking at
- the tip of the "master". This is not strictly necessary, but
- it makes it easier to keep your history simple.
-
- * Whenever you need to test or publish your changes to topic
- branches, merge them into "next" branch.
-
-The script, being an example, hardcodes the publish branch name
-to be "next", but it is trivial to make it configurable via
-$GIT_DIR/config mechanism.
-
-With this workflow, you would want to know:
-
-(1) ... if a topic branch has ever been merged to "next". Young
- topic branches can have stupid mistakes you would rather
- clean up before publishing, and things that have not been
- merged into other branches can be easily rebased without
- affecting other people. But once it is published, you would
- not want to rewind it.
-
-(2) ... if a topic branch has been fully merged to "master".
- Then you can delete it. More importantly, you should not
- build on top of it -- other people may already want to
- change things related to the topic as patches against your
- "master", so if you need further changes, it is better to
- fork the topic (perhaps with the same name) afresh from the
- tip of "master".
-
-Let's look at this example:
-
- o---o---o---o---o---o---o---o---o---o "next"
- / / / /
- / a---a---b A / /
- / / / /
- / / c---c---c---c B /
- / / / \ /
- / / / b---b C \ /
- / / / / \ /
- ---o---o---o---o---o---o---o---o---o---o---o "master"
-
-
-A, B and C are topic branches.
-
- * A has one fix since it was merged up to "next".
-
- * B has finished. It has been fully merged up to "master" and "next",
- and is ready to be deleted.
-
- * C has not merged to "next" at all.
-
-We would want to allow C to be rebased, refuse A, and encourage
-B to be deleted.
-
-To compute (1):
-
- git rev-list ^master ^topic next
- git rev-list ^master next
-
- if these match, topic has not merged in next at all.
-
-To compute (2):
-
- git rev-list master..topic
-
- if this is empty, it is fully merged to "master".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/prepare-commit-msg.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/prepare-commit-msg.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/prepare-commit-msg.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/prepare-commit-msg.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,36 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to prepare the commit log message.
-# Called by "git commit" with the name of the file that has the
-# commit message, followed by the description of the commit
-# message's source. The hook's purpose is to edit the commit
-# message file. If the hook fails with a non-zero status,
-# the commit is aborted.
-#
-# To enable this hook, rename this file to "prepare-commit-msg".
-
-# This hook includes three examples. The first comments out the
-# "Conflicts:" part of a merge commit.
-#
-# The second includes the output of "git diff --name-status -r"
-# into the message, just before the "git status" output. It is
-# commented because it doesn't cope with --amend or with squashed
-# commits.
-#
-# The third example adds a Signed-off-by line to the message, that can
-# still be edited. This is rarely a good idea.
-
-case "$2,$3" in
- merge,)
- /usr/bin/perl -i.bak -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;;
-
-# ,|template,)
-# /usr/bin/perl -i.bak -pe '
-# print "\n" . `git diff --cached --name-status -r`
-# if /^#/ && $first++ == 0' "$1" ;;
-
- *) ;;
-esac
-
-# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
-# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/hooks/update.sample new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/update.sample
--- old/libqb-0.17.1.git20150305.8355269/.git/hooks/update.sample 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/hooks/update.sample 1970-01-01 01:00:00.000000000 +0100
@@ -1,128 +0,0 @@
-#!/bin/sh
-#
-# An example hook script to blocks unannotated tags from entering.
-# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
-#
-# To enable this hook, rename this file to "update".
-#
-# Config
-# ------
-# hooks.allowunannotated
-# This boolean sets whether unannotated tags will be allowed into the
-# repository. By default they won't be.
-# hooks.allowdeletetag
-# This boolean sets whether deleting tags will be allowed in the
-# repository. By default they won't be.
-# hooks.allowmodifytag
-# This boolean sets whether a tag may be modified after creation. By default
-# it won't be.
-# hooks.allowdeletebranch
-# This boolean sets whether deleting branches will be allowed in the
-# repository. By default they won't be.
-# hooks.denycreatebranch
-# This boolean sets whether remotely creating branches will be denied
-# in the repository. By default this is allowed.
-#
-
-# --- Command line
-refname="$1"
-oldrev="$2"
-newrev="$3"
-
-# --- Safety check
-if [ -z "$GIT_DIR" ]; then
- echo "Don't run this script from the command line." >&2
- echo " (if you want, you could supply GIT_DIR then run" >&2
- echo " $0 <ref> <oldrev> <newrev>)" >&2
- exit 1
-fi
-
-if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
- echo "usage: $0 <ref> <oldrev> <newrev>" >&2
- exit 1
-fi
-
-# --- Config
-allowunannotated=$(git config --bool hooks.allowunannotated)
-allowdeletebranch=$(git config --bool hooks.allowdeletebranch)
-denycreatebranch=$(git config --bool hooks.denycreatebranch)
-allowdeletetag=$(git config --bool hooks.allowdeletetag)
-allowmodifytag=$(git config --bool hooks.allowmodifytag)
-
-# check for no description
-projectdesc=$(sed -e '1q' "$GIT_DIR/description")
-case "$projectdesc" in
-"Unnamed repository"* | "")
- echo "*** Project description file hasn't been set" >&2
- exit 1
- ;;
-esac
-
-# --- Check types
-# if $newrev is 0000...0000, it's a commit to delete a ref.
-zero="0000000000000000000000000000000000000000"
-if [ "$newrev" = "$zero" ]; then
- newrev_type=delete
-else
- newrev_type=$(git cat-file -t $newrev)
-fi
-
-case "$refname","$newrev_type" in
- refs/tags/*,commit)
- # un-annotated tag
- short_refname=${refname##refs/tags/}
- if [ "$allowunannotated" != "true" ]; then
- echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
- echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
- exit 1
- fi
- ;;
- refs/tags/*,delete)
- # delete tag
- if [ "$allowdeletetag" != "true" ]; then
- echo "*** Deleting a tag is not allowed in this repository" >&2
- exit 1
- fi
- ;;
- refs/tags/*,tag)
- # annotated tag
- if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
- then
- echo "*** Tag '$refname' already exists." >&2
- echo "*** Modifying a tag is not allowed in this repository." >&2
- exit 1
- fi
- ;;
- refs/heads/*,commit)
- # branch
- if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
- echo "*** Creating a branch is not allowed in this repository" >&2
- exit 1
- fi
- ;;
- refs/heads/*,delete)
- # delete branch
- if [ "$allowdeletebranch" != "true" ]; then
- echo "*** Deleting a branch is not allowed in this repository" >&2
- exit 1
- fi
- ;;
- refs/remotes/*,commit)
- # tracking branch
- ;;
- refs/remotes/*,delete)
- # delete tracking branch
- if [ "$allowdeletebranch" != "true" ]; then
- echo "*** Deleting a tracking branch is not allowed in this repository" >&2
- exit 1
- fi
- ;;
- *)
- # Anything else (is there anything else?)
- echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
- exit 1
- ;;
-esac
-
-# --- Finished
-exit 0
Files old/libqb-0.17.1.git20150305.8355269/.git/index and new/libqb-0.17.1.git20150429.c3bcf25/.git/index differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/info/exclude new/libqb-0.17.1.git20150429.c3bcf25/.git/info/exclude
--- old/libqb-0.17.1.git20150305.8355269/.git/info/exclude 2015-03-09 17:02:18.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/info/exclude 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-# git ls-files --others --exclude-from=.git/info/exclude
-# Lines that start with '#' are comments.
-# For a project mostly in C, the following would be a good set of
-# exclude patterns (uncomment them if you want to use them):
-# *.[oa]
-# *~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/logs/HEAD new/libqb-0.17.1.git20150429.c3bcf25/.git/logs/HEAD
--- old/libqb-0.17.1.git20150305.8355269/.git/logs/HEAD 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/logs/HEAD 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-0000000000000000000000000000000000000000 83552692aa5425e50049b130eb2e17ea7b31217d nobody <nobody(a)obs.service.11213> 1425916942 +0100 clone: from git://github.com/ClusterLabs/libqb.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/logs/refs/heads/master new/libqb-0.17.1.git20150429.c3bcf25/.git/logs/refs/heads/master
--- old/libqb-0.17.1.git20150305.8355269/.git/logs/refs/heads/master 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/logs/refs/heads/master 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-0000000000000000000000000000000000000000 83552692aa5425e50049b130eb2e17ea7b31217d nobody <nobody(a)obs.service.11213> 1425916942 +0100 clone: from git://github.com/ClusterLabs/libqb.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/logs/refs/remotes/origin/HEAD new/libqb-0.17.1.git20150429.c3bcf25/.git/logs/refs/remotes/origin/HEAD
--- old/libqb-0.17.1.git20150305.8355269/.git/logs/refs/remotes/origin/HEAD 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/logs/refs/remotes/origin/HEAD 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-0000000000000000000000000000000000000000 83552692aa5425e50049b130eb2e17ea7b31217d nobody <nobody(a)obs.service.11213> 1425916942 +0100 clone: from git://github.com/ClusterLabs/libqb.git
Files old/libqb-0.17.1.git20150305.8355269/.git/objects/pack/pack-ba9131ced3cf30c8555ce190455682b574c9b5e1.idx and new/libqb-0.17.1.git20150429.c3bcf25/.git/objects/pack/pack-ba9131ced3cf30c8555ce190455682b574c9b5e1.idx differ
Files old/libqb-0.17.1.git20150305.8355269/.git/objects/pack/pack-ba9131ced3cf30c8555ce190455682b574c9b5e1.pack and new/libqb-0.17.1.git20150429.c3bcf25/.git/objects/pack/pack-ba9131ced3cf30c8555ce190455682b574c9b5e1.pack differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/packed-refs new/libqb-0.17.1.git20150429.c3bcf25/.git/packed-refs
--- old/libqb-0.17.1.git20150305.8355269/.git/packed-refs 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/packed-refs 1970-01-01 01:00:00.000000000 +0100
@@ -1,68 +0,0 @@
-# pack-refs with: peeled fully-peeled
-65933318882f6c975578dba43e1fc27eb43157d5 refs/remotes/origin/eventfd
-27bea015fcf1dc773016adf07feac681d068531d refs/remotes/origin/gh-pages
-3d4be7fa8018d520869fced8472a28da1f54cca5 refs/remotes/origin/maint-0.5
-83552692aa5425e50049b130eb2e17ea7b31217d refs/remotes/origin/master
-b40fa6a87478e6a6572bb68bf2ad9d8fa334f1ce refs/remotes/origin/mingw
-3372064f98f9a453fd1a4b2a1aa98670f3fa0f60 refs/remotes/origin/no-sock-block
-f878118d9388534ca96d74763fc9d0c74e313a67 refs/remotes/origin/speed
-9191fe783aac63c86eceda14f887fdf953abb2f9 refs/tags/libqb-0.0.0
-^69d77500dfc96f139f380d6b90b793bcb04b0619
-6a50cd6dda2d067555c509877f0a5bc0e92b3f49 refs/tags/libqb-0.1.0
-^80544249528b05e3999215e892728f270a56defe
-fff6f1bbc0a6e266b5b73d81cc4e51e207c58183 refs/tags/v0.1.0
-^80544249528b05e3999215e892728f270a56defe
-834b4d6e9f9e7d9a9dc537d20ca73ec59ae90f68 refs/tags/v0.10.0
-^362b0dccd458a08fa8f5394db5eb5ebeac36a9ee
-6e153667273bb10f82d304581b60ba3ec39c001d refs/tags/v0.10.1
-^1c8a9d6461859860f2c8c2d10250a2ce1ebc56e8
-49310898e3dd183e430d5679351b91580222f232 refs/tags/v0.11.0
-^418471e6c1b916cca2f02c2234447cc99ac78c9b
-973c32144cc8cf32ff929df35c5c38bf9237d604 refs/tags/v0.11.1
-^50f07abcfe7010360f697d1f26b56fec863d892f
-9145d188cb1fa81d9c04fb2847603359a50e4d4e refs/tags/v0.12.0
-^0b8aeb66c82525edf5801369751abadcd2811239
-4ef15502ae194340349646e73f54022b853e82c9 refs/tags/v0.13.0
-^955d43eae698a5eded78234420491171825c7e98
-83d3799f041a64924ea939581991cd0e9e4a06bd refs/tags/v0.14.0
-^1c2b77f005a8011471af11839b7e1b67d147e10d
-de60db63ad2801aaaf826284d92be916fef4a0d1 refs/tags/v0.14.1
-^5470bf5625353c3eaeac2ee0eb75704d0e02a691
-7ed428162b031e903d9e7fcda61ebf9b069cda96 refs/tags/v0.14.2
-^d54e8b1e8c3235918d57e1f1657efc3bb1b4bd4a
-a6a7809726d43cdf442e23f7347e4bf2dfc5eaf1 refs/tags/v0.14.3
-^92ada8c4d1b0d8ba2380971f64cfaaf35ad1fd23
-9ae3d5f2ede74ec11caba673eb890e20169c96a8 refs/tags/v0.14.4
-^848242a7860c5a7e19240c2ded053fa9908af9e0
-27a6bcdb754ea847c1eec40e97e41f54ace42924 refs/tags/v0.15.0
-^986b92d3918a6fccec58e173d9f4dfe53d878635
-46e5cea42f8195fb514b39862b6782f89153eee4 refs/tags/v0.16.0
-^75f7ed373758b3cb9087e89e4fae17379dd7b483
-c7cbc7cdf0e34adf865e5cdec8daf46a6e5786bc refs/tags/v0.17.0
-^78978d07ac2f19a801ebde61379ac55359cc17f3
-78978d07ac2f19a801ebde61379ac55359cc17f3 refs/tags/v0.17.0.rc1
-312f3e562ce93d6c676088b66934a894c79837df refs/tags/v0.17.1
-^3f7de657855bb9fb4e58777851735bf663fa7f3f
-d2b8c8cc781b175ce5cc4a6de49f4b46f1be54a5 refs/tags/v0.17.1-rc1
-c1c58f48f175c7eddd6ae2dc44545c3cc85bd126 refs/tags/v0.2.0
-^21fc479b92f111a5cb208b8b9d432afafedb9a32
-ecc2405e71b8035bd3c8ba4e25da454312da5bf3 refs/tags/v0.3.0
-^01838c18c631ad2be8f3dfd39799a92863b9be48
-cc47ad114f1157ed8ec0df264c6ee180828883bc refs/tags/v0.4.0
-^f647c79693c9136e93283620bfbeaa815eac298d
-70a792cc653bf064e4840cae99d9c2eace8a06f8 refs/tags/v0.4.1
-^ea704d58210e76104fe17d017e8e455ea00904cd
-70bc9a333008eccbbef03238b2269bddff4257c8 refs/tags/v0.5.0
-^a69482ade6e212cba7250fa7dc30ed251ab9041c
-497d500fbf254fe112a8bfe32a6e84d377c10f3c refs/tags/v0.5.1
-^e910830b269cc4fa6b0b92c1041bf454c708cfd2
-d186bcc37af7df92a90e58d2ac135b1178b404b4 refs/tags/v0.6.0
-^750d6e2fa579df6dbc6ac0fa7ddd550d5ac9d008
-682f2c392cc12759c451dd52b6911b73efa3c78d refs/tags/v0.7.0
-^ce18956cc2148329a3bffc6789c8084c026ca5b9
-e7e1ced04d40c201c8a1d248e74c27f82b29d072 refs/tags/v0.8.0
-^e15a48254ab4a006e659e3f881b417a4d983cb28
-3e5a38958c6e50b035d4042615f1ccedf65d0fff refs/tags/v0.8.1
-^e0d55fe8f789598faba2d7a173d07c2e8e9a2005
-a329208c50b985950cc393ed70a165eb5ba4f643 refs/tags/v0.9.0
-^297970af0369e958685dc796fd39896728cc0bab
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/refs/heads/master new/libqb-0.17.1.git20150429.c3bcf25/.git/refs/heads/master
--- old/libqb-0.17.1.git20150305.8355269/.git/refs/heads/master 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/refs/heads/master 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-83552692aa5425e50049b130eb2e17ea7b31217d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/.git/refs/remotes/origin/HEAD new/libqb-0.17.1.git20150429.c3bcf25/.git/refs/remotes/origin/HEAD
--- old/libqb-0.17.1.git20150305.8355269/.git/refs/remotes/origin/HEAD 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/.git/refs/remotes/origin/HEAD 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-ref: refs/remotes/origin/master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/configure.ac new/libqb-0.17.1.git20150429.c3bcf25/configure.ac
--- old/libqb-0.17.1.git20150305.8355269/configure.ac 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/configure.ac 2015-04-30 14:25:06.000000000 +0200
@@ -253,10 +253,14 @@
nongcc_memory_barrier_needed=yes
;;
arm*)
- AC_MSG_RESULT([ia64])
+ AC_MSG_RESULT([arm])
AC_DEFINE_UNQUOTED([QB_ARCH_ARM], [1], [arm])
arch_force_shmlba=yes
;;
+ hppa*)
+ AC_MSG_RESULT([hppa])
+ AC_DEFINE_UNQUOTED([QB_ARCH_HPPA], [1], [hppa])
+ ;;
mips*)
AC_MSG_RESULT([ia64])
AC_DEFINE_UNQUOTED([QB_ARCH_MIPS], [1], [mips])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/docs/Makefile.am new/libqb-0.17.1.git20150429.c3bcf25/docs/Makefile.am
--- old/libqb-0.17.1.git20150305.8355269/docs/Makefile.am 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/docs/Makefile.am 2015-04-30 14:25:06.000000000 +0200
@@ -32,12 +32,12 @@
$(dist_man_MANS): man.dox $(dependant_headers)
- @mkdir -p man3
- @doxygen man.dox
+ mkdir -p man3
+ doxygen man.dox
doxygen: html.dox
- @mkdir -p html
- @doxygen html.dox
+ mkdir -p html
+ doxygen html.dox
else
doxygen:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/docs/html.dox.in new/libqb-0.17.1.git20150429.c3bcf25/docs/html.dox.in
--- old/libqb-0.17.1.git20150305.8355269/docs/html.dox.in 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/docs/html.dox.in 2015-04-30 14:25:06.000000000 +0200
@@ -32,7 +32,6 @@
DISTRIBUTE_GROUP_DOC = YES
SUBGROUPING = NO
TYPEDEF_HIDES_STRUCT = YES
-SYMBOL_CACHE_SIZE = 0
EXTRACT_ALL = YES
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = YES
@@ -108,7 +107,6 @@
HTML_FOOTER =
HTML_TIMESTAMP = NO
HTML_STYLESHEET =
-HTML_ALIGN_MEMBERS = YES
HTML_DYNAMIC_SECTIONS = NO
GENERATE_DOCSET = NO
DOCSET_FEEDNAME = "Doxygen generated docs"
@@ -131,7 +129,6 @@
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
-USE_INLINE_TREES = NO
TREEVIEW_WIDTH = 250
FORMULA_FONTSIZE = 10
SEARCHENGINE = YES
@@ -188,7 +185,7 @@
MSCGEN_PATH =
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = YES
-DOT_FONTNAME = FreeSans
+DOT_FONTNAME =
DOT_FONTSIZE = 10
DOT_FONTPATH =
CLASS_GRAPH = YES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/docs/man.dox.in new/libqb-0.17.1.git20150429.c3bcf25/docs/man.dox.in
--- old/libqb-0.17.1.git20150305.8355269/docs/man.dox.in 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/docs/man.dox.in 2015-04-30 14:25:06.000000000 +0200
@@ -32,7 +32,6 @@
DISTRIBUTE_GROUP_DOC = YES
SUBGROUPING = NO
TYPEDEF_HIDES_STRUCT = YES
-SYMBOL_CACHE_SIZE = 0
EXTRACT_ALL = YES
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = YES
@@ -136,7 +135,7 @@
MSCGEN_PATH =
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
-DOT_FONTNAME = FreeSans
+DOT_FONTNAME =
DOT_FONTSIZE = 10
DOT_FONTPATH =
CLASS_GRAPH = NO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/include/qb/qbatomic.h new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbatomic.h
--- old/libqb-0.17.1.git20150305.8355269/include/qb/qbatomic.h 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbatomic.h 2015-04-30 14:25:06.000000000 +0200
@@ -52,7 +52,7 @@
* You must not directly read integers or pointers concurrently
* accessed by multiple threads, but use the atomic accessor functions
* instead. That is, always use qb_atomic_int_get() and qb_atomic_pointer_get()
- * for read outs. They provide the neccessary synchonization mechanisms
+ * for read outs. They provide the necessary synchonization mechanisms
* like memory barriers to access memory locations concurrently.
*
* If you are using those functions for anything apart from
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/include/qb/qbipc_common.h new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbipc_common.h
--- old/libqb-0.17.1.git20150305.8355269/include/qb/qbipc_common.h 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbipc_common.h 2015-04-30 14:25:06.000000000 +0200
@@ -31,6 +31,11 @@
#endif
/* *INDENT-ON* */
+/**
+ * @file qbipc_common.h
+ * common types and definitions
+ */
+
struct qb_ipc_request_header {
int32_t id __attribute__ ((aligned(8)));
int32_t size __attribute__ ((aligned(8)));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/include/qb/qbipcs.h new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbipcs.h
--- old/libqb-0.17.1.git20150305.8355269/include/qb/qbipcs.h 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbipcs.h 2015-04-30 14:25:06.000000000 +0200
@@ -237,7 +237,7 @@
void qb_ipcs_destroy(qb_ipcs_service_t* s);
/**
- * Limit the incomming request rate.
+ * Limit the incoming request rate.
* @param s service instance
* @param rl the new rate
*/
@@ -245,7 +245,7 @@
enum qb_ipcs_rate_limit rl);
/**
- * Send a response to a incomming request.
+ * Send a response to a incoming request.
*
* @param c connection instance
* @param data the message to send
@@ -260,7 +260,7 @@
size_t size);
/**
- * Send a response to a incomming request.
+ * Send a response to a incoming request.
*
* @param c connection instance
* @param iov the iovec struct that points to the message to send
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/include/qb/qbutil.h new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbutil.h
--- old/libqb-0.17.1.git20150305.8355269/include/qb/qbutil.h 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/include/qb/qbutil.h 2015-04-30 14:25:06.000000000 +0200
@@ -36,10 +36,10 @@
/**
* @file qbutil.h
- * @author Angus Salkeld <asalkeld(a)redhat.com>
- *
* These are some convience functions used throughout libqb.
*
+ * @author Angus Salkeld <asalkeld(a)redhat.com>
+ *
* @par Locking
* - qb_thread_lock_create()
* - qb_thread_lock()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/lib/loop_poll.c new/libqb-0.17.1.git20150429.c3bcf25/lib/loop_poll.c
--- old/libqb-0.17.1.git20150305.8355269/lib/loop_poll.c 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/lib/loop_poll.c 2015-04-30 14:25:06.000000000 +0200
@@ -110,7 +110,7 @@
pe->item.user_data);
if (res < 0) {
_poll_entry_mark_deleted_(pe);
- } else {
+ } else if (pe->state != QB_POLL_ENTRY_DELETED) {
pe->state = QB_POLL_ENTRY_ACTIVE;
pe->ufd.revents = 0;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/lib/ringbuffer.c new/libqb-0.17.1.git20150429.c3bcf25/lib/ringbuffer.c
--- old/libqb-0.17.1.git20150305.8355269/lib/ringbuffer.c 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/lib/ringbuffer.c 2015-04-30 14:25:06.000000000 +0200
@@ -138,7 +138,9 @@
void *shm_addr;
long page_size = sysconf(_SC_PAGESIZE);
-#ifdef QB_FORCE_SHM_ALIGN
+#ifdef QB_ARCH_HPPA
+ page_size = QB_MAX(page_size, 0x00400000); /* align to page colour */
+#elif defined(QB_FORCE_SHM_ALIGN)
page_size = QB_MAX(page_size, 16 * 1024);
#endif /* QB_FORCE_SHM_ALIGN */
/* The user of this api expects the 'size' parameter passed into this function
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/lib/unix.c new/libqb-0.17.1.git20150429.c3bcf25/lib/unix.c
--- old/libqb-0.17.1.git20150305.8355269/lib/unix.c 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/lib/unix.c 2015-04-30 14:25:06.000000000 +0200
@@ -170,6 +170,19 @@
flags |= MAP_PRIVATE;
#endif /* QB_FORCE_SHM_ALIGN */
+#if defined(QB_ARCH_HPPA)
+ /* map twice the size we want to make sure we have already mapped
+ the second memory location behind it too. Otherwise the Linux
+ kernel may map it in the upper memory so that we can't map
+ the second part afterwards since it will conflict. */
+ addr = mmap(NULL, 2*bytes, PROT_READ | PROT_WRITE,
+ MAP_SHARED, fd, 0);
+
+ if (addr == MAP_FAILED)
+ return -errno;
+
+ addr_orig = addr;
+#else
addr_orig = mmap(NULL, bytes << 1, PROT_NONE, flags, -1, 0);
if (addr_orig == MAP_FAILED) {
@@ -178,6 +191,7 @@
addr = mmap(addr_orig, bytes, PROT_READ | PROT_WRITE,
MAP_FIXED | MAP_SHARED, fd, 0);
+#endif
if (addr != addr_orig) {
res = -errno;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqb-0.17.1.git20150305.8355269/tests/check_ipc.c new/libqb-0.17.1.git20150429.c3bcf25/tests/check_ipc.c
--- old/libqb-0.17.1.git20150305.8355269/tests/check_ipc.c 2015-03-09 17:02:22.000000000 +0100
+++ new/libqb-0.17.1.git20150429.c3bcf25/tests/check_ipc.c 2015-04-30 14:25:06.000000000 +0200
@@ -32,7 +32,7 @@
#include <qb/qbipcs.h>
#include <qb/qbloop.h>
-static const char *ipc_name = "ipc_test";
+static char ipc_name[256];
#define DEFAULT_MAX_MSG_SIZE (8192*16)
static int CALCULATED_DGRAM_MAX_MSG_SIZE = 0;
@@ -94,6 +94,7 @@
static int32_t num_bulk_events = 10;
static int32_t num_stress_events = 30000;
static int32_t reference_count_test = QB_FALSE;
+static int32_t multiple_connections = QB_FALSE;
static int32_t
@@ -104,6 +105,18 @@
return -1;
}
+static void
+set_ipc_name(const char *prefix)
+{
+ /* We have to give the server name a random postfix because
+ * some build systems attempt to generate packages for libqb
+ * in parallel. These unit tests are run during the package
+ * build process. Two builds executing on the same machine
+ * can stomp on each other's unit tests if the ipc server
+ * names aren't unique... This was very confusing to debug */
+ snprintf(ipc_name, 256, "%s-%d", prefix, (int32_t)random());
+}
+
static int32_t
s1_msg_process_fn(qb_ipcs_connection_t *c,
void *data, size_t size)
@@ -227,6 +240,7 @@
} else if (req_pt->id == IPC_MSG_REQ_SERVER_FAIL) {
exit(0);
} else if (req_pt->id == IPC_MSG_REQ_SERVER_DISCONNECT) {
+ multiple_connections = QB_FALSE;
qb_ipcs_disconnect(c);
}
return 0;
@@ -263,6 +277,9 @@
static int32_t
s1_connection_closed(qb_ipcs_connection_t *c)
{
+ if (multiple_connections) {
+ return 0;
+ }
qb_enter();
qb_leave();
return 0;
@@ -301,6 +318,10 @@
static void
s1_connection_destroyed(qb_ipcs_connection_t *c)
{
+ if (multiple_connections) {
+ return;
+ }
+
qb_enter();
if (reference_count_test) {
struct cs_ipcs_conn_context *cnx;
@@ -316,6 +337,9 @@
s1_connection_created(qb_ipcs_connection_t *c)
{
uint32_t max = MAX_MSG_SIZE;
+ if (multiple_connections) {
+ return;
+ }
if (send_event_on_created) {
struct qb_ipc_response_header response;
@@ -698,7 +722,7 @@
{
qb_enter();
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
recv_timeout = 5000;
test_ipc_exit();
qb_leave();
@@ -709,7 +733,7 @@
{
qb_enter();
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
recv_timeout = 1000;
test_ipc_exit();
qb_leave();
@@ -720,7 +744,7 @@
{
qb_enter();
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_txrx_timeout();
qb_leave();
}
@@ -730,7 +754,7 @@
{
qb_enter();
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_txrx_timeout();
qb_leave();
}
@@ -741,7 +765,7 @@
qb_enter();
turn_on_fc = QB_FALSE;
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
recv_timeout = 1000;
test_ipc_txrx();
qb_leave();
@@ -753,7 +777,7 @@
qb_enter();
turn_on_fc = QB_FALSE;
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
recv_timeout = -1;
test_ipc_txrx();
qb_leave();
@@ -766,7 +790,7 @@
turn_on_fc = QB_TRUE;
ipc_type = QB_IPC_SHM;
recv_timeout = 500;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_txrx();
qb_leave();
}
@@ -777,7 +801,7 @@
qb_enter();
turn_on_fc = QB_FALSE;
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
recv_timeout = -1;
test_ipc_txrx();
qb_leave();
@@ -789,7 +813,7 @@
qb_enter();
turn_on_fc = QB_FALSE;
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
recv_timeout = 1000;
test_ipc_txrx();
qb_leave();
@@ -802,7 +826,7 @@
turn_on_fc = QB_TRUE;
ipc_type = QB_IPC_SOCKET;
recv_timeout = 500;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_txrx();
qb_leave();
}
@@ -857,7 +881,7 @@
{
qb_enter();
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_dispatch();
qb_leave();
}
@@ -934,6 +958,60 @@
}
static void
+test_ipc_stress_connections(void)
+{
+ int32_t c = 0;
+ int32_t j = 0;
+ uint32_t max_size = MAX_MSG_SIZE;
+ int32_t connections = 0;
+ pid_t pid;
+
+ multiple_connections = QB_TRUE;
+
+ qb_log_filter_ctl(QB_LOG_STDERR, QB_LOG_FILTER_CLEAR_ALL,
+ QB_LOG_FILTER_FILE, "*", LOG_TRACE);
+ qb_log_filter_ctl(QB_LOG_STDERR, QB_LOG_FILTER_ADD,
+ QB_LOG_FILTER_FILE, "*", LOG_INFO);
+ qb_log_ctl(QB_LOG_STDERR, QB_LOG_CONF_ENABLED, QB_TRUE);
+
+ pid = run_function_in_new_process(run_ipc_server);
+ fail_if(pid == -1);
+ sleep(1);
+
+ for (connections = 1; connections < 70000; connections++) {
+ if (conn) {
+ qb_ipcc_disconnect(conn);
+ conn = NULL;
+ }
+ do {
+ conn = qb_ipcc_connect(ipc_name, max_size);
+ if (conn == NULL) {
+ j = waitpid(pid, NULL, WNOHANG);
+ ck_assert_int_eq(j, 0);
+ sleep(1);
+ c++;
+ }
+ } while (conn == NULL && c < 5);
+ fail_if(conn == NULL);
+
+ if (((connections+1) % 1000) == 0) {
+ qb_log(LOG_INFO, "%d ipc connections made", connections+1);
+ }
+ }
+ multiple_connections = QB_FALSE;
+
+ request_server_exit();
+ verify_graceful_stop(pid);
+ qb_ipcc_disconnect(conn);
+
+ qb_log_filter_ctl(QB_LOG_STDERR, QB_LOG_FILTER_CLEAR_ALL,
+ QB_LOG_FILTER_FILE, "*", LOG_TRACE);
+ qb_log_filter_ctl(QB_LOG_STDERR, QB_LOG_FILTER_ADD,
+ QB_LOG_FILTER_FILE, "*", LOG_TRACE);
+ qb_log_ctl(QB_LOG_STDERR, QB_LOG_CONF_ENABLED, QB_TRUE);
+}
+
+static void
test_ipc_bulk_events(void)
{
int32_t c = 0;
@@ -1070,18 +1148,28 @@
qb_enter();
send_event_on_created = QB_FALSE;
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_stress_test();
qb_leave();
}
END_TEST
+START_TEST(test_ipc_stress_connections_us)
+{
+ qb_enter();
+ ipc_type = QB_IPC_SOCKET;
+ set_ipc_name(__func__);
+ test_ipc_stress_connections();
+ qb_leave();
+}
+END_TEST
+
START_TEST(test_ipc_bulk_events_us)
{
qb_enter();
send_event_on_created = QB_FALSE;
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_bulk_events();
qb_leave();
}
@@ -1137,7 +1225,7 @@
qb_enter();
send_event_on_created = QB_TRUE;
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_event_on_created();
qb_leave();
}
@@ -1199,7 +1287,7 @@
qb_enter();
disconnect_after_created = QB_TRUE;
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_disconnect_after_created();
qb_leave();
}
@@ -1238,7 +1326,7 @@
{
qb_enter();
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_server_fail();
qb_leave();
}
@@ -1248,7 +1336,7 @@
{
qb_enter();
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_dispatch();
qb_leave();
}
@@ -1259,17 +1347,27 @@
qb_enter();
send_event_on_created = QB_FALSE;
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_stress_test();
qb_leave();
}
END_TEST
+START_TEST(test_ipc_stress_connections_shm)
+{
+ qb_enter();
+ ipc_type = QB_IPC_SHM;
+ set_ipc_name(__func__);
+ test_ipc_stress_connections();
+ qb_leave();
+}
+END_TEST
+
START_TEST(test_ipc_bulk_events_shm)
{
qb_enter();
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_bulk_events();
qb_leave();
}
@@ -1280,7 +1378,7 @@
qb_enter();
send_event_on_created = QB_TRUE;
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_event_on_created();
qb_leave();
}
@@ -1290,7 +1388,7 @@
{
qb_enter();
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_server_fail();
qb_leave();
}
@@ -1331,7 +1429,7 @@
{
qb_enter();
ipc_type = QB_IPC_SHM;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_service_ref_count();
qb_leave();
}
@@ -1341,7 +1439,7 @@
{
qb_enter();
ipc_type = QB_IPC_SOCKET;
- ipc_name = __func__;
+ set_ipc_name(__func__);
test_ipc_service_ref_count();
qb_leave();
}
@@ -1439,6 +1537,11 @@
tcase_set_timeout(tc, 10);
suite_add_tcase(s, tc);
+ tc = tcase_create("ipc_stress_connections_shm");
+ tcase_add_test(tc, test_ipc_stress_connections_shm);
+ tcase_set_timeout(tc, 200);
+ suite_add_tcase(s, tc);
+
return s;
}
@@ -1513,6 +1616,11 @@
tcase_set_timeout(tc, 10);
suite_add_tcase(s, tc);
+ tc = tcase_create("ipc_stress_connections_us");
+ tcase_add_test(tc, test_ipc_stress_connections_us);
+ tcase_set_timeout(tc, 200);
+ suite_add_tcase(s, tc);
+
return s;
}
@@ -1524,6 +1632,7 @@
Suite *s;
int32_t do_shm_tests = QB_TRUE;
+ set_ipc_name("ipc_test");
#ifdef DISABLE_IPC_SHM
do_shm_tests = QB_FALSE;
#endif /* DISABLE_IPC_SHM */
1
0
Hello community,
here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-05-02 21:30:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/curl (Old)
and /work/SRC/openSUSE:Factory/.curl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "curl"
Changes:
--------
--- /work/SRC/openSUSE:Factory/curl/curl.changes 2015-04-25 16:45:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-05-02 21:30:14.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Apr 29 08:32:11 UTC 2015 - vcizek(a)suse.com
+
+- update to 7.42.1
+ * fixes CVE-2015-3153 (bnc#928533)
+ - sensitive HTTP server headers also sent to proxies
+- rename curl-devel to libcurl-devel in baselibs.conf
+
+-------------------------------------------------------------------
Old:
----
curl-7.42.0.tar.lzma
curl-7.42.0.tar.lzma.asc
New:
----
curl-7.42.1.tar.lzma
curl-7.42.1.tar.lzma.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ curl.spec ++++++
--- /var/tmp/diff_new_pack.1UkmAY/_old 2015-05-02 21:30:15.000000000 +0200
+++ /var/tmp/diff_new_pack.1UkmAY/_new 2015-05-02 21:30:15.000000000 +0200
@@ -20,7 +20,7 @@
%bcond_with mozilla_nss
%bcond_without testsuite
Name: curl
-Version: 7.42.0
+Version: 7.42.1
Release: 0
Summary: A Tool for Transferring Data from URLs
License: BSD-3-Clause and MIT
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.1UkmAY/_old 2015-05-02 21:30:15.000000000 +0200
+++ /var/tmp/diff_new_pack.1UkmAY/_new 2015-05-02 21:30:15.000000000 +0200
@@ -1,6 +1,6 @@
libcurl4
obsoletes "curl-<targettype> <= <version>"
provides "curl-<targettype> = <version>"
-curl-devel
+libcurl-devel
requires -curl-<targettype>
requires "libcurl4-<targettype> = <version>"
1
0
Hello community,
here is the log from the commit of package gpart for openSUSE:Factory checked in at 2015-05-02 21:29:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpart (Old)
and /work/SRC/openSUSE:Factory/.gpart.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gpart"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gpart/gpart.changes 2013-03-28 13:15:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gpart.new/gpart.changes 2015-05-02 21:29:08.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 20 14:07:45 UTC 2015 - mpluskal(a)suse.com
+
+- Cleanup spec file with spec-cleaner
+- Do not use url for download as mirrors are gone
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gpart.spec ++++++
--- /var/tmp/diff_new_pack.10ajtv/_old 2015-05-02 21:29:09.000000000 +0200
+++ /var/tmp/diff_new_pack.10ajtv/_new 2015-05-02 21:29:09.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gpart
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,8 +23,8 @@
License: GPL-2.0+
Group: System/Filesystems
Url: http://www.brzitwa.de/mb/gpart/index.html
-Source: http://fossies.org/linux/misc/old/%{name}-%{version}.tar.gz
-Patch: %{name}-%{version}.diff
+Source: %{name}-%{version}.tar.gz
+Patch0: %{name}-%{version}.diff
Patch1: %{name}-%{version}-array_overflow.diff
Patch2: %{name}-%{version}-array_overflow2.diff
Patch3: %{name}-%{version}-kernel_syscall.diff
@@ -37,18 +37,12 @@
type hard disk in case the primary partition table was damaged. Gpart
supports, among others, partitions formatted as ext2, FAT 12/16/32,
ReiserFS, NTFS, and HPFS. Read the file
-/usr/share/doc/packages/gpart/README and the gpart man page before
+%{_docdir}/gpart/README and the gpart man page before
using gpart.
-
-
-Authors:
---------
- mb(a)ichabod.han.de
-
%prep
%setup -q
-%patch
+%patch0
%patch1
%patch2
%patch3
@@ -56,18 +50,15 @@
%patch5
%build
-make CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -DVERSION=\\\"%version\\\"" %{?_smp_mflags}
+make CC="gcc" CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -DVERSION=\\\"%{version}\\\"" %{?_smp_mflags}
%install
-make prefix=$RPM_BUILD_ROOT/usr install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make prefix=%{buildroot}/usr install
%files
%defattr(-,root,root)
%doc COPYING Changes INSTALL LSM README
-/usr/bin/gpart
-/usr/share/man/man8/gpart.8.gz
+%{_bindir}/gpart
+%{_mandir}/man8/gpart.8.gz
%changelog
++++++ gpart-0.1h.tar.gz ++++++
1
0
Hello community,
here is the log from the commit of package docbook-xsl-stylesheets for openSUSE:Factory checked in at 2015-05-02 21:28:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/docbook-xsl-stylesheets (Old)
and /work/SRC/openSUSE:Factory/.docbook-xsl-stylesheets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "docbook-xsl-stylesheets"
Changes:
--------
--- /work/SRC/openSUSE:Factory/docbook-xsl-stylesheets/docbook-xsl-stylesheets.changes 2015-02-27 10:56:37.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.docbook-xsl-stylesheets.new/docbook-xsl-stylesheets.changes 2015-05-02 21:28:01.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 29 09:38:13 UTC 2015 - toms(a)opensuse.org
+
+- Fixed bsc#928753 (added missing template directory)
+- Slightly corrected file list
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ docbook-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.YcCH6z/_old 2015-05-02 21:28:01.000000000 +0200
+++ /var/tmp/diff_new_pack.YcCH6z/_new 2015-05-02 21:28:01.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package docbook-xsl-stylesheets
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -135,7 +135,7 @@
#--------------------------------------------------------------------------
%post
#
-# XML Catalog entries for daps profiling
+# XML Catalog entries
#
# remove existing entries first (if existing) - needed for
# zypper in, since it does not call postun
@@ -153,7 +153,7 @@
#--------------------------------------------------------------------------
%postun
#
-# delete catalog entry for daps profiling
+# delete catalog entry
# only run if package is really uninstalled ($1 = 0) and not
# in case of an update
#
@@ -166,7 +166,8 @@
#--------------------------------------------------------------------------
%files
%defattr(-, root, root)
-
+%config %{_sysconfdir}/xml/*.xml
+%doc BUGS NEWS README RELEASE-NOTES.txt TODO
%dir %{_datadir}/xml/docbook/stylesheet
%dir %{_datadir}/xml/docbook/stylesheet/nwalsh
%dir %{dbstyle_dir}/%{realversion}
@@ -176,10 +177,6 @@
# %%exclude %%{dbstyle_dir}/svn-commit.tmp
# %%exclude %%{dbstyle_dir}/%%{realversion}/*/*.xsl.orig
-%config %{_sysconfdir}/xml/*.xml
-
-%doc BUGS NEWS README RELEASE-NOTES.txt TODO
-
%{dbstyle_dir}/current
%{dbstyle_dir}/%{realversion}/*
++++++ dbxslt-install.sh ++++++
--- /var/tmp/diff_new_pack.YcCH6z/_old 2015-05-02 21:28:01.000000000 +0200
+++ /var/tmp/diff_new_pack.YcCH6z/_new 2015-05-02 21:28:01.000000000 +0200
@@ -89,14 +89,14 @@
}
#----------------------------------------------------------------------
-#
+#
DEBUG_SCRIPT=
DB4_XSLT_URL="http://docbook.sourceforge.net/release/xsl/"
DB5_XSLT_URL="http://docbook.sourceforge.net/release/xsl-ns/"
# Installation directories
DBXSLT_DIRS="assembly common eclipse epub epub3 extensions fo images \
highlighting html htmlhelp lib javahelp manpages profiling roundtrip slides \
-webhelp website xhtml xhtml-1_1 xhtml5"
+template webhelp website xhtml xhtml-1_1 xhtml5"
DBXSLT_FILES="catalog.xml VERSION VERSION.xsl REVISION"
# Without INSTALL
DBXSLT_DOCFILES="params AUTHORS BUGS COPYING NEWS.html NEWS.xml README REVISION TODO \
@@ -131,7 +131,7 @@
DEBUG_SCRIPT=1
shift
;;
- #
+ #
--package-name)
PACKAGE=$2
shift 2
@@ -198,7 +198,7 @@
printvariables
#----------------------------------------------------------------------
-#
+#
#
function create_directory_structure() {
local i
@@ -211,11 +211,11 @@
#----------------------------------------------------------------------
-#
+#
#
function install_dbxsltdirs() {
my_debug "\n\n=== Install all DocBook XSL stylesheet directories ==="
-
+
cp ${DEBUG_SCRIPT:+-v} -a $DBXSLT_DIRS $DBSTYLE_DIR/$PACKAGE_VERSION
}
@@ -230,25 +230,25 @@
function install_scripts() {
my_debug "\n\n=== Install scripts ==="
-
+
install ${DEBUG_SCRIPT:+-v} -m755 fo/pdf2index $BINDIR
install ${DEBUG_SCRIPT:+-v} -m755 epub/bin/dbtoepub $BINDIR
install ${DEBUG_SCRIPT:+-v} -m755 slides/images/callouts/gen.sh $BINDIR/callout-gen
-
+
# rm fo/pdf2index epub/bin/dbtoepub slides/images/callouts/gen.sh
}
function install_dbxsltfiles() {
my_debug "\n\n=== Install other files ==="
-
+
cp ${DEBUG_SCRIPT:+-v} -a $DBXSLT_FILES $DBSTYLE_DIR/$PACKAGE_VERSION
}
function install_dbxsltdocfiles() {
my_debug "\n\n=== Install documentation ==="
my_debug " Current dir: $PWD"
-
-
+
+
for i in "$DBXSLT_DOCFILES"; do
cp ${DEBUG_SCRIPT:+-v} -a $i $DOCDIR/$PACKAGE
done
@@ -257,14 +257,14 @@
function create_dbxslt_catalog() {
my_debug "\n\n=== Create catalog file ==="
-
+
# /etc/xml/docbook-xsl-stylesheets.xml
xmlcatalog --noout --create $XMLCONFDIR/$DBSTYLE_CATALOG
}
function create_dbxslt_addentries() {
my_debug "\n\n=== Create entries in the catalog file ==="
-
+
xmlcatalog --noout --add "rewriteSystem" \
"${DB4_XSLT_URL}${PACKAGE_VERSION}" \
"file://$ORIG_DBSTYLE_DIR/${PACKAGE_VERSION}" $XMLCONFDIR/$DBSTYLE_CATALOG
@@ -277,7 +277,7 @@
xmlcatalog --noout --add "rewriteURI" \
"${DB4_XSLT_URL}current" \
"file://$ORIG_DBSTYLE_DIR/current" $XMLCONFDIR/$DBSTYLE_CATALOG
-
+
#
# temporary file that is added to /etc/xml/suse-catalog.xml
# during post
1
0