-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add AutoYaST error reporting (#1476)
## Problem Autoyast conversion script can try to open ui for reporting errors or ask questions. ## Solution Monkey patch it to use agama question mechanism. This change tries to cover the most common cases. It also needs to implement generic Question with Password react component. And last but not least during manual testing few issues are revealed and fixed. Also as part of change listing of all question was fixed to really show only unanswered ones and optimize it to use ObjectManager methods. ## Testing For testing CLI for asking this command is used: ```sh agama questions ask < data.json ``` For testing autoyast questions it uses encrypted autoyast profile that ask for password and also report issue when password is wrong: ```sh agama profile autoyast ftp://pong.suse.cz/autoinst_enc.xml ```
- Loading branch information
Showing
29 changed files
with
395 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Agama YaST | ||
|
||
According to [Agama's architecture](../doc/architecture.md) this project implements the following components: | ||
|
||
* The *Agama YaST*, the layer build on top of YaST functionality. | ||
|
||
## Testing Changes | ||
|
||
The easiest way to test changes done to Ruby code on Agama live media is to build | ||
the gem with modified sources with `gem build agama-yast`. Then copy the resulting file | ||
to Agama live image. Then run this sequence of commands: | ||
|
||
```sh | ||
# ensure that only modified sources are installed | ||
gem uninstall agama-yast | ||
# install modified sources including proper binary names | ||
gem install --no-doc --no-format-executable <path to gem> | ||
``` | ||
|
||
If the changes modify the D-Bus part, then restart related D-Bus services. | ||
|
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Oops, something went wrong.