commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2018-09-24 13:13:16 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Mon Sep 24 13:13:16 2018 rev:19 rq:637083 version:0.7.10 Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2017-03-12 20:05:08.792022746 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2018-09-24 13:13:20.105699151 +0200 @@ -1,0 +2,20 @@ +Fri Sep 14 18:05:51 CEST 2018 - m...@suse.de + +- Add rice as development dependency + +--- +Fri Sep 14 17:32:49 CEST 2018 - m...@suse.de + +- Fixed use of obsolete Dir::Tmpname.make_tmpname + +--- +Thu Jul 26 04:32:53 CEST 2018 - druony...@suse.de + +- add -f so the repo with auto-refresh the metadata + +--- +Thu Jul 26 04:30:56 CEST 2018 - druony...@suse.de + +- use the obs:// shorthand to adding the repo with zypper + +--- Other differences: -- ++ dice-0.7.10.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/job.rb new/lib/job.rb --- old/lib/job.rb 2017-03-03 12:07:19.0 +0100 +++ new/lib/job.rb 2018-09-14 18:05:42.0 +0200 @@ -7,8 +7,13 @@ Dice::META + "/" + Dice::BUILD_LOG @archive = buildsystem.recipe.basepath + "/" + Dice::META + "/" + Dice::BUILD_RESULT -@job_name = Dir::Tmpname.make_tmpname(['kiwi_build_', '.dice'], nil) -@bundle_name = Dir::Tmpname.make_tmpname(['kiwi_bundle_', '.dice'], nil) +@job_name = tmpname +@bundle_name = tmpname + end + + def tmpname +t = Time.now.strftime("%Y%m%d") +"kiwi_build_#{t}-#{$$}-#{Kernel.rand(0x1).to_s(36)}.dice" end def build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2017-03-03 12:07:19.0 +0100 +++ new/metadata2018-09-14 18:06:12.0 +0200 @@ -8,7 +8,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2017-03-03 00:00:00.0 Z +date: 2018-09-14 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah @@ -84,6 +84,20 @@ name: rake requirement: !ruby/object:Gem::Requirement requirements: +- - "<" + - !ruby/object:Gem::Version +version: '11.0' + type: :development + prerelease: false + version_requirements: !ruby/object:Gem::Requirement +requirements: +- - "<" + - !ruby/object:Gem::Version +version: '11.0' +- !ruby/object:Gem::Dependency + name: packaging_rake_tasks + requirement: !ruby/object:Gem::Requirement +requirements: - - ">=" - !ruby/object:Gem::Version version: '0' @@ -95,7 +109,7 @@ - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency - name: packaging_rake_tasks + name: rice requirement: !ruby/object:Gem::Requirement requirements: - - ">=" @@ -185,8 +199,8 @@ version: 1.3.6 requirements: [] rubyforge_project: dice -rubygems_version: 2.2.2 +rubygems_version: 2.7.3 signing_key: specification_version: 4 -summary: light weight image build system +summary: Light weight image build system test_files: []
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2017-03-12 20:05:07 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Sun Mar 12 20:05:07 2017 rev:18 rq:478481 version:0.7.10 Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2016-12-13 19:34:27.345492183 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2017-03-12 20:05:08.792022746 +0100 @@ -1,0 +2,14 @@ +Tue Feb 28 11:51:31 CET 2017 - m...@suse.de + +- Add support for URI credentials + + If a repository of the form: + + + + + + is provided the credentials information was not properly handled + for curl and ruby's openURI implementation + +--- Other differences: -- ++ dice-0.7.10.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/kiwi_config.rb new/lib/kiwi_config.rb --- old/lib/kiwi_config.rb 2016-12-05 19:56:19.0 +0100 +++ new/lib/kiwi_config.rb 2017-03-03 12:07:19.0 +0100 @@ -11,10 +11,13 @@ repo_uri = [] xml.elements.each("*/repository") do |repo| repo_type = repo.attributes["type"] + user = repo.attributes["username"] + pass = repo.attributes["password"] repo.elements.each("source") do |element| source_path = element.attributes["path"].gsub(/\?.*/,"") repo_uri << KiwiUri.translate( - :name => source_path, :repo_type => repo_type + :name => source_path, :repo_type => repo_type, + :user => user, :pass => pass ) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/repo_uri.rb new/lib/repo_uri.rb --- old/lib/repo_uri.rb 2016-12-05 19:56:19.0 +0100 +++ new/lib/repo_uri.rb 2017-03-03 12:07:19.0 +0100 @@ -1,10 +1,12 @@ class RepoUri - attr_reader :name, :type, :location, :repo_type + attr_reader :name, :type, :location, :repo_type, :user, :pass attr_reader :allowed_local_types, :allowed_remote_types attr_reader :mount_point def initialize(args) @name = args[:name] +@user = args[:user] +@pass = args[:pass] @repo_type = args[:repo_type] set_uri_type_and_location diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/repository_base.rb new/lib/repository_base.rb --- old/lib/repository_base.rb 2016-12-05 19:56:19.0 +0100 +++ new/lib/repository_base.rb 2017-03-03 12:07:19.0 +0100 @@ -27,7 +27,14 @@ location = uri.name end begin - handle = open(location + "/" + source, "rb") + if uri.user +handle = open( + location + "/" + source, "rb", + :http_basic_authentication=>[uri.user, uri.pass] +) + else +handle = open(location + "/" + source, "rb") + end data = handle.read handle.close rescue => e @@ -52,8 +59,15 @@ elsif !uri.is_remote? location = "file://" + uri.location end +curl_opts = ["-L"] +if uri.user +curl_opts += ["-u", uri.user + ":" + uri.pass] +end begin - Command.run("curl", "-L", location + "/" + source, :stdout => outfile) + Command.run( + ["curl"] + curl_opts + [location + "/" + source], + :stdout => outfile + ) rescue Cheetah::ExecutionFailed => e raise Dice::Errors::CurlFileFailed.new( "Downloading file: #{location}/#{source} failed: #{e.stderr}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-12-05 19:56:19.0 +0100 +++ new/metadata2017-03-03 12:07:19.0 +0100 @@ -8,7 +8,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2016-12-05 00:00:00.0 Z +date: 2017-03-03 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2016-11-10 13:19:12 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2016-07-01 10:01:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2016-11-10 13:19:14.0 +0100 @@ -1,0 +2,12 @@ +Mon Oct 31 12:17:55 CET 2016 - m...@suse.de + +- Bump version: 0.7.7 → 0.7.8 + +--- +Mon Oct 31 12:14:53 CET 2016 - m...@suse.de + +- Fixup repo source translator for yast2 type + + Leave yast2 repo path untouched if not specified as obs type + +--- Old: dice-0.7.7.gem New: dice-0.7.8.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.TwVMvl/_old 2016-11-10 13:19:15.0 +0100 +++ /var/tmp/diff_new_pack.TwVMvl/_new 2016-11-10 13:19:15.0 +0100 @@ -14,7 +14,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dice -Version:0.7.7 +Version:0.7.8 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} ++ dice-0.7.7.gem -> dice-0.7.8.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/kiwi_uri.rb new/lib/kiwi_uri.rb --- old/lib/kiwi_uri.rb 2016-06-23 15:17:01.0 +0200 +++ new/lib/kiwi_uri.rb 2016-10-31 12:18:47.0 +0100 @@ -5,13 +5,15 @@ # standard mime types. This also includes resolving open build # service resource locator into http addresses if args[:repo_type] == "yast2" -# distribution URL pointing to a yast distro repo -bs_project = args[:name].gsub(/obs:\/\//, "") -args[:name] = "http://download.opensuse.org/distribution/#{bs_project}/; +case args[:name] + when /^obs:\/\/(.*)/ +# obs distribution URL pointing to a yast distro repo +args[:name] = "http://download.opensuse.org/distribution/#{$1}/; +end else case args[:name] when /^obs:\/\/(\d.*)/ -# distribution URL pointing to a rpm-md distro repo +# obs distribution URL pointing to a rpm-md distro repo args[:name] = "http://download.opensuse.org/distribution/#{$1}/; when /^obs:\/\/(.*)/ # obs url, translate to http url diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/version.rb new/lib/version.rb --- old/lib/version.rb 2016-06-23 15:17:01.0 +0200 +++ new/lib/version.rb 2016-10-31 12:18:47.0 +0100 @@ -1,3 +1,3 @@ module Dice - VERSION = "0.7.7" + VERSION = "0.7.8" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-06-23 15:17:01.0 +0200 +++ new/metadata2016-10-31 12:18:47.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: dice version: !ruby/object:Gem::Version - version: 0.7.7 + version: 0.7.8 platform: ruby authors: - SUSE autorequire: bindir: bin cert_chain: [] -date: 2016-06-23 00:00:00.0 Z +date: 2016-10-31 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2016-07-01 10:01:09 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2016-04-30 23:30:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2016-07-01 10:01:10.0 +0200 @@ -1,0 +2,5 @@ +Thu Jun 23 15:16:11 CEST 2016 - m...@suse.de + +- Update location of build container + +--- Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.QEc75D/_old 2016-07-01 10:01:11.0 +0200 +++ /var/tmp/diff_new_pack.QEc75D/_new 2016-07-01 10:01:11.0 +0200 @@ -1,7 +1,6 @@ -# # spec file for package dice # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -14,8 +13,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: dice Version:0.7.7 Release:0 @@ -23,26 +20,26 @@ %define mod_full_name %{mod_name}-%{version} %define rb_build_versions %{rb_default_ruby} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{rubygem abstract_method >= 1.2.1} -BuildRequires: %{rubygem bundler} -BuildRequires: %{rubygem cheetah >= 0.4.0} -BuildRequires: %{rubygem gem2rpm} -BuildRequires: %{rubygem gli >= 2.11.0} -BuildRequires: %{rubygem inifile >= 2.0.2} -BuildRequires: %{rubygem json >= 1.8.0} -BuildRequires: %{rubygem rice} -BuildRequires: %{ruby} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: ruby-devel BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives +BuildRequires: %{ruby} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rice} +BuildRequires: %{rubygem bundler} +BuildRequires: %{rubygem cheetah >= 0.4.0} +BuildRequires: %{rubygem gli >= 2.11.0} +BuildRequires: %{rubygem abstract_method >= 1.2.1} +BuildRequires: %{rubygem json >= 1.8.0} +BuildRequires: %{rubygem inifile >= 2.0.2} # Disable autogenerating "Requires:" headers for bundled gems. %define __requires_exclude ^rubygem -Requires: curl Requires: ruby >= 2.0 Requires: ruby-solv +Requires: curl Url:http://www.suse.com Source0:%{mod_full_name}.gem Source1:%{mod_name}-rpmlintrc ++ dice-0.7.7.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/constants.rb new/lib/constants.rb --- old/lib/constants.rb2016-04-19 12:03:14.0 +0200 +++ new/lib/constants.rb2016-06-23 15:17:01.0 +0200 @@ -3,7 +3,7 @@ VAGRANT_BUILD = :VAGRANT DOCKER_BUILD = :DOCKER - DOCKER_BUILD_CONTAINER = "schaefi/kiwi-build-box:latest" + DOCKER_BUILD_CONTAINER = "opensuse/dice:latest" SSH_USER = "vagrant" SSH_PRIVATE_KEY_PATH = File.join(ROOT, "key/vagrant") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-04-19 12:03:14.0 +0200 +++ new/metadata2016-06-23 15:17:01.0 +0200 @@ -8,7 +8,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2016-04-19 00:00:00.0 Z +date: 2016-06-23 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2016-04-30 23:30:54 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-11-26 17:03:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2016-04-30 23:30:55.0 +0200 @@ -1,0 +2,27 @@ +Tue Apr 19 11:59:28 CEST 2016 - m...@suse.de + +- Run build and bundle in UTF-8 locale + +--- +Mon Apr 18 16:13:43 CEST 2016 - m...@suse.de + +- add option to skip dockerhub container update + +--- +Mon Apr 18 09:25:58 CEST 2016 - m...@suse.de + +- Move to kiwi next generation + +--- +Sun Apr 17 15:43:04 CEST 2016 - m...@suse.de + +- Fixed evaluation of yast2 dist URI's + +--- +Sun Apr 17 15:07:54 CEST 2016 - m...@suse.de + +- Fixed unit test for create_solv + + Check for raise condition was incomplete + +--- Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.LFUzaI/_old 2016-04-30 23:30:55.0 +0200 +++ /var/tmp/diff_new_pack.LFUzaI/_new 2016-04-30 23:30:55.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dice # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 ++ dice-0.7.7.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/cli.rb new/lib/cli.rb --- old/lib/cli.rb 2015-11-16 15:09:34.0 +0100 +++ new/lib/cli.rb 2016-04-19 12:03:14.0 +0200 @@ -83,14 +83,26 @@ LONGDESC arg "RECIPE-PATH" command :build do |c| -c.switch ["force", :f], :required => false, :negatable => false, +c.switch ["force", :f], + :required => false, + :negatable => false, :desc => "Force building even if status is up to data" -c.switch ["skip-missing", :i], :required => false, :negatable => false, +c.switch ["skip-missing", :i], + :required => false, + :negatable => false, :desc => "Skip packages not found in the repositories" -c.flag ["kiwitype", :t], :kiwitype => String, :required => false, +c.flag ["kiwitype", :t], + :kiwitype => String, + :required => false, :desc => "Set kiwi build type" -c.flag ["kiwiprofile", :p], :kiwiprofile => String, :required => false, +c.flag ["kiwiprofile", :p], + :kiwiprofile => String, + :required => false, :desc => "Set kiwi build profile" +c.switch ["skip-container-update", :s], + :required => false, + :negatable => false, + :desc => "Skip build system container update from dockerhub" c.action do |global_options,options,args| Dice.setup_options(options) description = shift_arg(args, "RECIPE-PATH") @@ -111,7 +123,9 @@ LONGDESC arg "RECIPE-PATH" command :buildlog do |c| -c.switch ["show", :s], :required => false, :negatable => false, +c.switch ["show", :s], + :required => false, + :negatable => false, :desc => "Just show the log if present, skip test for build process" c.action do |global_options,options,args| Dice.setup_options(options) @@ -151,7 +165,9 @@ LONGDESC arg "RECIPE-PATH" command :status do |c| -c.switch ["skip-missing", :i], :required => false, :negatable => false, +c.switch ["skip-missing", :i], + :required => false, + :negatable => false, :desc => "Skip packages not found in the repositories" c.action do |global_options,options,args| Dice.setup_options(options) @@ -194,7 +210,9 @@ LONGDESC arg "RECIPE-PATH" command :cleanup do |c| -c.switch ["lock", :l], :required => false, :negatable => false, +c.switch ["lock", :l], + :required => false, + :negatable => false, :desc => "Cleanup stale semaphore lock if present" c.action do |global_options,options,args| Dice.setup_options(options) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/docker_build_system.rb new/lib/docker_build_system.rb --- old/lib/docker_build_system.rb 2015-11-16
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-11-26 17:03:51 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-11-08 11:27:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-11-26 17:03:52.0 +0100 @@ -1,0 +2,45 @@ +Mon Nov 16 12:04:54 CET 2015 - m...@suse.de + +- Fixed docker result retrieval + + Don't pass and store big data via stdout channel through a docker + command. I received unstable results and broken pipes. Better store + the data as a file on a shared host/container volume + +--- +Thu Nov 12 12:28:20 CET 2015 - m...@suse.de + +- release version bump + +--- +Thu Nov 12 12:27:50 CET 2015 - m...@suse.de + +- Fixed 404 header check + + Don't fail on garbage (compressed) junks of data + +--- +Thu Nov 12 12:02:58 CET 2015 - m...@suse.de + +- release version bump + +--- +Thu Nov 12 12:00:36 CET 2015 - m...@suse.de + +- Pass KIWI_IGNORE_OLD_MOUNTS for dice build + +--- +Thu Nov 12 11:15:23 CET 2015 - m...@suse.de + +- Update spec template + + curl is a required component + +--- +Thu Nov 12 11:05:46 CET 2015 - m...@suse.de + +- Rename uri to repo_uri + + This caused a name conflict on the openuri side of ruby + +--- Old: dice-0.7.4.gem New: dice-0.7.7.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.E16guv/_old 2015-11-26 17:03:53.0 +0100 +++ /var/tmp/diff_new_pack.E16guv/_new 2015-11-26 17:03:53.0 +0100 @@ -17,7 +17,7 @@ Name: dice -Version:0.7.4 +Version:0.7.7 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} @@ -40,6 +40,7 @@ # Disable autogenerating "Requires:" headers for bundled gems. %define __requires_exclude ^rubygem +Requires: curl Requires: ruby >= 2.0 Requires: ruby-solv Url:http://www.suse.com ++ dice-0.7.4.gem -> dice-0.7.7.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/build_system_base.rb new/lib/build_system_base.rb --- old/lib/build_system_base.rb2015-10-30 10:53:12.0 +0100 +++ new/lib/build_system_base.rb2015-11-16 15:09:34.0 +0100 @@ -51,6 +51,23 @@ @job ||= Job.new(self) end + def archive_job_result(job_result_dir, archive_filename) +result_command = "tar -C #{job_result_dir} -c ." +result = File.open(archive_filename, "w") +begin + Command.run( +job_builder_command(result_command), +:stdout => result + ) +rescue Cheetah::ExecutionFailed => e + result.close + raise Dice::Errors::ResultRetrievalFailed.new( +"Archiving result failed with: #{e.stderr}" + ) +end +result.close + end + def job_builder_command(action) command = [ "ssh", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/dice.rb new/lib/dice.rb --- old/lib/dice.rb 2015-10-30 10:53:12.0 +0100 +++ new/lib/dice.rb 2015-11-16 15:09:34.0 +0100 @@ -15,7 +15,7 @@ require "inifile" require "time" -require_relative "uri" +require_relative "repo_uri" require_relative "cleaner" require_relative "semaphore/semaphore" require_relative "dice_options" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/docker_build_system.rb new/lib/docker_build_system.rb --- old/lib/docker_build_system.rb 2015-10-30 10:53:12.0 +0100 +++ new/lib/docker_build_system.rb 2015-11-16 15:09:34.0 +0100 @@ -54,6 +54,20 @@ recipe.reset_working_dir end + def archive_job_result(job_result_dir, archive_filename) +archive = File.basename(archive_filename) +result_command = "tar -C #{job_result_dir} -cf /vagrant/.dice/#{archive} ." +begin + Command.run( +job_builder_command(result_command) + ) +rescue Cheetah::ExecutionFailed => e + raise Dice::Errors::ResultRetrievalFailed.new( +
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-11-08 11:26:53 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is "dice" Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-08-05 19:15:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-11-08 11:27:04.0 +0100 @@ -1,0 +2,14 @@ +Fri Oct 30 10:52:51 CET 2015 - m...@suse.de + +- minor version bump + +--- +Fri Oct 30 10:48:53 CET 2015 - m...@suse.de + +- Fixed solvable creation + + If multiple solver items are present each needs to be its + own solvable in order to become merged later. The *2solv + tools does not support multiple input files + +--- Old: dice-0.7.3.gem New: dice-0.7.4.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.nIyDSt/_old 2015-11-08 11:27:05.0 +0100 +++ /var/tmp/diff_new_pack.nIyDSt/_new 2015-11-08 11:27:05.0 +0100 @@ -17,7 +17,7 @@ Name: dice -Version:0.7.3 +Version:0.7.4 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} ++ dice-0.7.3.gem -> dice-0.7.4.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/repository_base.rb new/lib/repository_base.rb --- old/lib/repository_base.rb 2015-07-29 10:02:58.0 +0200 +++ new/lib/repository_base.rb 2015-10-30 10:53:12.0 +0100 @@ -71,27 +71,32 @@ source_dir = args[:source_dir] dest_dir = args[:dest_dir] FileUtils.mkdir_p(dest_dir) -rand_name = "solvable-" + (0...8).map { (65 + Kernel.rand(26)).chr }.join -solvable = File.open(dest_dir + "/" + rand_name, "wb") begin if tool == 'rpms2solv' +solvable = File.open(dest_dir + "/" + rand_solvable_name, "wb") Command.run( "bash", "-c", "#{tool} #{source_dir}/*.rpm", :stdout => solvable ) +solvable.close else -Command.run( - "bash", "-c", "gzip -cd --force #{source_dir}/* | #{tool}", - :stdout => solvable -) +solv_files = Dir.glob(source_dir + "/*") +solv_files.each do |solv| + next if File.directory?(solv) + next if solv =~ /.rpm$/ + solvable = File.open(dest_dir + "/" + rand_solvable_name, "wb") + Command.run( +"bash", "-c", "gzip -cd --force #{solv} | #{tool}", +:stdout => solvable + ) + solvable.close +end end rescue Cheetah::ExecutionFailed => e raise Dice::Errors::SolvToolFailed.new( "Creating solvable failed: #{e.stderr}" ) end -solvable.close -rand_name end def merge_solv(source_dir, timestamp = "static") @@ -150,6 +155,10 @@ private + def rand_solvable_name +return "solvable-" + (0...8).map { (65 + Kernel.rand(26)).chr }.join + end + def check_404_header(source, dest) outfile = File.open(dest, "rb") # if there is a 404 not found information it will be in the first two lines diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/version.rb new/lib/version.rb --- old/lib/version.rb 2015-07-29 10:02:58.0 +0200 +++ new/lib/version.rb 2015-10-30 10:53:12.0 +0100 @@ -1,3 +1,3 @@ module Dice - VERSION = "0.7.3" + VERSION = "0.7.4" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2015-07-29 10:02:58.0 +0200 +++ new/metadata2015-10-30 10:53:12.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: dice version: !ruby/object:Gem::Version - version: 0.7.3 + version: 0.7.4 platform: ruby authors: - SUSE autorequire: bindir: bin cert_chain: [] -date: 2015-07-29 00:00:00.0 Z +date: 2015-10-30 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-08-05 19:14:59 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-07-21 13:29:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-08-05 19:15:01.0 +0200 @@ -1,0 +2,74 @@ +Wed Jul 29 09:34:05 CEST 2015 - m...@suse.de + +- Fixed job prepare_build + + The method glob deletes old builds from tmp. What sounds + like a good idea is a bad one because when multiple job + runs in parallel this breaks the other jobs. That's + because depending on the selected build system and setup + tmp might be a shared location + +--- +Tue Jul 28 23:18:53 CEST 2015 - m...@suse.de + +- Fixed calculateDigest + + The calculation of the recipe digest is based on the data which + build the image description. However if people use a repository + as part of the image description it should not be taken into + consideration, because a solver operation will find potential + repository changes. Therefore the list of files and directories + belonging to an image description is limited to the top level + entries and the recursive search for the optioal overlay + root directory + +--- +Tue Jul 28 16:01:52 CEST 2015 - m...@suse.de + +- Fixed comps download and test + +--- +Tue Jul 28 15:27:15 CEST 2015 - m...@suse.de + +- Follow up fix to support yum groups + + yum group names are prefixed with group: not with pattern: + +--- +Sat Jul 25 21:26:09 CEST 2015 - m...@suse.de + +- Added support for this:// kiwi uri type + +--- +Mon Jul 20 22:39:08 CEST 2015 - m...@suse.de + +- Added --skip-missing option + + Allows to skip packages for the solver operation if they + could not be found in the repositories. This is useful + if packages are only relevant for certain profiles of the + kiwi configuration. Dice always solves over all packages + listed in the configuration + +--- +Mon Jul 20 17:16:45 CEST 2015 - m...@suse.de + +- Version 0.7.3 + +--- +Mon Jul 20 17:00:40 CEST 2015 - m...@suse.de + +- Fixed kiwi URI obs resolver + + prevent double slashes in output URL + +--- +Mon Jul 20 16:36:11 CEST 2015 - m...@suse.de + +- Added support for yum groups in solver + + libsolv provides a comp2solv parser which allows to read yum + groups (comps) files. This allows to let satsolver use yum + groups for building rhel images + +--- Old: dice-0.7.2.gem New: dice-0.7.3.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.cVjfGB/_old 2015-08-05 19:15:02.0 +0200 +++ /var/tmp/diff_new_pack.cVjfGB/_new 2015-08-05 19:15:02.0 +0200 @@ -17,7 +17,7 @@ Name: dice -Version:0.7.2 +Version:0.7.3 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} ++ dice-0.7.2.gem - dice-0.7.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/cli.rb new/lib/cli.rb --- old/lib/cli.rb 2015-07-20 10:19:26.0 +0200 +++ new/lib/cli.rb 2015-07-29 10:02:58.0 +0200 @@ -85,6 +85,8 @@ command :build do |c| c.switch [force, :f], :required = false, :negatable = false, :desc = Force building even if status is up to data +c.switch [skip-missing, :i], :required = false, :negatable = false, + :desc = Skip packages not found in the repositories c.flag [kiwitype, :t], :kiwitype = String, :required = false, :desc = Set kiwi build type c.flag [kiwiprofile, :p], :kiwiprofile = String, :required = false, @@ -149,6 +151,8 @@ LONGDESC arg RECIPE-PATH command :status do |c| +c.switch [skip-missing, :i], :required = false, :negatable = false, + :desc = Skip packages not found in the repositories c.action do |global_options,options,args| Dice.setup_options(options) description = shift_arg(args, RECIPE-PATH) diff -urN
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-07-21 13:27:36 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-05-27 12:53:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-07-21 13:29:11.0 +0200 @@ -1,0 +2,74 @@ +Mon Jul 20 10:18:19 CEST 2015 - m...@suse.de + +- Fixed packaging + + missing ruby-solv requirement, and broken binary patch to + adapt the gem search path + +--- +Sun Jul 19 22:31:04 CEST 2015 - m...@suse.de + +- Disable ruby internal buffering for build log + +--- +Thu Jul 16 14:11:39 CEST 2015 - m...@suse.de + +- Version 0.7.2 + +--- +Thu Jul 16 14:10:50 CEST 2015 - m...@suse.de + +- Use unique tmp names for building + +--- +Thu Jul 16 11:36:31 CEST 2015 - m...@suse.de + +- Bind mount docker host tmp dir for building + + It should be avoided to produce big data in the docker storage + backend. We might easily run out of space + +--- +Thu Jul 16 11:08:39 CEST 2015 - m...@suse.de + +- Stick to the naming conventions of docker + + Use the tag name 'latest' to identify the most recent image + +--- +Thu Jul 16 10:40:13 CEST 2015 - m...@suse.de + +- Fixed calling commands passed to docker run + + let a shell process evaluate the given parameters + +--- +Wed Jul 15 13:09:45 CEST 2015 - m...@suse.de + +- Added support for plain docker build system + + The buildsystem will pull the opensuse/kiwi image from dockerhub + to establish a build environment + +--- +Tue Jul 14 13:22:28 CEST 2015 - m...@suse.de + +- Refactor job command invokation + + Make sure the basic access to the buildsystem is provided by + the buildsystem factory and not created as part of the job. + This allows to run job commands within a buildservice by the + nature of the buildservice and not hard coded to the use + of ssh. This change has been in preparation to add a native + docker build service class + +--- +Mon Jun 8 10:12:57 CEST 2015 - m...@suse.de + +- Update README + + due to the use of the latest packaging tools for ruby modules the + package was renamed to follow the guidelines. Formerly 'dice' is + now rubyversion-rubygem-dice-version.arch + +--- Old: dice-0.6.1.gem New: dice-0.7.2.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.ETNLQd/_old 2015-07-21 13:29:11.0 +0200 +++ /var/tmp/diff_new_pack.ETNLQd/_new 2015-07-21 13:29:11.0 +0200 @@ -17,7 +17,7 @@ Name: dice -Version:0.6.1 +Version:0.7.2 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} @@ -94,16 +94,6 @@ rm -rf vendor .bundle Gemfile Gemfile.lock -# 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}) - -' bin/%{mod_name} - # Delete devel source ( cd lib/semaphore rm -f semaphore.cpp Makefile extconf.rb ) @@ -113,6 +103,15 @@ 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}/usr/bin/dice.ruby*-%{version} + # Convert duplicate files to symlinks %fdupes -s %{buildroot} ++ dice-0.6.1.gem - dice-0.7.2.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/build_system.rb new/lib/build_system.rb --- old/lib/build_system.rb 1970-01-01 01:00:00.0 +0100 +++ new/lib/build_system.rb
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-05-27 12:53:00 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-05-18 22:28:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-05-27 12:53:02.0 +0200 @@ -1,0 +2,30 @@ +Tue May 19 21:44:50 CEST 2015 - m...@suse.de + +- Version 0.6.1 + +--- +Tue May 19 21:43:47 CEST 2015 - m...@suse.de + +- Adapt package spec, remove recipes + +--- +Tue May 19 21:37:33 CEST 2015 - m...@suse.de + +- Delete recipes + + The recipes are basically duplicates from the JeOS descriptions + provided by kiwi-templates. Now that the kiwi-templates are + prepared for dice (provides a Vagrantfile) we refer to one + central place instead of duplicating descriptions + +--- +Tue May 19 21:34:12 CEST 2015 - m...@suse.de + +- Update README + + Change default provider setup to docker. This allows to directly + refer to the kiwi-templates which contains all dice configs to + build contained. In addition using docker is much faster than + virtualbox. Thus I recommend this system + +--- Old: dice-0.5.3.gem New: dice-0.6.1.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.pp6s8p/_old 2015-05-27 12:53:02.0 +0200 +++ /var/tmp/diff_new_pack.pp6s8p/_new 2015-05-27 12:53:02.0 +0200 @@ -17,7 +17,7 @@ Name: dice -Version:0.5.3 +Version:0.6.1 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} @@ -67,7 +67,7 @@ # Install the Ruby source %gem_install \ --symlink-binaries \ - --doc-files=COPYING recipes key \ + --doc-files=COPYING key \ -f # Change to ruby gem dir ++ dice-0.5.3.gem - dice-0.6.1.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/version.rb new/lib/version.rb --- old/lib/version.rb 1970-01-01 01:00:00.0 +0100 +++ new/lib/version.rb 1970-01-01 01:00:00.0 +0100 @@ -1,3 +1,3 @@ module Dice - VERSION = 0.5.3 + VERSION = 0.6.1 end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata1970-01-01 01:00:00.0 +0100 +++ new/metadata1970-01-01 01:00:00.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: dice version: !ruby/object:Gem::Version - version: 0.5.3 + version: 0.6.1 platform: ruby authors: - SUSE autorequire: bindir: bin cert_chain: [] -date: 2015-05-17 00:00:00.0 Z +date: 2015-05-19 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah @@ -162,22 +162,6 @@ - bin/dice - completion/dice.sh - key/vagrant -- recipes/suse-13.2-JeOS/root/etc/motd -- recipes/suse-13.2-JeOS/config.xml -- recipes/suse-13.2-JeOS/config.sh -- recipes/suse-13.2-JeOS/Dicefile -- recipes/suse-SLE12-JeOS/Vagrantfile -- recipes/suse-SLE12-JeOS/root/etc/udev/rules.d/70-persistent-net.rules -- recipes/suse-SLE12-JeOS/root/etc/sysconfig/network/ifcfg-lan0 -- recipes/suse-SLE12-JeOS/root/etc/motd -- recipes/suse-SLE12-JeOS/config.xml -- recipes/suse-SLE12-JeOS/config.sh -- recipes/suse-SLE12-JeOS/Dicefile -- recipes/suse-13.1-JeOS/Vagrantfile -- recipes/suse-13.1-JeOS/root/etc/motd -- recipes/suse-13.1-JeOS/config.xml -- recipes/suse-13.1-JeOS/config.sh -- recipes/suse-13.1-JeOS/Dicefile - COPYING homepage: https://github.com/schaefi/dice/ licenses: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/recipes/suse-13.1-JeOS/Dicefile new/recipes/suse-13.1-JeOS/Dicefile --- old/recipes/suse-13.1-JeOS/Dicefile 1970-01-01 01:00:00.0 +0100 +++ new/recipes/suse-13.1-JeOS/Dicefile 1970-01-01 01:00:00.0 +0100 @@ -1,3 +0,0 @@ -Dice.configure do |config| - config.ssh_user = vagrant -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/recipes/suse-13.1-JeOS/Vagrantfile new/recipes/suse-13.1-JeOS/Vagrantfile --- old/recipes/suse-13.1-JeOS/Vagrantfile 1970-01-01 01:00:00.0 +0100 +++ new/recipes/suse-13.1-JeOS/Vagrantfile 1970-01-01 01:00:00.0 +0100 @@ -1,25 +0,0 @@ -VAGRANTFILE_API_VERSION = 2 -
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-05-18 22:28:24 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-04-12 00:10:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-05-18 22:28:26.0 +0200 @@ -1,0 +2,5 @@ +Sun May 17 21:10:22 CEST 2015 - m...@suse.de + +- Switched to gem2rpm way of creating the package + +--- New: gem2rpm.yml Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.IKJo8s/_old 2015-05-18 22:28:29.0 +0200 +++ /var/tmp/diff_new_pack.IKJo8s/_new 2015-05-18 22:28:29.0 +0200 @@ -21,45 +21,32 @@ 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: fdupes -BuildRequires: gcc-c++ -BuildRequires: ruby-devel -BuildRequires: ruby-macros = 1 -%if %suse_version == 1315 %define rb_build_versions %{rb_default_ruby} -BuildRequires: %{rubydevel} +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{rubygem abstract_method = 1.2.1} BuildRequires: %{rubygem bundler} BuildRequires: %{rubygem cheetah = 0.4.0} BuildRequires: %{rubygem gem2rpm} -BuildRequires: %{rubygem gli = 2.12} BuildRequires: %{rubygem gli = 2.11.0} BuildRequires: %{rubygem inifile = 2.0.2} BuildRequires: %{rubygem json = 1.8.0} BuildRequires: %{rubygem rice} -%else -BuildRequires: rubygem(abstract_method) = 1.2.1 -BuildRequires: rubygem(bundler) -BuildRequires: rubygem(cheetah) = 0.4.0 -BuildRequires: rubygem(gem2rpm) -BuildRequires: rubygem(gli) = 2.12 -BuildRequires: rubygem(gli) = 2.11.0 -BuildRequires: rubygem(inifile) = 2.0.2 -BuildRequires: rubygem(json) = 1.8.0 -BuildRequires: rubygem(rice) -%endif +BuildRequires: %{ruby} +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: ruby-devel +BuildRequires: ruby-macros = 5 +BuildRequires: update-alternatives + # Disable autogenerating Requires: headers for bundled gems. %define __requires_exclude ^rubygem Requires: ruby = 2.0 Requires: ruby-solv -Url:http://suse.com +Url:http://www.suse.com Source0:%{mod_full_name}.gem Source1:%{mod_name}-rpmlintrc -Summary:light weight image build system +Source2:gem2rpm.yml +Summary:Light Weight Image Build System License:GPL-3.0 Group: Development/Languages/Ruby @@ -72,35 +59,27 @@ 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 Ruby source +%gem_install \ + --symlink-binaries \ + --doc-files=COPYING recipes key \ + -f -# Install the gem itself - -%gem_install -f - +# Change to ruby gem dir 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 gli, = 2.11.0 gem abstract_method, = 1.2.1 %if %suse_version = 1310 gem json, = 1.8.0 @@ -115,8 +94,6 @@ 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 @@ -125,34 +102,21 @@ sed -i '/gem/i \ Gem.path.unshift(%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/bundle/ruby/%{rb_ver}) -' %{buildroot}%{_bindir}/%{mod_name} +' bin/%{mod_name} -# Additional files +# Delete devel source +( cd lib/semaphore rm -f semaphore.cpp Makefile extconf.rb ) +# Move bash completion 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 +mv completion/dice.sh %{buildroot}/etc/bash_completion.d -# Convert duplicate files to symlinks +popd +# Convert duplicate files to symlinks %fdupes -s %{buildroot}
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-04-12 00:10:39 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-04-10 09:52:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-04-12 00:10:47.0 +0200 @@ -1,0 +2,10 @@ +Fri Apr 10 12:17:44 CEST 2015 - m...@suse.de + +- Make sure a default provider is set for vagrant + + dice takes the value VAGRANT_DEFAULT_PROVIDER from the + environment and if not set it is set to 'docker'. the + parameter will be passed as --provider option to the + vagrant calls + +--- Other differences: -- ++ dice-0.5.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/config.rb new/lib/config.rb --- old/lib/config.rb 2015-04-08 09:10:37.0 +0200 +++ new/lib/config.rb 2015-04-10 12:38:00.0 +0200 @@ -4,6 +4,10 @@ attr_accessor :ssh_user def initialize +# default provider is docker if not specified in env +if !ENV[VAGRANT_DEFAULT_PROVIDER] + ENV[VAGRANT_DEFAULT_PROVIDER] = docker +end # default buildhost is a vagrant identification symbol # which triggers the use of vagrant @buildhost = Dice::VAGRANT_BUILD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_build_system.rb new/lib/vagrant_build_system.rb --- old/lib/vagrant_build_system.rb 2015-04-08 09:10:37.0 +0200 +++ new/lib/vagrant_build_system.rb 2015-04-10 12:38:00.0 +0200 @@ -19,7 +19,10 @@ #{self.class}: Starting up buildsystem for #{recipe.basepath}... ) begin - up_output = Command.run(vagrant, up, :stdout = :capture) + up_output = Command.run( +vagrant, up, --provider, ENV[VAGRANT_DEFAULT_PROVIDER], +:stdout = :capture + ) rescue Cheetah::ExecutionFailed = e raise Dice::Errors::VagrantUpFailed.new( Starting up virtual system failed with: #{e.stderr} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2015-04-08 09:10:37.0 +0200 +++ new/metadata2015-04-10 12:38:00.0 +0200 @@ -8,7 +8,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-04-08 00:00:00.0 Z +date: 2015-04-10 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-03-30 19:32:55 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-03-18 13:04:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-03-30 19:32:59.0 +0200 @@ -1,0 +2,89 @@ +Fri Mar 20 16:35:51 CET 2015 - m...@suse.de + +- Prevent halt() from being called multiple times + + In case of an exception the global exception handler will + call the cleanup correctly. Thus there is no need to actively + halt the buildsystem if the next call is a raise + +--- +Fri Mar 20 16:07:28 CET 2015 - m...@suse.de + +- Support dice build option --kiwiprofile + + If specified the option will hand over the value to the + contained kiwi call as --add-profile option. This fixes #6 + +--- +Wed Mar 18 16:38:27 CET 2015 - m...@suse.de + +- Update suse-13.1-JeOS recipe + + deprecated vagrant option -privileged, replaced by --privileged + +--- +Tue Mar 10 17:53:30 CET 2015 - m...@suse.de + +- Delete invalid dot graph + +--- +Tue Mar 10 10:01:57 CET 2015 - m...@suse.de + +- More robust inheritance for connection classes + + Connection sub classes should not require to call super + in order to run the constructor from the base class. It's + more robust to let the base class constructor call a post + initialize method which can be specialized in the sub class + when required + +--- +Tue Mar 10 09:57:44 CET 2015 - m...@suse.de + +- More robust inheritance for buildsystem classes + + BuildSystem sub classes should not require to call super + in order to run the constructor from the base class. It's + more robust to let the base class constructor call a post + initialize method which can be specialized in the sub class + when required + +--- +Tue Mar 10 09:35:05 CET 2015 - m...@suse.de + +- More robust inheritance for repository classes + + Repository sub classes should not require to call super + in order to run the constructor from the base class. It's + more robust to let the base class constructor call a post + initialize method which can be specialized in the sub class + when required + +--- +Mon Mar 9 17:25:16 CET 2015 - m...@suse.de + +- Update project url + +--- +Fri Mar 6 21:08:56 CET 2015 - m...@suse.de + +- Cleanup use of default values + + Use a symbol as default buildhost indicator to avoid conflicts + with buildhost names. In addition make sure that all constant + values are stored at the same place + +--- +Fri Mar 6 20:59:42 CET 2015 - m...@suse.de + +- Update README due to ssh key handling changes + +--- +Fri Mar 6 17:00:01 CET 2015 - m...@suse.de + +- config.ssh_private_key not used for vagrant builds + + Now that dice looks up the vagrant generated key there is + no need for the Dicefile to specify the ssh pkey path + +--- Other differences: -- ++ dice-0.5.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/build_system_base.rb new/lib/build_system_base.rb --- old/lib/build_system_base.rb2015-03-06 16:54:28.0 +0100 +++ new/lib/build_system_base.rb2015-03-20 16:38:28.0 +0100 @@ -15,6 +15,11 @@ recipe.change_working_dir @lock = get_lockfile @set_lock_called = false +post_initialize + end + + def post_initialize +nil end def is_building? @@ -55,7 +60,9 @@ build_options = File.open(build_options_file, rb) options = Marshal.load(build_options) build_options.close - Dice.option.kiwitype = options.kiwitype if !Dice.option.kiwitype + options.marshal_dump.each do |key, value| +Dice.option[key] = value + end rescue # ignore if no buildoptions exists end diff -urN '--exclude=CVS'
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-03-18 13:04:22 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-03-05 18:17:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-03-18 13:04:24.0 +0100 @@ -1,0 +2,10 @@ +Fri Mar 6 16:49:50 CET 2015 - m...@suse.de + +- Fixed private key handling for buildsystem access + + vagrant has changed and will create its own key pair when the + instance comes up. In order to use the right key dice look up + the location of the generated private key and uses that for + further ssh connections to the running instance + +--- Other differences: -- ++ dice-0.5.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/connection_host_build_system.rb new/lib/connection_host_build_system.rb --- old/lib/connection_host_build_system.rb 2015-03-04 12:02:37.0 +0100 +++ new/lib/connection_host_build_system.rb 2015-03-06 16:54:28.0 +0100 @@ -1,25 +1,25 @@ class ConnectionHostBuildSystem ConnectionBase - attr_reader :recipe, :ssh_user, :ssh_host, :ssh_private_key + attr_reader :recipe def initialize(recipe) super(recipe) -@recipe = recipe -@ssh_user = Dice.config.ssh_user -@ssh_host = Dice.config.buildhost -@ssh_private_key = Dice.config.ssh_private_key +@recipe = recipe end def ssh +ssh_pkey = Dice.config.ssh_private_key +ssh_user = Dice.config.ssh_user +ssh_host = Dice.config.buildhost Dice.logger.info( #{self.class}: ssh into worker for #{recipe.basepath} with \n\ url: #{ssh_user}@#{ssh_host} \n\ - key: #{ssh_private_key} + key: #{ssh_pkey} ) exec( [ ssh, -o, StrictHostKeyChecking=no, -o, NumberOfPasswordPrompts=0, --i, ssh_private_key, +-i, ssh_pkey, #{ssh_user}@#{ssh_host} ].join( ) ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/exceptions.rb new/lib/exceptions.rb --- old/lib/exceptions.rb 2015-03-04 12:02:37.0 +0100 +++ new/lib/exceptions.rb 2015-03-06 16:54:28.0 +0100 @@ -34,5 +34,6 @@ class UriStyleMatchFailed DiceError; end class UriTypeUnknown DiceError; end class MountISOFailed DiceError; end +class GetSSHPrivateKeyPathFailed DiceError; end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/host_build_system.rb new/lib/host_build_system.rb --- old/lib/host_build_system.rb2015-03-04 12:02:37.0 +0100 +++ new/lib/host_build_system.rb2015-03-06 16:54:28.0 +0100 @@ -1,12 +1,11 @@ class HostBuildSystem BuildSystemBase - attr_reader :recipe, :host, :user, :ssh_private_key, :basepath + attr_reader :recipe, :host, :user, :basepath def initialize(recipe) super(recipe) @recipe = recipe @host = Dice.config.buildhost @user = Dice.config.ssh_user -@ssh_private_key = Dice.config.ssh_private_key @basepath = @recipe.basepath end @@ -35,7 +34,7 @@ ssh_options = -o StrictHostKeyChecking=no -o NumberOfPasswordPrompts=0 provision_output = Command.run( rsync, -e, -ssh #{ssh_options} -i #{ssh_private_key}, +ssh #{ssh_options} -i #{get_private_key_path}, --rsync-path, sudo rsync, -z, -a, -v, --delete, --exclude, .*, ., #{user}@#{host}:/vagrant, :stdout = :capture @@ -57,7 +56,7 @@ ssh, -o, StrictHostKeyChecking=no, -o, NumberOfPasswordPrompts=0, --i, ssh_private_key, #{user}@#{host}, +-i, get_private_key_path, #{user}@#{host}, sudo, killall, kiwi ) rescue Cheetah::ExecutionFailed = e @@ -75,6 +74,10 @@ host end + def get_private_key_path +Dice.config.ssh_private_key + end + def is_busy? busy = true begin @@ -82,7 +85,7 @@ ssh, -o, StrictHostKeyChecking=no, -o, NumberOfPasswordPrompts=0, --i, ssh_private_key, #{user}@#{host}, +-i, get_private_key_path, #{user}@#{host}, sudo, pidof, -x, kiwi ) rescue Cheetah::ExecutionFailed = e diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/job.rb new/lib/job.rb --- old/lib/job.rb 2015-03-04 12:02:37.0 +0100
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-03-05 15:43:00 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-02-27 10:59:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-03-05 18:17:09.0 +0100 @@ -1,0 +2,21 @@ +Wed Mar 4 12:01:57 CET 2015 - m...@suse.de + +- check_404_header only for remote uri + +--- +Wed Mar 4 11:54:30 CET 2015 - m...@suse.de + +- Bumb version to 0.5.3 + +--- +Tue Mar 3 21:04:57 CET 2015 - m...@suse.de + +- Added support for rpm-dir repotype + + In addition to the support for plaindir repos, the check for + the repo type was changed to use the type value from the kiwi + config file instead of best guessing the type according to the + presence of repo metadata files. Especially for repos without + metadata like plaindirs this doesn't work well + +--- Old: dice-0.5.2.gem New: dice-0.5.3.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.9uWUNo/_old 2015-03-05 18:17:09.0 +0100 +++ /var/tmp/diff_new_pack.9uWUNo/_new 2015-03-05 18:17:09.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dice # -# 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 @@ -17,7 +17,7 @@ Name: dice -Version:0.5.2 +Version:0.5.3 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} ++ dice-0.5.2.gem - dice-0.5.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/constants.rb new/lib/constants.rb --- old/lib/constants.rb2015-02-17 17:11:00.0 +0100 +++ new/lib/constants.rb2015-03-04 12:02:37.0 +0100 @@ -21,7 +21,8 @@ HISTORY = dice.history module RepoType -RpmMd = rmp-md +RpmMd = rpm-md SUSE = yast2 +PlainDir = rpm-dir end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/dice.rb new/lib/dice.rb --- old/lib/dice.rb 2015-02-17 17:11:00.0 +0100 +++ new/lib/dice.rb 2015-03-04 12:02:37.0 +0100 @@ -48,4 +48,5 @@ require_relative repository_base require_relative repository_rpmmd require_relative repository_suse +require_relative repository_plaindir require_relative repository diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/kiwi_config.rb new/lib/kiwi_config.rb --- old/lib/kiwi_config.rb 2015-02-17 17:11:00.0 +0100 +++ new/lib/kiwi_config.rb 2015-03-04 12:02:37.0 +0100 @@ -9,9 +9,14 @@ def repos repo_uri = [] -xml.elements.each(*/repository/source) do |element| - source_path = element.attributes[path].gsub(/\?.*/,) - repo_uri KiwiUri.translate(source_path) +xml.elements.each(*/repository) do |repo| + repo_type = repo.attributes[type] + repo.elements.each(source) do |element| +source_path = element.attributes[path].gsub(/\?.*/,) +repo_uri KiwiUri.translate( + :name = source_path, :repo_type = repo_type +) + end end repo_uri end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/kiwi_uri.rb new/lib/kiwi_uri.rb --- old/lib/kiwi_uri.rb 2015-02-17 17:11:00.0 +0100 +++ new/lib/kiwi_uri.rb 2015-03-04 12:02:37.0 +0100 @@ -1,18 +1,18 @@ class KiwiUri class self -def translate(uri) +def translate(args) # normalize url types available in a kiwi configuration into # standard mime types. This also includes resolving open build # service resource locator into http addresses - case uri + case args[:name] when /^obs:\/\/(\d.*)/ # distribution URL, starting with the number e.g 13.1 -uri = http://download.opensuse.org/distribution/#{$1}/; +args[:name] = http://download.opensuse.org/distribution/#{$1}/; when /^(\/.*)/ # Simple path, should be a distribution dir -uri = dir://#{$1}/ +args[:name] = dir://#{$1}/ end
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-02-27 10:59:02 Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) Package is dice Changes: --- /work/SRC/openSUSE:Factory/dice/dice.changes2015-02-05 10:59:40.0 +0100 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-02-27 10:59:03.0 +0100 @@ -1,0 +2,61 @@ +Tue Feb 17 17:07:41 CET 2015 - m...@suse.de + +- Fixed use of dir:// uri type + + The check if the uri is a remote or local uri was missing + in the repository type checker. This lead to a wrong location + passed to the open call if the dir:// type was used + +--- +Mon Feb 16 17:35:13 CET 2015 - m...@suse.de + +- Added Uri class to control access + + Simple uri's like local paths or remote locations via http + doesn't require a pre processing. However there are more + complex uri's like the path to an iso which requires to + loop mount the device prior to use it. It's also required to + cleanup the state of such devices properly. It also makes + sense to ask an Uri class if the resource is remote or + local and maybe more useful messages can be passed to an + Uri object in the future + +--- +Fri Feb 13 16:14:32 CET 2015 - m...@suse.de + +- Increase version to v0.5.2 + +--- +Fri Feb 13 16:13:05 CET 2015 - m...@suse.de + +- Fixed use of local repositories + + In order to allow curl to load local files the + mime type file:// must be prepended + +--- +Thu Feb 12 17:00:09 CET 2015 - m...@suse.de + +- Support dir:// and just path /... uri types + +--- +Thu Feb 5 16:15:26 CET 2015 - m...@suse.de + +- Update documentation + +--- +Thu Feb 5 16:11:58 CET 2015 - m...@suse.de + +- Fixed documentation references + +--- +Thu Feb 5 16:10:23 CET 2015 - m...@suse.de + +- Documentation style fixes + +--- +Thu Feb 5 16:08:10 CET 2015 - m...@suse.de + +- Update documentation + +--- Old: dice-0.5.0.gem New: dice-0.5.2.gem Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.wNjE62/_old 2015-02-27 10:59:04.0 +0100 +++ /var/tmp/diff_new_pack.wNjE62/_new 2015-02-27 10:59:04.0 +0100 @@ -1,6 +1,7 @@ +# # spec file for package dice # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -13,8 +14,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: dice -Version:0.5.0 +Version:0.5.2 Release:0 %define mod_name dice %define mod_full_name %{mod_name}-%{version} @@ -22,32 +25,32 @@ %define mod_weight 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 1 BuildRequires: fdupes -BuildRequires: ruby-devel BuildRequires: gcc-c++ +BuildRequires: ruby-devel +BuildRequires: ruby-macros = 1 %if %suse_version == 1315 %define rb_build_versions %{rb_default_ruby} BuildRequires: %{rubydevel} -BuildRequires: %{rubygem rice} -BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem abstract_method = 1.2.1} BuildRequires: %{rubygem bundler} BuildRequires: %{rubygem cheetah = 0.4.0} -BuildRequires: %{rubygem gli = 2.11.0} +BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem gli = 2.12} -BuildRequires: %{rubygem abstract_method = 1.2.1} -BuildRequires: %{rubygem json = 1.8.0} +BuildRequires: %{rubygem gli = 2.11.0} BuildRequires: %{rubygem inifile = 2.0.2} +BuildRequires: %{rubygem json = 1.8.0} +BuildRequires: %{rubygem rice} %else -BuildRequires: rubygem(gem2rpm) +BuildRequires: rubygem(abstract_method) = 1.2.1 BuildRequires: rubygem(bundler) -BuildRequires: rubygem(rice) BuildRequires: rubygem(cheetah) = 0.4.0 -BuildRequires: rubygem(gli) = 2.11.0 +BuildRequires: rubygem(gem2rpm) BuildRequires: rubygem(gli) = 2.12 -BuildRequires: rubygem(abstract_method) = 1.2.1 -BuildRequires: rubygem(json)
commit dice for openSUSE:Factory
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.0 +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. +
commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at Mon Jun 20 16:02:45 CEST 2011. --- GNOME/dice/dice.changes 2011-02-13 17:21:42.0 +0100 +++ /mounts/work_src_done/STABLE/dice/dice.changes 2011-06-20 09:51:39.0 +0200 @@ -1,0 +2,11 @@ +Wed Jun 15 13:00:00 UTC 2011 - dims...@opensuse.org + +- Add dice-newmono.patch: Newer mono versions do no longer + autoincrement the AssemblyVersion. We set it to 1.0.0.0, which + was what would be the logical result anyway, considering there is + no starting point to count from. +- Fix the files section for gnome3. +- Add pkg-config BuildRequires. +- Clean .spec using spec-cleaner. + +--- calling whatdependson for head-i586 New: dice-newmono.patch Other differences: -- ++ dice.spec ++ --- /var/tmp/diff_new_pack.GjwR4n/_old 2011-06-20 16:01:38.0 +0200 +++ /var/tmp/diff_new_pack.GjwR4n/_new 2011-06-20 16:01:38.0 +0200 @@ -20,32 +20,43 @@ Name: dice Version:0.1.9 -Release:14 +Release:19 License:GPLv2+ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: bison flex gcc-c++ -BuildRequires: dbus-1-devel gnome-common gnome-sharp2 gnome-vfs2-devel -BuildRequires: gconf-sharp2 gnome-vfs-sharp2 intltool mono-devel -BuildRequires: ndesk-dbus -BuildRequires: ndesk-dbus-glib-devel +Summary:Desktop integration with Novell's Teaming and Microsoft's Sharepoint servers +Group: Productivity/Office/Other +Source: %{name}-%{version}.tar.bz2 +Source1:Db4objects.Db4o.dll +# PATCH-FIX-UPSTREAM dice-newmono.patch dims...@opensuse.org -- Newer mono do not like to autoincrement AssemblyVersions. +Patch0: dice-newmono.patch +BuildRequires: bison BuildRequires: coreutils -BuildRequires: notify-sharp +BuildRequires: dbus-1-devel +BuildRequires: evolution-sharp +BuildRequires: flex +BuildRequires: gcc-c++ +BuildRequires: gconf-sharp2 +BuildRequires: gnome-common +BuildRequires: gnome-sharp2 +BuildRequires: gnome-vfs-sharp2 +BuildRequires: gnome-vfs2-devel +BuildRequires: intltool +BuildRequires: libglade2-devel BuildRequires: libgnome-keyring-devel +BuildRequires: mono-devel BuildRequires: nautilus-devel +BuildRequires: ndesk-dbus +BuildRequires: ndesk-dbus-glib-devel +BuildRequires: notify-sharp BuildRequires: openssl-devel -BuildRequires: evolution-sharp -BuildRequires: libglade2-devel +BuildRequires: pkg-config BuildRequires: update-desktop-files -Source: %{name}-%{version}.tar.bz2 -Source1:Db4objects.Db4o.dll -Group: Productivity/Office/Other -Summary:Desktop integration with Novell's Teaming and Microsoft's Sharepoint servers Requires: dbus-1-glib = %{dbus_min_version} Requires: dbus-1-x11 = %{dbus_min_version} +Requires: evolution-sharp Requires: ndesk-dbus Requires: ndesk-dbus-glib Requires: openssl -Requires: evolution-sharp +BuildRoot: %{_tmppath}/%{name}-%{version}-build %define prefix /usr %description @@ -56,9 +67,9 @@ %package devel License:GPLv2+ -Group: Development/Libraries/Other Summary:Desktop integration with Novell's Teaming and Microsoft's Sharepoint servers -Requires: %{name} = %{version}-%{release} +Group: Development/Libraries/Other +Requires: %{name} = %{version} %description devel Desktop integration with popular web based collaboration environments @@ -80,19 +91,20 @@ %prep %setup -q +%patch0 -p1 %build -export CFLAGS=%optflags -fno-strict-aliasing +export CFLAGS=%{optflags} -fno-strict-aliasing %configure --disable-static --with-pic %{__make} %install -make DESTDIR=$RPM_BUILD_ROOT install -cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/dice -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print +%makeinstall +cp %{SOURCE1} %{buildroot}%{_libdir}/dice/ +find %{buildroot} -name '*.la' -type f -delete -print %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post %desktop_database_post @@ -122,7 +134,7 @@ %{_libdir}/dice/Solvent.dll %{_libdir}/dice/Db4objects.Db4o.dll %{_libdir}/dice/libicews.so -%{_libdir}/nautilus/extensions-2.0/*.so +%{_libdir}/nautilus/extensions-[23].0/*.so %{_datadir}/dice/ %{_datadir}/dbus-1/services/ %{_bindir}/dice-manager ++ dice-newmono.patch ++ Index: dice-0.1.9/DiceManager/AssemblyInfo.cs === --- dice-0.1.9.orig/DiceManager/AssemblyInfo.cs +++ dice-0.1.9/DiceManager/AssemblyInfo.cs @@ -21,7 +21,7 @@ using System.Runtime.CompilerServices; // The assembly version has the format {Major}.{Minor}.{Build}.{Revision}. // If the build and revision are set to '*' they will be updated