Skip to content

Commit

Permalink
drop dns server API that should never belond to yast2 as it imports m…
Browse files Browse the repository at this point in the history
…odule from yast2-dns-server(bsc#1205363)
  • Loading branch information
jreidinger committed Feb 8, 2023
1 parent 7202cd8 commit 219c103
Showing 1 changed file with 0 additions and 2,778 deletions.

2 comments on commit 219c103

@shundhammer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the build for yast-dns-server in SLE-15-SP5.

https://build.suse.de/package/live_build_log/Devel:YaST:Head/yast2-dns-server/SUSE_SLE-15-SP5_GA/x86_64

[sh @ balrog] ...yast/yast-dns-server/test 24 % rake test:unit 
(in /work/src/yast/yast-dns-server)
rspec --color --format doc 'test/dns_server_ui_test.rb' 'test/main_test.rb' 'test/service_widget_helpers_test.rb' 'test/dns_server_cmdline_test.rb' 'test/dns_server_test.rb' 'test/etc_named_parsing_test.rb' 'test/masterzone_test.rb'
Traceback (most recent call last):
	20: from /usr/bin/rspec:23:in `<main>'
	19: from /usr/bin/rspec:23:in `load'
	18: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<top (required)>'
	17: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
	16: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
	15: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
	14: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
	13: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
	12: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
	11: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
	10: from /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
	 9: from /work/src/yast/yast-dns-server/test/dns_server_ui_test.rb:5:in `<top (required)>'
	 8: from /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import'
	 7: from /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import_pure'
	 6: from /work/src/yast/yast-dns-server/src/modules/DnsServerUI.rb:14:in `<top (required)>'
	 5: from /work/src/yast/yast-dns-server/src/modules/DnsServerUI.rb:110:in `<module:Yast>'
	 4: from /work/src/yast/yast-dns-server/src/modules/DnsServerUI.rb:68:in `main'
	 3: from /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:159:in `include'
	 2: from /work/src/yast/yast-dns-server/src/include/dns-server/dialog-main.rb:39:in `initialize_dns_server_dialog_main'
	 1: from /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import_pure': Failed to load Module 'DnsServerUI' due to: component cannot import namespace 'DnsServerAPI' (RuntimeError)
rake aborted!
Command failed with status (1): [rspec --color --format doc 'test/dns_serve...]

Tasks: TOP => test:unit
(See full trace by running task with --trace)

@shundhammer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.