관리-도구
편집 파일: group_info_reader.cpython-311.opt-1.pyc
� P�Cg% � � � d dl Z d dlmZ d dlmZ d dlZd dlmZmZm Z m Z d dlmZ G d� de� � Z G d� d � � ZdS ) � N)�sleep)�Dict)�is_testing_enabled_repo�get_cl_version� is_ubuntu�get_os_version)�FormattedExceptionc � � � e Zd Zd� fd� Z� xZS )�GroupInfoReaderErrorNc �^ �� |�d}t � � � |d|i|d�� � d S )Nz�Encountered an error while getting the remote available groups info. Try again later. If the same problem occurs again - contact CloudLinux support.�reason)�message�context�details)�super�__init__)�selfr r r � __class__s ���/builddir/build/BUILDROOT/alt-python27-cllib-3.4.17-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/group_info_reader.pyr zGroupInfoReaderError.__init__ sS �� ��?�b� � ������ �&�)�� � � � � � � � )NN)�__name__� __module__�__qualname__r � __classcell__)r s @r r r s= �� � � � � � � � � � � � � � � r r c �z � e Zd ZdZdZdZdZdZed� � � Z ed� � � Z ed� � � Zed� � � ZdS ) �GroupInfoReaderaZ The purpose of this class is to get remote yum info about available groups: 1. alt-php 2. alt-nodejs 3. alt-ruby 4. alt-python There we get special url with json which depends on machine features: cl version: 6, 7, 6 hybrid architecture: x84_64, i386 enabled testing repositories status: beta, stable Nz"https://repo.cloudlinux.com/other/z.https://repo.cloudlinux.com/cloudlinux-ubuntu/c �P � | j �| � � � | _ | j S )z"Get url with available groups json)� GROUP_URL�_get_group_url)�clss r � group_urlzGroupInfoReader.group_url4 s'