YaST/Development/Devtools/gen logic deps nodes
From openSUSE
< YaST | Development
[edit]
About
This script has been implemented as a wrapper around gen_logic_deps script output to show only the needed information.
As you can see in this cropped image, all dependencies presented at once are often useless.
You can find the wrapper script in yast2-devtools RPM since version 2.16.2 or download it from here.
This script has been also already used for article Minimizing YaST Cross-Dependencies
[edit]
Syntax
/usr/share/YaST2/data/devtools/bin/gen_logic_deps_nodes file_to_read regexptouse file_to_write [without_zero_deps]
- file_to_read - output from gen_logic_deps script
- regexptouse - part of sed regexp :) e.g., "yast2-network\|yast2-country"
- file_to_write - script creates thise files ${file_to_write}.txt, ${file_to_write}.png
- without_zero_deps - if defined nodes with (0) are not visible
[edit]
Examples
Package yast2-country only:
/usr/share/YaST2/data/devtools/bin/gen_logic_deps_nodes dot-in.txt "yast2-country" Testing without_zd
> Using file: dot-in.txt
> Using nodes: yast2-country
> Writing to: Testing.txt
>
> grep command: >>>\({\|}\|yast2-country\)<<<
> Grepping out zero-deps
>
> See Testing.png file
And the output image:
Packages yast2-country, yast2-network, and yast2-packager:
/usr/share/YaST2/data/devtools/bin/gen_logic_deps_nodes dot-in.txt "yast2-country\|yast2-network\|yast2-packager" Testing wzd
And the output image:

