Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-agama-yast for openSUSE:Factory checked in at 2026-05-14 21:42:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-agama-yast (Old) and /work/SRC/openSUSE:Factory/.rubygem-agama-yast.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-agama-yast" Thu May 14 21:42:11 2026 rev:43 rq:1353022 version:20.devel384.151dec0bb Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-agama-yast/rubygem-agama-yast.changes 2026-05-07 15:44:03.916888734 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-agama-yast.new.1966/rubygem-agama-yast.changes 2026-05-14 21:42:48.682241431 +0200 @@ -1,0 +2,6 @@ +Thu May 7 12:11:45 UTC 2026 - Imobach Gonzalez Sosa <[email protected]> + +- Import the ntp-client section from a AutoYaST profiles + (jsc#PED-15144). + +------------------------------------------------------------------- Old: ---- agama-yast-20.devel269.73cf33d8f.gem New: ---- agama-yast-20.devel384.151dec0bb.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ agama-yast.spec ++++++ --- /var/tmp/diff_new_pack.rJ8OSd/_old 2026-05-14 21:42:49.418271623 +0200 +++ /var/tmp/diff_new_pack.rJ8OSd/_new 2026-05-14 21:42:49.418271623 +0200 @@ -17,7 +17,7 @@ Name: agama-yast -Version: 20.devel269.73cf33d8f +Version: 20.devel384.151dec0bb Release: 0 %define mod_name agama-yast %define mod_full_name %{mod_name}-%{version} ++++++ rubygem-agama-yast.spec ++++++ --- /var/tmp/diff_new_pack.rJ8OSd/_old 2026-05-14 21:42:49.466273592 +0200 +++ /var/tmp/diff_new_pack.rJ8OSd/_new 2026-05-14 21:42:49.466273592 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-agama-yast -Version: 20.devel269.73cf33d8f +Version: 20.devel384.151dec0bb Release: 0 %define mod_name agama-yast %define mod_full_name %{mod_name}-%{version} ++++++ agama-yast-20.devel269.73cf33d8f.gem -> agama-yast-20.devel384.151dec0bb.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/agama/autoyast/converter.rb new/lib/agama/autoyast/converter.rb --- old/lib/agama/autoyast/converter.rb 1980-01-02 01:00:00.000000000 +0100 +++ new/lib/agama/autoyast/converter.rb 1980-01-02 01:00:00.000000000 +0100 @@ -26,6 +26,7 @@ require "agama/autoyast/iscsi_reader" require "agama/autoyast/localization_reader" require "agama/autoyast/network_reader" +require "agama/autoyast/ntp_client_reader" require "agama/autoyast/product_reader" require "agama/autoyast/root_reader" require "agama/autoyast/scripts_reader" @@ -56,6 +57,7 @@ HostnameReader.new(profile).read, IscsiReader.new(profile).read, LocalizationReader.new(profile).read, + NtpClientReader.new(profile).read, NetworkReader.new(profile).read, ProductReader.new(profile).read, RootReader.new(profile).read, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/agama/autoyast/ntp_client_reader.rb new/lib/agama/autoyast/ntp_client_reader.rb --- old/lib/agama/autoyast/ntp_client_reader.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/agama/autoyast/ntp_client_reader.rb 1980-01-02 01:00:00.000000000 +0100 @@ -0,0 +1,52 @@ +# frozen_string_literal: true + +# Copyright (c) [2026] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +module Agama + module AutoYaST + # Builds the Agama "ntp" section from an AutoYaST profile + class NtpClientReader + # @param profile [ProfileHash] AutoYaST profile + def initialize(profile) + @profile = profile + end + + # @return [Hash] Agama "ntp" section. + def read + ntp = {} + section = profile.fetch_as_hash("ntp-client") + servers = section.fetch_as_array("ntp_servers") + if !servers.empty? + ntp["sources"] = servers.map do |s| + s.merge("type" => "pool") + end + end + + return {} if ntp.empty? + + { "ntp" => ntp } + end + + private + + attr_reader :profile + end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/agama/http/clients/main.rb new/lib/agama/http/clients/main.rb --- old/lib/agama/http/clients/main.rb 1980-01-02 01:00:00.000000000 +0100 +++ new/lib/agama/http/clients/main.rb 1980-01-02 01:00:00.000000000 +0100 @@ -27,7 +27,7 @@ # HTTP client to interact with the HTTP API. class Main < Base def install - post("v2/action", '"install"') + post("action", '"install"') end # Sets a list of resolvables for installation. @@ -39,7 +39,7 @@ data = resolvables.map do |name| { "name" => name, "type" => type.to_s } end - put("v2/private/resolvables/#{unique_id}", data) + put("private/resolvables/#{unique_id}", data) end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/agama/http/clients/questions.rb new/lib/agama/http/clients/questions.rb --- old/lib/agama/http/clients/questions.rb 1980-01-02 01:00:00.000000000 +0100 +++ new/lib/agama/http/clients/questions.rb 1980-01-02 01:00:00.000000000 +0100 @@ -34,12 +34,12 @@ # @param question [Agama::Question] # @return [Question, nil] created question or nil if the request failed def add(question) - response = post("v2/questions", question.to_api) + response = post("questions", question.to_api) response ? Question.from_api(JSON.parse(response.body)) : nil end def questions - JSON.parse(get("v2/questions")).map { |q| Question.from_api(q) } + JSON.parse(get("questions")).map { |q| Question.from_api(q) } end # Deletes the given question @@ -48,7 +48,7 @@ # @return [void] def delete(id) payload = { "delete" => { "id" => id } } - patch("v2/questions", payload) + patch("questions", payload) end # Waits until specified question is answered diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 1980-01-02 01:00:00.000000000 +0100 +++ new/metadata 1980-01-02 01:00:00.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: agama-yast version: !ruby/object:Gem::Version - version: 20.devel269.73cf33d8f + version: 20.devel384.151dec0bb platform: ruby authors: - YaST Team @@ -291,6 +291,7 @@ - lib/agama/autoyast/iscsi_reader.rb - lib/agama/autoyast/localization_reader.rb - lib/agama/autoyast/network_reader.rb +- lib/agama/autoyast/ntp_client_reader.rb - lib/agama/autoyast/pre_script.rb - lib/agama/autoyast/product_reader.rb - lib/agama/autoyast/profile_checker.rb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/share/autoyast-compat.json new/share/autoyast-compat.json --- old/share/autoyast-compat.json 1980-01-02 01:00:00.000000000 +0100 +++ new/share/autoyast-compat.json 1980-01-02 01:00:00.000000000 +0100 @@ -550,7 +550,21 @@ { "key": "nfs_server", "support": "no" }, { "key": "nis", "support": "no" }, { "key": "nis_server", "support": "no" }, - { "key": "ntp-client", "support": "no" }, + { + "key": "ntp-client", + "children": [ + { "key": "ntp_policy", "support": "no" }, + { "key": "ntp_servers[]", + "notes": "All servers are considered of type 'pool'", + "children": [ + { "key": "address", "support": "yes" }, + { "key": "iburst", "support": "yes" }, + { "key": "offline", "support": "yes" } + ] + }, + { "key": "ntp_sync", "support": "no" } + ] + }, { "key": "printer", "support": "no" }, { "key": "proxy", ++++++ po.tar.bz2 ++++++ ++++ 3354 lines of diff (skipped)
