[yast/yast-registration] a2ed34: add initial code for products defined in YAML
Branch: refs/heads/SLE-15-SP4 Home: https://github.com/yast/yast-registration Commit: a2ed34d38943e1a69ca126201948c105c221e8a9 https://github.com/yast/yast-registration/commit/a2ed34d38943e1a69ca12620194... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-11 (Tue, 11 Oct 2022) Changed paths: M src/lib/registration/sw_mgmt.rb A src/lib/registration/yaml_product.rb Log Message: ----------- add initial code for products defined in YAML Commit: 0c1d45d8d74cc60b0c24d21a8e08b1b3328b7a12 https://github.com/yast/yast-registration/commit/0c1d45d8d74cc60b0c24d21a8e0... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-11 (Tue, 11 Oct 2022) Changed paths: M src/lib/registration/yaml_product.rb Log Message: ----------- fix typo Commit: d859d9e3f8134ce503a41bbc4efa6505ac44d409 https://github.com/yast/yast-registration/commit/d859d9e3f8134ce503a41bbc4ef... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-11 (Tue, 11 Oct 2022) Changed paths: M src/lib/registration/yaml_product.rb Log Message: ----------- fix passing version Commit: 840f851a3d736f5e2b05f54c40a63c6df2e29f21 https://github.com/yast/yast-registration/commit/840f851a3d736f5e2b05f54c40a... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/lib/registration/sw_mgmt.rb Log Message: ----------- Use SLED15-SP4 for the FAKE_BASE_PRODUCT This is useful because Registration::YamlProduct is not working yet. Once it works, this commit can be dropped. Commit: 27ff108368d1bf169430452c0bb81c31df6adc11 https://github.com/yast/yast-registration/commit/27ff108368d1bf169430452c0bb... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: A test/fixtures/wsl_products.yml Log Message: ----------- A testing wsl_products.yml TODO: fix the naming, everywhere in this branch Also compare with other YAML fixtures in this directory. Add comments about schema, YAML allows comments. On the testing machine: ```sh sudo ln -s /home/linux/svn/yast/registration/test/fixtures/wsl_products.yml /etc/YaST2/products.yaml irb -I src/lib -r registration/sw_mgmt ``` ```rb Registration::SwMgmt.find_base_product ``` Commit: 8c9947ca8a5c4ec66d31acfca9c9a9946bb010de https://github.com/yast/yast-registration/commit/8c9947ca8a5c4ec66d31acfca9c... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/lib/registration/yaml_product.rb Log Message: ----------- available_products: Expand $arch in the data Commit: 04e3f62e5c8e75db4a81ac9199b7961a35efa002 https://github.com/yast/yast-registration/commit/04e3f62e5c8e75db4a81ac9199b... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/lib/registration/yaml_product.rb Log Message: ----------- selected_product is just a class level attr_accessor Commit: 44d43e9336da52f6f232307131221838df62818a https://github.com/yast/yast-registration/commit/44d43e9336da52f6f2323071312... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-13 (Thu, 13 Oct 2022) Changed paths: M src/lib/registration/yaml_product.rb Log Message: ----------- add more real code Commit: c706a1b89a262df204fc23e199fe466bb18a0ff6 https://github.com/yast/yast-registration/commit/c706a1b89a262df204fc23e199f... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-13 (Thu, 13 Oct 2022) Changed paths: M src/lib/registration/sw_mgmt.rb R src/lib/registration/yaml_product.rb A src/lib/registration/yaml_products_reader.rb Log Message: ----------- Add reader Commit: 8aebe833fa0ccd3491e0aa39dc95c26e1e3d7bae https://github.com/yast/yast-registration/commit/8aebe833fa0ccd3491e0aa39dc9... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-13 (Thu, 13 Oct 2022) Changed paths: M src/lib/registration/storage.rb M src/lib/registration/sw_mgmt.rb Log Message: ----------- WIP Commit: 5a673947fcbabad0e6d2090b690f99f1e7e323ab https://github.com/yast/yast-registration/commit/5a673947fcbabad0e6d2090b690... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-14 (Fri, 14 Oct 2022) Changed paths: M src/lib/registration/sw_mgmt.rb M src/lib/registration/ui/base_system_registration_dialog.rb Log Message: ----------- Do not skip Commit: f0cadb4a97e2a1a0c48191ed687f703e9f80bf12 https://github.com/yast/yast-registration/commit/f0cadb4a97e2a1a0c48191ed687... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-14 (Fri, 14 Oct 2022) Changed paths: M src/lib/registration/storage.rb M src/lib/registration/sw_mgmt.rb M src/lib/registration/ui/base_system_registration_dialog.rb Log Message: ----------- Allow force registration Commit: 644ed32c3bbefdf6bfd59b7312272dfaf5d4b2d4 https://github.com/yast/yast-registration/commit/644ed32c3bbefdf6bfd59b73122... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-14 (Fri, 14 Oct 2022) Changed paths: M src/lib/registration/storage.rb M src/lib/registration/sw_mgmt.rb Log Message: ----------- Storage yaml product Commit: 374737b8e24e682cb36189af30b6cfde6350dd4e https://github.com/yast/yast-registration/commit/374737b8e24e682cb36189af30b... Author: José Iván López <jlopez@suse.com> Date: 2022-10-14 (Fri, 14 Oct 2022) Changed paths: M src/lib/registration/yaml_products_reader.rb Log Message: ----------- Use rpm_arch Co-authored-by: Ladislav Slezák <lslezak@suse.cz> Commit: 25d61c726d0503fd8288b71e52e3a7981bc553d0 https://github.com/yast/yast-registration/commit/25d61c726d0503fd8288b71e52e... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M src/lib/registration/yaml_products_reader.rb M test/fixtures/wsl_products.yml Log Message: ----------- simplify yaml file Commit: a3c1ae9d4dfe2fc3ce5beedde5530d0af9b2a151 https://github.com/yast/yast-registration/commit/a3c1ae9d4dfe2fc3ce5beedde55... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M test/fixtures/wsl_products.yml Log Message: ----------- add missing default Commit: a681754b9a2f8839ade400257a06d13c06e9e4d7 https://github.com/yast/yast-registration/commit/a681754b9a2f8839ade400257a0... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M test/fixtures/wsl_products.yml A test/registration/yaml_products_reader_test.rb Log Message: ----------- add quotes and tests Commit: 3b82148ec2149fb398bf9e64511048ff467a810a https://github.com/yast/yast-registration/commit/3b82148ec2149fb398bf9e64511... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M test/sw_mgmt_spec.rb Log Message: ----------- Add unit tests Commit: 8c53ac2c869ae6f3edb56a8e2b65618c3a43e262 https://github.com/yast/yast-registration/commit/8c53ac2c869ae6f3edb56a8e2b6... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M src/lib/registration/yaml_products_reader.rb Log Message: ----------- Rubocop and license Commit: 691425deba963d6259f1a28ed75b1c9408552d14 https://github.com/yast/yast-registration/commit/691425deba963d6259f1a28ed75... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M package/yast2-registration.changes M package/yast2-registration.spec Log Message: ----------- Changelog and version Commit: 222b051699e504b3b3bd8f34826b0b4048bd11e3 https://github.com/yast/yast-registration/commit/222b051699e504b3b3bd8f34826... Author: José Iván López González <jlopez@suse.com> Date: 2022-10-20 (Thu, 20 Oct 2022) Changed paths: M src/lib/registration/yaml_products_reader.rb M test/registration/yaml_products_reader_test.rb Log Message: ----------- Convert default to boolean Commit: 5fc95373082387ab907974e538eb87303258d54b https://github.com/yast/yast-registration/commit/5fc95373082387ab907974e538e... Author: José Iván López <jlopez@suse.com> Date: 2022-10-20 (Thu, 20 Oct 2022) Changed paths: M src/lib/registration/yaml_products_reader.rb M test/fixtures/wsl_products.yml Log Message: ----------- Use casecmp? Co-authored-by: Josef Reidinger <jreidinger@suse.cz> Commit: 428c0c07ef4b0e76b531b272232d4bddb78651fd https://github.com/yast/yast-registration/commit/428c0c07ef4b0e76b531b272232... Author: José Iván López <jlopez@suse.com> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M package/yast2-registration.changes M package/yast2-registration.spec M src/lib/registration/storage.rb M src/lib/registration/sw_mgmt.rb M src/lib/registration/ui/base_system_registration_dialog.rb A src/lib/registration/yaml_products_reader.rb A test/fixtures/wsl_products.yml A test/registration/yaml_products_reader_test.rb M test/sw_mgmt_spec.rb Log Message: ----------- Merge pull request #581 from yast/wsl_product_selection YAML products reader Compare: https://github.com/yast/yast-registration/compare/77f0079cf089...428c0c07ef4...
participants (1)
-
José Iván López