Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-02-05 10:59:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dice" Changes: -------- New Changes file: --- /dev/null 2014-12-25 22:38:16.200041506 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-02-05 10:59:40.000000000 +0100 @@ -0,0 +1,1278 @@ +------------------------------------------------------------------- +Sun Jan 4 23:29:28 CET 2015 - m...@suse.de + +- Added check_404_header method + + when using curl on a file which does not exist the response + is a html encoded error code e.g 404 not found. The exit + code of curl in that case is success but in fact this should + be treated as an error + +------------------------------------------------------------------- +Sun Jan 4 22:44:47 CET 2015 - m...@suse.de + +- Make sure Command.run is used in repository_base + +------------------------------------------------------------------- +Sun Jan 4 22:38:58 CET 2015 - m...@suse.de + +- Added cleanup command + + cleanup build metadata. On build several metadata like the + semaphore lock or vagrant instance metadata as well the + caller history is created. This command allows to cleanup + the data to its original state. So far only the semaphore + cleanup has been implemented + +------------------------------------------------------------------- +Thu Jan 1 23:01:30 CET 2015 - m...@suse.de + +- Allow to set kiwi type as build option + +------------------------------------------------------------------- +Thu Jan 1 18:18:47 CET 2015 - m...@suse.de + +- Update rake task, delete static mkmf-rice.rb + +------------------------------------------------------------------- +Thu Jan 1 17:39:45 CET 2015 - m...@suse.de + +- Create semget lock id from a digest + + Using lock.sum is not safe. Instead a sha256 digest from + the lock path is created and from there the sum value is + used as id for semget + +------------------------------------------------------------------- +Thu Jan 1 16:26:34 CET 2015 - m...@suse.de + +- Allow lock release only if lock was set before + +------------------------------------------------------------------- +Wed Dec 31 20:53:25 CET 2014 - m...@suse.de + +- Use a local copy of mkmf-rice.rb to build Makefile + + For some reason loading of mkmf-rice with ruby in a + buildservice chroot did not work. For now this + workaround fixed the problem + +------------------------------------------------------------------- +Wed Dec 31 14:13:49 CET 2014 - m...@suse.de + +- Need a C++ compiler to build package + +------------------------------------------------------------------- +Wed Dec 31 02:35:57 CET 2014 - m...@suse.de + +- Build requires ruby-devel + +------------------------------------------------------------------- +Wed Dec 31 02:31:03 CET 2014 - m...@suse.de + +- Fixed build target + + ruby ./extconf.rb calls mkdir at a place without permissons + when building in the buildservice + +------------------------------------------------------------------- +Tue Dec 30 23:34:28 CET 2014 - m...@suse.de + +- Added compile of semaphore to rake task + +------------------------------------------------------------------- +Tue Dec 30 23:29:10 CET 2014 - m...@suse.de + +- Use named semaphore for process synchronisation + + File base locking is not safe from race conditions + +------------------------------------------------------------------- +Tue Dec 30 19:30:11 CET 2014 - m...@suse.de + +- Added rebuild? method to BuildStatus class + + BuildStatus should determine if a rebuild is required + The BuildTask just checks by sending this message to + the status object + +------------------------------------------------------------------- +Tue Dec 30 16:46:02 CET 2014 - m...@suse.de + +- More flexible interface for build status + + checking for a class type as status type is not flexible. + In addition the BuildStatus class should really know + everything about the build status. + +------------------------------------------------------------------- +Sun Dec 28 21:16:22 CET 2014 - m...@suse.de + +- Found a duck + + making a decision by selecting for class type is not flexible + +------------------------------------------------------------------- +Tue Dec 23 00:11:28 CET 2014 - m...@suse.de + +- Delete no longer needed recipe test data + +------------------------------------------------------------------- +Mon Dec 22 23:24:19 CET 2014 - m...@suse.de + +- Better handling of Recipe class + + improve unit tests for Recipe class. change public interface + to expose setup and validate methods and keep the constructor + simple. + +------------------------------------------------------------------- +Mon Dec 22 02:38:00 CET 2014 - m...@suse.de + +- Make Recipe class better testable + +------------------------------------------------------------------- +Mon Dec 22 01:54:49 CET 2014 - m...@suse.de + +- Reduce class dependencies for Recipe and BuildTask + +------------------------------------------------------------------- +Sat Dec 20 23:28:31 CET 2014 - m...@suse.de + +- Remove argument order dependencies + +------------------------------------------------------------------- +Sat Dec 20 23:01:22 CET 2014 - m...@suse.de + +- Isolate dependencies + +------------------------------------------------------------------- +Sat Dec 20 19:20:31 CET 2014 - m...@suse.de + +- Update unit tests to all class changes + +------------------------------------------------------------------- +Sat Dec 20 18:23:12 CET 2014 - m...@suse.de + +- Cleanup BuildSystem class name + + Make sure the BuildSystem classes inherits from BuildSystemBase + +------------------------------------------------------------------- +Sat Dec 20 15:55:01 CET 2014 - m...@suse.de + +- Cleanup Connection class name + + Make sure the Connection classes inherits from ConnectionBase + +------------------------------------------------------------------- +Sat Dec 20 15:20:46 CET 2014 - m...@suse.de + +- Reduce class dependencies for Solver class + +------------------------------------------------------------------- +Sat Dec 20 14:17:09 CET 2014 - m...@suse.de + +- Don't test private methods + +------------------------------------------------------------------- +Wed Dec 17 16:25:53 CET 2014 - m...@suse.de + +- Cleanup Recipe class + + Make the interface more clear. The update method updates the + checksum of the recipe which is clear by the name of the + method it calls: writeRecipeChecksum. + + There should be no connection between a recipe and a job, but + a recipe can check if something has changed in its configuration + or metadata. So there is a method uptodate? which checks that + +------------------------------------------------------------------- +Wed Dec 17 15:12:18 CET 2014 - m...@suse.de + +- Cleanup Solver class + + The task for the Solver class is to solve packages + against repositories and not to write the solver ++++ 1081 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.dice.new/dice.changes New: ---- dice-0.5.0.gem dice-rpmlintrc dice.changes dice.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dice.spec ++++++ # spec file for package dice # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dice Version: 0.5.0 Release: 0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} %define mod_weight 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 BuildRequires: fdupes BuildRequires: ruby-devel BuildRequires: gcc-c++ %if %suse_version == 1315 %define rb_build_versions %{rb_default_ruby} BuildRequires: %{rubydevel} BuildRequires: %{rubygem rice} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem bundler} BuildRequires: %{rubygem cheetah >= 0.4.0} BuildRequires: %{rubygem gli >= 2.11.0} BuildRequires: %{rubygem gli <= 2.12} BuildRequires: %{rubygem abstract_method >= 1.2.1} BuildRequires: %{rubygem json >= 1.8.0} BuildRequires: %{rubygem inifile >= 2.0.2} %else BuildRequires: rubygem(gem2rpm) BuildRequires: rubygem(bundler) BuildRequires: rubygem(rice) BuildRequires: rubygem(cheetah) >= 0.4.0 BuildRequires: rubygem(gli) >= 2.11.0 BuildRequires: rubygem(gli) <= 2.12 BuildRequires: rubygem(abstract_method) >= 1.2.1 BuildRequires: rubygem(json) >= 1.8.0 BuildRequires: rubygem(inifile) >= 2.0.2 %endif # Disable autogenerating "Requires:" headers for bundled gems. %define __requires_exclude ^rubygem Requires: ruby >= 2.0 Requires: ruby-solv Url: http://suse.com Source0: %{mod_full_name}.gem Source1: %{mod_name}-rpmlintrc Summary: light weight image build system License: GPL-3.0 Group: Development/Languages/Ruby %description Given there is the need to build a kiwi appliance for a customer, one wants to keep track of the updates from the distribution and software vendors according to the components used in the appliance. This leads to a regular rebuild of that appliance which should be automatically triggered whenever the repository which stores all the software packages has changed. With Dice there is a tool which automatically builds all appliances stored in a directory %package doc Summary: RDoc and RI documentation for Machinery Group: Development/Languages/Ruby Requires: %{name} = %{version} %description doc RDoc and RI documentation for dice is a light weight image build system for kiwi %prep %build %install # Install the gem itself %gem_install -f pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} # Build CPP extensions ( cd lib/semaphore && ruby ./extconf.rb && make && rm -f semaphore.o ) # Bundle dependencies cat > Gemfile <<EOT gem "cheetah", ">= 0.4.0" gem "gli", "~> 2.11.0" gem "abstract_method", ">= 1.2.1" %if %suse_version <= 1310 gem "json", ">= 1.8.0" %endif gem "inifile", ">= 2.0.2" EOT mkdir -p vendor/cache cp %{_libdir}/ruby/gems/%{rb_ver}/cache/*.gem vendor/cache bundle install --standalone --local rm -rf vendor .bundle Gemfile Gemfile.lock popd # Adapt the binary # Here we do a surgery on the binary to actually load the bundled gems. This is # a hack, but it can't be done anywhere else because the binary is generated # during gem install. sed -i '/gem/i \ Gem.path.unshift("%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/bundle/ruby/%{rb_ver}") ' %{buildroot}%{_bindir}/%{mod_name} # Additional files mkdir -p %{buildroot}/etc/bash_completion.d ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/recipes ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/key ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/completion/dice.sh \ %{buildroot}/etc/bash_completion.d/dice.sh # Convert duplicate files to symlinks %fdupes -s %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/%{mod_name} %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec %config /etc/bash_completion.d/dice.sh %doc COPYING %doc recipes %doc key %files doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ %changelog ++++++ dice-rpmlintrc ++++++ # Filter all messages for bundled gems. This is necessary because content of # gems violates many rpmlint checks. addFilter("/bundle/ruby/[^/]+/gems/") -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org