PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
a iYv @sddlmZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddl m Z m Z ddlZddlmZddlmZddlZz$ddlmZmZmZmZddZWnFeyd d Zzdd lmZWneyd dZYn0Yn0d Zee de dgZee de ddgZer^ddl m!Z!m"Z"m#Z#ddl$m%Z%m&Z&m'Z'n(ddl!m!Z!m"Z"m#Z#ddl(m%Z%m&Z&m'Z'ej)j*Gdddej+j,Z-ej)j*Gddde-Z.dS))print_functionN)_logger)PY3)ucd)nameversioncodenameos_release_attrcCstttfSN)rrr r r 4/usr/lib/python3.9/site-packages/dnf-plugins/copr.pylinux_distribution.srcCsdS)Nr )rr r r r 1sr )rc Cstdh}i}|D]<}z$|d\}}|d||<WqtyLYq0q|d|ddfWdS1sv0YdS)Nz/etc/os-release="NAMEZ VERSION_ID)openrstripsplitstrip ValueError)Zos_release_fileZos_release_datalineZos_release_keyZos_release_valuer r r r7s  coprZyesynonr) ConfigParser NoOptionErrorNoSectionError)urlopen HTTPErrorURLErrorc@s eZdZdZdZdZdZdZdZedeZ dZ e d Z d Z e d Zed d ZddZddZddZddZddZddZddZddZddZd d!Zd"d#Zed$d%Zd&d'Zd(d)Zd*d+Z d,d-Z!d.d/Z"d0d1Z#ed2d3Z$ed4d5Z%ed6d7Z&dS)8 CoprCommandz Copr plugin for DNF Nzcopr.fedorainfracloud.orgZfedorahttpsi://)rz Interact with Copr repositories.Ta enable name/project [chroot] disable name/project remove name/project list --installed/enabled/disabled list --available-by-user=NAME search project Examples: copr enable rhscl/perl516 epel-6-x86_64 copr enable ignatenkobrain/ocltoys copr disable rhscl/perl516 copr remove rhscl/perl516 copr list --enabled copr list --available-by-user=ignatenkobrain copr search tests cCs|jddgdd|}|jddtdd|jd dtd d|jd dtd d|jd dtdd|jdtdd|jddddS)N subcommand)helpenabledisableremovelistsearchnargschoicesz --installed store_truez.List all installed Copr repositories (default))actionr(z --enabledzList enabled Copr repositoriesz --disabledzList disabled Copr repositoriesz--available-by-userrz-List available Copr repositories by user NAME)metavarr(z--hubz(Specify an instance of Copr to work with)r(arg*)r/) add_argumentadd_mutually_exclusive_groupr)parserZ list_optionr r r set_argparserps$zCoprCommand.set_argparsercCs|jjjjdkrdSd}t}g}|jjjd}tj |t d}tj |r| || ||ddr|ddr|dd}|dd}||g|_n ddg|_ttj |t dD],}|drtj |t d|} | | qg} t|jjr|jjdd } t| d krR|jjrRttd td tjtd nJ|jjs|t| d kr||j|_|j|_n t| d kr| d}n|jj}|rB|rBd|_| t |dd|!||dd} | rB|!||d|j"} |!||d|j#} | |_| d| |_t$| |j#krB|jd| 7_|jd| 7_|jsd|vrl||_|j"d||_n|ddd|_||_dS)Nrrz.confmain distribution releaseverFz.d/Error: z^specify Copr hub either with `--hub` or using `copr_hub/copr_username/copr_projectname` formatzmultiple hubs specifiedT)reversehostnameprotocolportr%:r')%cliZcommandoptsrbaseconfZpluginconfpathospathjoin PLUGIN_CONFisfileappendreadZ has_optionget chroot_configlistdirendswithlenr4rhubrcriticalrdnfCliErrordefault_hostname copr_hostname default_urlcopr_urlsorted_read_config_itemdefault_protocol default_portint)selfZcopr_hubZcopr_plugin_configZ config_filesZ config_pathZdefault_config_filer;r<filenameZ config_fileprojectrArBrCr r r configuresv                 zCoprCommand.configurec Cs.z|||WSttfy(|YS0dSr )rPrr)rbZconfigrUsectiondefaultr r r r^szCoprCommand._read_config_itemcCstjd|dS)N{0} )sysstderrwriteformatr)rbtextr r r _user_warning_before_promptsz'CoprCommand._user_warning_before_promptc Cs|jjd}|dkr&|jj|dS|dkrl|jjrH||jjdS||jj j d|jj |jj dSz|jj d}WnJttfyttdtd|jj|tjtdYn0z\|jj d}t|jj dkrtjtd|d |_t|jd kr"tjtd Wn(tyL|}|d |_Yn0|d krf||dS|d }t|dvrttdtdtjtdnexactly two additional parameters to copr command are requiredr'zToo many arguments.-r>zOBad format of optional chroot. The format is distribution-version-architecture.r-r=)ror>zEuse format `copr_username/copr_projectname` to reference copr projectzbad copr project formatz{0}/_copr:{1}:{2}:{3}.repor)a Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at , and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. z!Do you really want to enable {0}?z Repository successfully enabled.r*z!Repository successfully disabled.r+z Repository successfully removed.Unknown subcommand {}.)(rFr&rEZ optparser print_helpZavailable_by_user_list_user_projects_list_installed_repositoriesrGrHZreposdirenabledZdisabledr4r IndexErrorrrVrrWrXrT exceptionsErrorr chroot_parts _guess_chroot_searchrl get_reposdirrZ_sanitize_username _need_rootrK _ask_user_download_repoinfo_runtime_deps_warning _disable_repo _remove_repo) rbr& project_namechrootrd copr_usernamecopr_projectname repo_filenamermsgr r r runs                      zCoprCommand.runcCs|jdd}td|j|}|j|jko8td|}td|}|jjr\|sd|sddSn|sddStd|rtdStd|rdS|j } | r|s| s|rdSd} td |r|d d \} } } }| d| d|}ntd|r,|d d }| d ddd d d } | d|dd|d }n.|d d }|j d|dd|d }d} | sh|d7}| rv|d7}t || S)Nr=_copr:Z_copr_z_copr:|^_copr_zcopr:.*:.*:.*:mlz coprdep:.*Fcopr:rDr>rpr'rorTz (disabled)z *) repofilerrematchrZr\r[rFrUrursplitrYprint)rbrepo_idrepo enabled_only disabled_only file_nameZ match_newZ match_oldZ match_anyruold_reporrZZ copr_ownerZcopr_dirrZ copr_namer r r _list_repo_file8sB      zCoprCommand._list_repo_filecCsBd}|jjD]\}}|||||rd}q|r>ttddS)NFTz* These coprs have repo file with an old format that contains no information about Copr hub - the default one was assumed. Re-enable the project to fix this.)rGrepositemsrrr)rbZ directoryrrrrrr r r rtis z(CoprCommand._list_installed_repositoriesc Csd|}|j|}|jj|dd}zt|}Wn(ty^tj t d|Yn0| |t d|}| ||dD]@}d||d}|d pt d } |jjt|| }t|qdS) Nz!/api_3/project/list?ownername={0}w+modez+Can't parse repositories for username '{}'.zList of {} coprsrz {0}/{1} : r descriptionzNo description givenrlr\rGr jsonloadsrOrrWrwrxr_check_json_output_print_match_sectionoutputZ fmtKeyValFillrr) rbZ user_nameapi_pathurlres json_parse section_textitemrdescr r r rsss&       zCoprCommand._list_user_projectsc Csd|}|j|}|jj|dd}zt|}Wn(ty^tj t d|Yn0| |t d|}| ||dD]>}d|d}|d pt d } |jjt|| }t|qdS) Nz/api_3/project/search?query={}rrzCan't parse search for '{}'.z Matched: {}rz{0} : Z full_namerzNo description given.r) rbqueryrrrrrrrrr r r r{s"       zCoprCommand._searchcCs|jj|}t|dSr )rGrZ fmtSectionr)rbrm formattedr r r rsz CoprCommand._print_match_sectioncCsh|jstjdd|_tjd||jrd|jjj s`|jj j d|d|dsddSdS)N Frhz {} [y/N]: z {} [Y/n]: )rZdefaultyes_msgT) first_warningrirjrkrlrrGZ _promptWantedrHZassumenorZ userconfirmrbrrr r r _ask_user_no_raises  zCoprCommand._ask_user_no_raisecCs |||stjtddS)NzSafe and good answer. Exiting.)rrWrwrxrrr r r rs zCoprCommand._ask_usercCs tdkrtjtddS)Nrz/This command has to be run under the root user.)rIgeteuidrWrwrxr)clsr r r r~s zCoprCommand._need_rootcCs|j}|dus&|ddus&|ddur,t}|jjjd}d|dvrd|vrXd|}n&d td vrnd|}nd |d|}nd |vrtd }d|vrd|}nd|d|}n^d|vrtd}d|vrd|}nd|d|}n&d|d ddd|r|nd}|S)z2 Guess which chroot is equivalent to this machine NrFr'ZbasearchZFedoraZRawhidezfedora-rawhide-ZrawhideZredhat_support_product_versionzfedora-{0}-{1}ZMageiaz%{distro_arch}ZCauldronzmageia-cauldron-{}zmageia-{0}-{1}ZopenSUSEz%{_target_cpu}Z Tumbleweedzopensuse-tumbleweed-{}zopensuse-leap-{0}-{1}z epel-{}-{}.Zx86_64) rQrrGrH substitutionsr rlrpmZ expandMacror)rbZdistZdistarchrr r r rzs,         &zCoprCommand._guess_chrootc Csd|jdd}|jd}d|||}z*t|j|}tj|rRt|Wnbt yn}z|j dkrt d|j||j t |}t j|t d}|jd} | rsz-CoprCommand._download_repo..z If you want to enable a non-default repository, use the following command: 'dnf copr enable {0} ' But note that the installed repo file will likely need a manual modification.zProject {0} does not exist.zFailed to connect to {0}: {1}z\[copr:rr'z.repor_coprrrDZgroup_@wb),rKryrlr r\rIrJexistsr+r!coderstrrWrwrxZheadersrPbase64Z b64decodedecoderrr"reasonstrerrorreadlinerrrGrHr|r[replacerZrrk readlineschmodstatS_IRUSRS_IWUSRS_IRGRPS_IROTH)rbrrZ short_chrootZarchrZresponseeZ error_msgZ error_dataZerror_data_decodedZ first_linerZold_repo_filenamefr r r rsj            " $    .zCoprCommand._download_repocs|jjdd|j||||g}jD]}|drHq8||q8|s\dSt d}t d| d fdd |D}||t d s|D]$}|jjj||jjjd d iqdS) a, In addition to the main copr repo (that has repo ID prefixed with `copr:`), the repofile might contain additional repositories that serve as runtime dependencies. This method informs the user about the additional repos and provides an option to disable them. T)rrNaMaintainer of the enabled Copr repository decided to make it dependent on other repositories. Such repositories are usually necessary for successful installation of RPMs from the main Copr repository (they provide runtime dependencies). Be aware that the note about quality and bug-reporting above applies here too, Fedora Project doesn't control the content. Please review the list: {0} These repositories have been enabled automatically.r'z c s*g|]"}djt|j|ddqS)z){num:2}. [{repoid}] baseurl={baseurl}baseurl)Znumrepoidr)rlnextcfgZgetValue)rrZcounterrr r 8s  z5CoprCommand._runtime_deps_warning..z!Do you want to keep them enabled?ru0)rGresetZread_all_repos_get_copr_repor}rsections startswithrNr itertoolscountrlrKrrHwrite_raw_configfilerr)rbrrZ runtime_depsrrZdepr rr rs.     z!CoprCommand._runtime_deps_warningcCsd|jddd|||}||jjvrd|||}}||jjvrd|jj|jvr|jj|jdd}z0|dd dddd}||jkrWdSWqtyYq0ndS|jj|S) Nzcopr:{0}:{1}:{2}rDr'rz{0}-{1}rr=rro) rlrZrr}rGrrrrv)rbrrrrrZr r r rFs$     zCoprCommand._get_copr_repoc Csv|||}|s,tjtd|j||zt|j Wn4t yp}ztjt |WYd}~n d}~00dS)Nz&Failed to remove copr repo {0}/{1}/{2}) rrWrwrxrrlrZrIr+rOSErrorr)rbrrrrr r r r\s zCoprCommand._remove_repocCs`|||}|dur,tjtd|||jD]$}|jj |j ||jj j ddiq6dS)Nz!Failed to disable copr repo {}/{}rur) rrWrwrxrrlrrrGrHrrr)rbrrrrr r r rhs zCoprCommand._disable_repocCs<zt|}Wn$ty6tjtdYdS0|S)z Wrapper around response from server check data and print nice error in case of some error (and return None) otherwise return json object. Unknown response from server.N)rrrOrrWrErXr)rrrr r r _get_datats  zCoprCommand._get_datacCs"d|vrtjd|ddS)Nerrorz{})rWrwrxrl)rZjson_objr r r rszCoprCommand._check_json_outputcCs&|ddkrd|ddS|SdS)Nrrzgroup_{}r'r)rrr r r r}s zCoprCommand._sanitize_username)'__name__ __module__ __qualname____doc__rQrYZ default_hubr_r`r[aliasesrsummaryrusage staticmethodr9rer^rnrrrtrsr{rrr classmethodr~rzrrrrrrrr}r r r r r#PsL  L_1   %82    r#c@sDeZdZdZdZedZdZddZddZ e d d Z d d Z d S)PlaygroundCommandz Playground plugin for DNF )Z playgroundz$Interact with Playground repository.z [enable|disable|upgrade]c Cs0||tdtdd|j}|jj|dd}||}||ddkrft j td|d D]}d |d |d }d |jj j |dd}zp||dvrWqnd|j||}|jj|dd}||}||rd|vr|ddkr|||Wqnt jjy(Yqn0qndS)Nz!Enabling a Playground repository.zDo you want to continue?z{0}/api/playground/list/rrrokrrz{0}/{1}usernameZcoprnamez{}/_playground_{}.repor=rpZchrootsz{0}/api/coprs/{1}/detail/{2}/)r~rrrlr\rGr rcloserWrErXrHr|rrrwrx) rbrZapi_urlrrrrrZoutput2r r r _cmd_enablesB       zPlaygroundCommand._cmd_enablecCs2|td|jjjD]}||qdS)Nz{}/_playground_*.repo)r~globrlrGrHr|r)rbrr r r _cmd_disableszPlaygroundCommand._cmd_disablecCs|jddgdddS)Nr&r')r)r*upgrader.)r6)r8r r r r9szPlaygroundCommand.set_argparsercCstjd|jjd}|}|dkrB||tt dn`|dkrb| tt dn@|dkr| ||tt dntjt d  |dS) Nz%Playground is temporarily unsupportedrr)z-Playground repositories successfully enabled.r*z.Playground repositories successfully disabled.rz-Playground repositories successfully updated.rq) rWrwrxrFr&rzrrrrrrl)rbr&rr r r rs      zPlaygroundCommand.runN) rrrrrrrrrrrr9rr r r r rs  r)/Z __future__rrrrrIrshutilrrirZdnfpluginscorerrrWZ dnf.pycomprZdnf.i18nrrZdistrorrr r r ImportErrorplatformrLsetZYESZNOZ configparserrrrZurllib.requestr r!r"Zurllib2ZpluginZregister_commandrEZCommandr#rr r r r sP       B