commit autoyast2 for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2013-11-15 16:56:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "autoyast2" Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2013-10-20 10:49:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2013-11-15 16:56:02.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Nov 8 15:14:37 UTC 2013 - vmoravec@suse.com + +- replace yast2-runlevel dependency with yast2-services-manager + FATE#312568 + +------------------------------------------------------------------- Old: ---- autoyast2-3.1.0.tar.bz2 New: ---- autoyast2-3.1.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.nQOqId/_old 2013-11-15 16:56:03.000000000 +0100 +++ /var/tmp/diff_new_pack.nQOqId/_new 2013-11-15 16:56:03.000000000 +0100 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.0 +Version: 3.1.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -83,7 +83,7 @@ Requires: yast2-country Requires: yast2-ncurses Requires: yast2-packager -Requires: yast2-runlevel +Requires: yast2-services-manager Requires: yast2-slp Requires: yast2-storage Requires: yast2-transfer >= 2.21.0 ++++++ autoyast2-3.1.0.tar.bz2 -> autoyast2-3.1.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/CONTRIBUTING.md new/autoyast2-3.1.1/CONTRIBUTING.md --- old/autoyast2-3.1.0/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 +++ new/autoyast2-3.1.1/CONTRIBUTING.md 2013-11-13 13:49:56.000000000 +0100 @@ -0,0 +1,87 @@ +YaST Contribution Guidelines +============================ + +YaST is an open source project and as such it welcomes all kinds of +contributions. If you decide to contribute, please follow these guidelines to +ensure the process is effective and pleasant both for you and YaST maintainers. + +There are two main forms of contribution: reporting bugs and performing code +changes. + +Bug Reports +----------- + +If you find a problem, please report it either using +[Bugzilla](https://bugzilla.novell.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=YaST2) +or [GitHub issues](../../issues). (For Bugzilla, use the [simplified +registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp) +if you don't have an account yet.) + +If you find a problem, please report it either using +[Bugzilla](https://bugzilla.novell.com/) or GitHub issues. We can't guarantee +that every bug will be fixed, but we'll try. + +When creating a bug report, please follow our [bug reporting +guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug). + +Code Changes +------------ + +We welcome all kinds of code contributions, from simple bug fixes to significant +refactorings and implementation of new features. However, before making any +non-trivial contribution, get in touch with us first — this can prevent wasted +effort on both sides. Also, have a look at our [development +documentation](http://en.opensuse.org/openSUSE:YaST_development). + +To send us your code change, use GitHub pull requests. The workflow is as +follows: + + 1. Fork the project. + + 2. Create a topic branch based on `master`. + + 3. Implement your change, including tests (if possible). Make sure you adhere + to the [Ruby style + guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md). + + 4. Make sure your change didn't break anything by building the RPM package + (`rake osc:build`). The build process includes running the full testsuite. + + 5. Publish the branch and create a pull request. + + 6. YaST developers will review your change and possibly point out issues. + Adapt the code under their guidance until they are all resolved. + + 7. Finally, the pull request will get merged or rejected. + +See also [GitHub's guide on +contributing](https://help.github.com/articles/fork-a-repo). + +If you want to do multiple unrelated changes, use separate branches and pull +requests. + +Do not change the `VERSION` and `*.changes` files as this could lead to +conflicts. + +### Commits + +Each commit in the pull request should do only one thing, which is clearly +described by its commit message. Especially avoid mixing formatting changes and +functional changes into one commit. When writing commit messages, adhere to +[widely used +conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). + +If your commit is related to a bug in Buzgilla or an issue on GitHub, make sure +you mention it in the commit message for cross-reference. Use format like +bnc#775814 or gh#yast/yast-foo#42. See also [GitHub +autolinking](https://help.github.com/articles/github-flavored-markdown#references) +and [openSUSE abbreviation +reference](http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_...). + +Additional Information +---------------------- + +If you have any question, feel free to ask at the [development mailing +list](http://lists.opensuse.org/yast-devel/) or at the +[#yast](http://webchat.freenode.net/?channels=%23yast) IRC channel on freenode. +We'll do our best to provide a timely and accurate answer. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/VERSION new/autoyast2-3.1.1/VERSION --- old/autoyast2-3.1.0/VERSION 2013-10-17 15:40:02.000000000 +0200 +++ new/autoyast2-3.1.1/VERSION 2013-11-13 13:49:56.000000000 +0100 @@ -1 +1 @@ -3.1.0 +3.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/package/autoyast2.changes new/autoyast2-3.1.1/package/autoyast2.changes --- old/autoyast2-3.1.0/package/autoyast2.changes 2013-10-17 15:40:02.000000000 +0200 +++ new/autoyast2-3.1.1/package/autoyast2.changes 2013-11-13 13:49:56.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Nov 8 15:14:37 UTC 2013 - vmoravec@suse.com + +- replace yast2-runlevel dependency with yast2-services-manager + FATE#312568 + +------------------------------------------------------------------- Thu Oct 17 15:42:08 CEST 2013 - fehr@suse.de - fix exception during rules processing (bnc#846203) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/package/autoyast2.spec new/autoyast2-3.1.1/package/autoyast2.spec --- old/autoyast2-3.1.0/package/autoyast2.spec 2013-10-17 15:40:02.000000000 +0200 +++ new/autoyast2-3.1.1/package/autoyast2.spec 2013-11-13 13:49:56.000000000 +0100 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.0 +Version: 3.1.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -73,7 +73,7 @@ # After API cleanup Requires: yast2-update >= 2.18.3 Requires: yast2-xml yast2-core yast2 yast2-country yast2-packager yast2-storage yast2-slp yast2-bootloader yast2-ncurses -Requires: yast2-runlevel +Requires: yast2-services-manager Requires: yast2-transfer >= 2.21.0 Provides: yast2-trans-autoinst Obsoletes: yast2-trans-autoinst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/src/clients/inst_autosetup.rb new/autoyast2-3.1.1/src/clients/inst_autosetup.rb --- old/autoyast2-3.1.0/src/clients/inst_autosetup.rb 2013-10-17 15:40:02.000000000 +0200 +++ new/autoyast2-3.1.1/src/clients/inst_autosetup.rb 2013-11-13 13:49:56.000000000 +0100 @@ -8,13 +8,17 @@ # # $Id$ module Yast + import "AutoinstConfig" + class InstAutosetupClient < Client + + Target = AutoinstConfigClass::Target + def main Yast.import "Pkg" Yast.import "UI" textdomain "autoinst" - Yast.import "AutoinstConfig" Yast.import "AutoInstall" Yast.import "Installation" Yast.import "Profile" @@ -27,7 +31,6 @@ Yast.import "Bootloader" Yast.import "BootCommon" Yast.import "Popup" - Yast.import "RunlevelEd" Yast.import "Arch" Yast.import "AutoinstLVM" Yast.import "AutoinstRAID" @@ -53,7 +56,7 @@ _("Create partition plans"), _("Configure Software selections"), _("Configure Bootloader"), - _("Configure runlevel") + _("Configure Systemd Default Target") ] @progress_descriptions = [ @@ -63,7 +66,7 @@ _("Creating partition plans..."), _("Configuring Software selections..."), _("Configuring Bootloader..."), - _("Configuring runlevel...") + _("Configuring Systemd Default Target...") ] Progress.New( @@ -320,18 +323,17 @@ LanUdevAuto.Import(Ops.get_map(Profile.current, "networking", {})) Progress.NextStage - @rl = Ops.get_string(Profile.current, ["runlevel", "default"], "") - Builtins.y2milestone("autoyast - configured runlevel: %1", @rl) - if @rl != "" - RunlevelEd.default_runlevel = @rl + @default_target = Profile.current['default_target'].to_s + Builtins.y2milestone("autoyast - configured default target: #{default_target}") + if !@default_target.empty? + SystemdTarget.default_target = @default_target else - RunlevelEd.default_runlevel = Installation.x11_setup_needed && + SystemdTarget.default_target = Installation.x11_setup_needed && Arch.x11_setup_needed && - Pkg.IsSelected("xorg-x11-server") ? "5" : "3" + Pkg.IsSelected("xorg-x11-server") ? Target::GRAPHICAL : Target::MULTIUSER end Builtins.y2milestone( - "autoyast - setting runlevel to: %1", - RunlevelEd.default_runlevel + "autoyast - setting default target to: #{SystemdTarget.default_target}" ) # AutoInstall::PXELocalBoot(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/src/clients/inst_autosetup_upgrade.rb new/autoyast2-3.1.1/src/clients/inst_autosetup_upgrade.rb --- old/autoyast2-3.1.0/src/clients/inst_autosetup_upgrade.rb 2013-10-17 15:40:02.000000000 +0200 +++ new/autoyast2-3.1.1/src/clients/inst_autosetup_upgrade.rb 2013-11-13 13:49:56.000000000 +0100 @@ -27,7 +27,6 @@ Yast.import "Bootloader" Yast.import "BootCommon" Yast.import "Popup" - Yast.import "RunlevelEd" Yast.import "Arch" Yast.import "AutoinstLVM" Yast.import "AutoinstRAID" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.0/src/modules/AutoinstConfig.rb new/autoyast2-3.1.1/src/modules/AutoinstConfig.rb --- old/autoyast2-3.1.0/src/modules/AutoinstConfig.rb 2013-10-17 15:40:02.000000000 +0200 +++ new/autoyast2-3.1.1/src/modules/AutoinstConfig.rb 2013-11-13 13:49:56.000000000 +0100 @@ -9,7 +9,14 @@ require "yast" module Yast + import "SystemdTarget" + class AutoinstConfigClass < Module + + module Target + include SystemdTargetClass::BaseTargets + end + def main Yast.import "UI" textdomain "autoinst" @@ -131,9 +138,9 @@ # - # Default runlevel + # Default systemd target # - @default_rl = "5" + @default_target = Target::GRAPHICAL # @@ -488,7 +495,7 @@ publish :variable => :port, :type => "string" publish :variable => :user, :type => "string" publish :variable => :pass, :type => "string" - publish :variable => :default_rl, :type => "string" + publish :variable => :default_target, :type => "string" publish :variable => :Confirm, :type => "boolean" publish :variable => :OriginalURI, :type => "string" publish :variable => :message, :type => "string" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de