| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1/cwd/usr/lib/python3.12/site-packages/dnf/cli/commands/__pycache__/ |
Upload File : |
�
�j�B � � � d dl mZ d dlmZmZ d dlmZ d dlmZ d dl m
Z
d dl Zd dlZd dl
Z
d dlZd dlZd dlZd dlZ G d� dej$ � Zy) � )�print_function)�commands�CliError)�_)�NoModuleException)�loggerNc � � � e Zd Z G d� dej � Z G d� de� Z G d� de� Z G d� de� Z G d � d
e� Z G d� de� Z
G d
� de� Z G d� de� Z G d� de� Z
G d� de� Z G d� de� Z G d� de� Zeeee e
eee
eeehZehZdZ ed� Z� fd�Zd� Zd� Zd� Zd� Z� xZS ) �
ModuleCommandc �* � � e Zd Z� fd�Zd� Zd� Z� xZS )�ModuleCommand.SubCommandc � �� t t j | � |� t j
j j | j � | _ y �N) �superr
�
SubCommand�__init__�dnf�module�module_base�
ModuleBase�base)�self�cli� __class__s ��</usr/lib/python3.12/site-packages/dnf/cli/commands/module.pyr z!ModuleCommand.SubCommand.__init__( s9 �� ��-�*�*�D�:�3�?�"�z�z�5�5�@�@����K�D�� c �N � t � }| j j D �] }| j j |� \ }}|��%|j
r|j
nd}|j r|j nd}|j r|j dk7 s|j r-t j t d� j |� � |j r|j nd}| j j j! ||dd|� }|j# |� �� |S )N� ���zjOnly module name, stream, architecture or profile is used. Ignoring unneeded information in argument: '{}')�set�opts�module_specr �_get_modules�name�stream�version�contextr �infor �format�archr �_moduleContainer�query�update) r �modules_from_specsr! �__�nsvcapr# r$ r) �moduless r �#_get_modules_from_name_stream_specsz<ModuleCommand.SubCommand._get_modules_from_name_stream_specs, s� � �!$���#�y�y�4�4��!�-�-�:�:�;�G�
��F��>��&,�k�k�v�{�{�r��*0�-�-����R���N�N�v�~�~��';�����K�K�� #T� !U�U[�U[�#�V%�&� '-�k�k�v�{�{�r���)�)�4�4�:�:�4���R�QU�V��"�)�)�'�2� 5� &�%r c � � t � }t � }|D ]L }||vs�| j j j |� s�.|j |j � � �N |D ]e }t
j |� }|j t j g�� D ]* }|j s�|j |j � �, �g ||fS )N)�forms)r r r* �isModuleActiver, �getArtifacts�hawkey�Subject�get_nevra_possibilities�
FORM_NEVRAr# �add) r �use_modules�skip_modules� artifacts� pkg_namesr �artifact�subj� nevra_objs r �_get_module_artifact_namesz3ModuleCommand.SubCommand._get_module_artifact_names>