404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.141.21.35: ~ $
3

�gt`��@s^ddlmZddlmZddlmZmZddlZdZGdd�dej	�Z
Gdd	�d	ejj�Z
dS)
�)�absolute_import)�unicode_literals)�_�loggerNzY
size="20.69,25.52";
ratio="fill";
rankdir="TB";
orientation=port;
node[style="filled"];
cs eZdZdZ�fdd�Z�ZS)�	RepoGraph�	repographcs,tt|�j||�|dkrdS|jt�dS)N)�superr�__init__Zregister_command�RepoGraphCommand)�self�base�cli)�	__class__��/usr/lib/python3.6/repograph.pyr	)szRepoGraph.__init__)�__name__�
__module__�__qualname__�namer	�
__classcell__rr)rrr%src@s<eZdZd
Zed�Zdd�Zdd�Zdd	�Ze	d
d��Z
dS)r
r�
repo-graphz4Output a full package dependency graph in dot formatcCsV|jj}d|_d|_|jjrRx4|jjj�D]$}|j	|jjkrF|j
�q*|j�q*WdS)NT)r
�demandsZsack_activationZavailable_reposZopts�reporZrepos�all�id�disable�enable)rrrrrr�	configure4s
zRepoGraphCommand.configurecCs|jt�dS)N)�do_dot�
DOT_HEADER)rrrr�run?szRepoGraphCommand.runc	Cs�d}|j|jj�}td�tdj|��x�|j�D]�}t||�|krRt||�}ddt||�}|d}d}td	j||||��td
j|��x||D]}tdj|��q�Wtdj|||��q2Wtd
�dS)Nrzdigraph packages {z{}g�?g333333�?�g�������?g�?z""{}" [color="{:.12g} {:.12g} {}"];z
"{}" -> {{z"{}"z!}} [color="{:.12g} {:.12g} {}"];
�}g��s���?)�	_get_depsr�sack�print�format�keys�len)	r�headerZmaxdepsZdeps�pkg�h�s�b�reqrrrrBs zRepoGraphCommand.do_dotc
Cs�i}i}g}|j�j�}x�|D]�}i}x�|jD]�}t|�}||krDq.|jd�rPq.||krb||}	n@|j|d�}	|	s�tjtd�|�|j	|�q.n
|	dj
}	|	||<|	|j
kr�d||	<|	|ks.|	|kr�q.nd||	<|j�||j
<q.WqW|S)Nz	solvable:)ZprovideszNothing provides: '%s'r)Zquery�	available�requires�str�
startswith�filterr�debugr�appendrr')
r$r0Zprov�skipr/r*Zxxr.ZreqnameZproviderrrrr#Ys8





zRepoGraphCommand._get_depsN)rr)rrr�aliasesrZsummaryrr r�staticmethodr#rrrrr
0sr
)Z
__future__rrZdnfpluginscorerrZdnf.cliZdnfrZPluginrr
ZCommandr
rrrr�<module>s

Filemanager

Name Type Size Permission Actions
builddep.cpython-36.opt-1.pyc File 7.27 KB 0644
builddep.cpython-36.pyc File 7.27 KB 0644
changelog.cpython-36.opt-1.pyc File 4.08 KB 0644
changelog.cpython-36.pyc File 4.08 KB 0644
config_manager.cpython-36.opt-1.pyc File 7.09 KB 0644
config_manager.cpython-36.pyc File 7.09 KB 0644
copr.cpython-36.opt-1.pyc File 20.2 KB 0644
copr.cpython-36.pyc File 20.2 KB 0644
debug.cpython-36.opt-1.pyc File 10.56 KB 0644
debug.cpython-36.pyc File 10.56 KB 0644
debuginfo-install.cpython-36.opt-1.pyc File 5.93 KB 0644
debuginfo-install.cpython-36.pyc File 5.93 KB 0644
download.cpython-36.opt-1.pyc File 9.29 KB 0644
download.cpython-36.pyc File 9.29 KB 0644
generate_completion_cache.cpython-36.opt-1.pyc File 3 KB 0644
generate_completion_cache.cpython-36.pyc File 3 KB 0644
groups_manager.cpython-36.opt-1.pyc File 8.45 KB 0644
groups_manager.cpython-36.pyc File 8.45 KB 0644
needs_restarting.cpython-36.opt-1.pyc File 9.88 KB 0644
needs_restarting.cpython-36.pyc File 9.88 KB 0644
repoclosure.cpython-36.opt-1.pyc File 4.31 KB 0644
repoclosure.cpython-36.pyc File 4.31 KB 0644
repodiff.cpython-36.opt-1.pyc File 7.55 KB 0644
repodiff.cpython-36.pyc File 7.55 KB 0644
repograph.cpython-36.opt-1.pyc File 2.72 KB 0644
repograph.cpython-36.pyc File 2.72 KB 0644
repomanage.cpython-36.opt-1.pyc File 6.37 KB 0644
repomanage.cpython-36.pyc File 6.37 KB 0644
reposync.cpython-36.opt-1.pyc File 10.19 KB 0644
reposync.cpython-36.pyc File 10.19 KB 0644
spacewalk.cpython-36.opt-1.pyc File 9.79 KB 0644
spacewalk.cpython-36.pyc File 9.79 KB 0644
system_upgrade.cpython-36.opt-1.pyc File 22.48 KB 0644
system_upgrade.cpython-36.pyc File 22.48 KB 0644
universal_hooks.cpython-36.opt-1.pyc File 5.86 KB 0644
universal_hooks.cpython-36.pyc File 5.86 KB 0644