Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
share
/
createrepo
/
Upload File :
New :
File
Dir
//proc/self/root/usr/share/createrepo/genpkgmetadata.pyc
mò `THc�����������@���ss��d��k��Z��d��k�Z�d��k�Z�d��k�Z�d��k�Z�d��k�Z�d��k�Z�d��k�Z�d��k�Z�d��k �Z �d�k�l �Z �d�Z�d�„��Z�d�„��Z �d�d�„�Z�d�f��d�„��ƒ��YZ�d �e�f�d �„��ƒ��YZ�d�„��Z�d�„��Z�d �„��Z�e�d�j�o“�e�e�i�ƒ�d�j�oh�e�i�d�d�j�o?�d��k�Z�e�i�e��i�i�d�ƒ�ƒ�Z�e�i�d�ƒ�e�i�ƒ��n�e�e�i�d�ƒ�n�e�e�i�d�ƒ�n�d��S(���N(���s ���_gzipOpens���0.4.9c���������C���s���t��i�|��IJd��S(���N(���t���syst���stderrt���stuff(���R���(����(����t'���/usr/share/createrepo/genpkgmetadata.pyt ���errorprint%���s����c���������C���s���|��S(���s���Stub function for translationN(���t���args(���R���(����(����R���t���_(���s�����i���c���������C���s���t��d�ƒ�GHt�i�|��ƒ�d��S(���Ns�� createrepo [options] directory-of-packages Options: -u, --baseurl <url> = optional base url location for all files -o, --outputdir <dir> = optional directory to output to -x, --exclude = files globs to exclude, can be specified multiple times -q, --quiet = run quietly -n, --noepoch = don't add zero epochs for non-existent epochs (incompatible with yum and smart but required for systems with rpm < 4.2.1) -g, --groupfile <filename> to point to for group information (precreated) (<filename> relative to directory-of-packages) -v, --verbose = run verbosely -c, --cachedir <dir> = specify which dir to use for the checksum cache -C, --checkts = don't generate repo metadata, if their ctimes are newer than the rpm ctimes. -i, --pkglist = use only these files from the directory specified -h, --help = show this help -V, --version = output version -p, --pretty = output xml files in pretty format. --update = update existing metadata (if present) -d, --database = generate the sqlite databases. --skip-stat = skip the stat() call on a --update, assumes if the name is the same then the file is the same. (���R���R����t���exitt���retval(���R���(����(����R���t���usage,���s����t���MetaDataGeneratorc�����������B���s‰���t��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z �d �„��Z �d �„��Z�d�„��Z�d�d �„�Z �d�„��Z�d�„��Z�RS(���Nc���������C���s.���|�|��_��t�i�ƒ��|��_�d�|��_�g��|��_�d��S(���Ni����(���t���cmdst���selft���rpmt���TransactionSett���tst���pkgcountt���files(���R���R���(����(����R���t���__init__K���s���� c���������C���s”���y�t��i�|�ƒ�}�Wn�t��i�j �o�d�Sn�X|�|�|�|�ƒ�xM�|�D]E�}�t��i�i �|�|�ƒ�}�t��i�i �|�ƒ�o�|��i�|�|�|�ƒ�qG�qG�Wd�S(���ss���Directory tree walk with callback function. copy of os.path.walk, fixes the link/stating problem N( ���t���ost���listdirt���topt���namest���errort���funct���argt���namet���patht���joint���isdirR���t ���_os_path_walk(���R���R���R���R���R���R���(����(����R���R���Q���s����� �c������������sW���t��ˆ�ƒ�‰�‡�‡��‡�‡�d�†��}�g��}�t�i�i�|�|�ƒ�d�‰�ˆ��i�ˆ�|�|�ƒ�|�S(���sj���Return all files in path matching ext, store them in filelist, recurse dirs. Returns a list objectc������������s·���x°�|�D]¨�}�t�i�i�|�ƒ�o�q�n�ˆ�i�d�o�t�i�i�|�ƒ�o�q�q�|�ˆ��i �ƒ��d�ˆ�j�oD�|�i�ˆ�d�d�ƒ�}�|�i�d�ƒ�}�|��i�t�i�i�|�|�ƒ�ƒ�q�q�Wd��S(���Ns ���skip-symlinkss���%st����i���t���/(���R���t���fnR���R���R���R���R���t���islinkt���extlent���lowert���extt���dirnamet���replacet���startdirt���relativepatht���lstript���filelistt���appendR���(���R+���R&���R���R)���R!���(���R#���R���R%���R(���(����R���t���extension_visitorf���s�����!R ���N( ���t���lenR%���R#���R-���R+���R���R���R���t���basepatht ���directoryR(���R���R���(���R���R/���R0���R%���R#���R-���R+���R(���(����(���R���R%���R#���R(���R���t���getFileList`���s�����c���������C���sÄ���|��i�d�o²�|��i�|��i�d�|�d�ƒ�}�|��i�|�ƒ�}�x„�|�D]x�}�t�i�i �|��i�d�|�|�ƒ�}�t�i�i�|�ƒ�p�t�t �d�ƒ�|�ƒ�n�t�i�i�|�ƒ�|��i�d�j�o�t�Sq@�q@�Wn�t�S(���Nt���checktst���basedirs���.rpms���cannot get to file: %st���mdtimestamp(���R���R���R1���R0���R���t���trimRpmst���fR���R���R���R!���t���existsR���R���t���getctimet���Falset���True(���R���R0���R���R6���R!���(����(����R���t���checkTimeStampsv���s����� c���������C���s—���g��}�x[�|�D]S�}�xJ�|��i�d�D];�}�t�i�|�|�ƒ�o"�|�|�j�o�|�i�|�ƒ�q\�q!�q!�Wq �Wx,�|�D]$�}�|�|�j�o�|�i�|�ƒ�qk�qk�W|�S(���Nt���excludes( ���t���badrpmsR���t���fileR���R���t���globt���fnmatchR,���t���remove(���R���R���R=���R>���R?���(����(����R���R5���‚���s������ � c���������C���sœ��|��i�d�o t�i�i�|��i�d�|��i�d�|��i�d�ƒ�}�t�i�i�|��i�d�|��i�d�|��i�d�ƒ�}�t�i�i�|��i�d�|��i�d�|��i�d�ƒ�}�h��d�|��i�d�<d�t�i�i�t�i�i�|��i�d �|�ƒ�ƒ�<}�|��i�d �o�t�|�d�<n�t�i �|��i�d�|�|�|�|�ƒ�|��_�n�|��i�d�o�|��i�d�}�n�|��i�|��i�d �|�d �ƒ�}�|��i�|�ƒ�}�t�|�ƒ�|��_�|��i�ƒ��|��i�|�|�ƒ�|��i�ƒ��d�S(���s.���all the heavy lifting for the package metadatat���updatet ���outputdirt���finaldirt���primaryfilet ���filelistsfilet ���otherfilet���verboset���pkgdirR3���t ���skip_statt���do_statt���pkglists���.rpmN(���R���R���R���R���R���t���basefilet���flfileRG���t���normpathR0���t���optsR9���t���readMetadatat ���MetadataIndext���oldDataR���R1���R5���R.���R���t���openMetadataDocst���writeMetadataDocst���closeMetadataDocs(���R���R0���R���RG���RM���RN���RP���(����(����R���t ���doPkgMetadata���s$�����---A c���������C���s"���|��i�ƒ��|��i�ƒ��|��i�ƒ��d��S(���N(���R���t ���_setupBaset���_setupFilelistst���_setupOther(���R���(����(����R���RT���®���s���� c���������C���sÔ���t��i�d�ƒ�|��_�|��i�i�d��d�d��ƒ�|��_�|��i�i�d�d��ƒ�}�|��i�i�d�d�ƒ�|��_ �|��i�i �|�ƒ�t�i�i �|��i�d�|��i�d�|��i�d�ƒ�}�t�|�d �ƒ�|��_�|��i�i�d �ƒ�|��i�i�d�|��i�ƒ�d��S(���Ns���1.0t���metadatas%���http://linux.duke.edu/metadata/commons"���http://linux.duke.edu/metadata/rpmR ���RC���t���tempdirRE���t���ws'���<?xml version="1.0" encoding="UTF-8"?> sv���<metadata xmlns="http://linux.duke.edu/metadata/common" xmlns:rpm="http://linux.duke.edu/metadata/rpm" packages="%s"> (���t���libxml2t���newDocR���t���basedoct���newChildt���Nonet���baseroott���newNst���basenst���formatnst���setNsR���R���R���R���t���basefilepatht ���_gzipOpenRM���t���writeR���(���R���Rh���Re���(����(����R���RX���³���s����-c���������C���s¼���t��i�d�ƒ�|��_�|��i�i�d��d�d��ƒ�|��_�|��i�i�d�d��ƒ�}�|��i�i �|�ƒ�t �i�i�|��i �d�|��i �d�|��i �d�ƒ�}�t�|�d�ƒ�|��_�|��i�i�d�ƒ�|��i�i�d �|��i�ƒ�d��S( ���Ns���1.0t ���filelistss(���http://linux.duke.edu/metadata/filelistsRC���R\���RF���R]���s'���<?xml version="1.0" encoding="UTF-8"?> sK���<filelists xmlns="http://linux.duke.edu/metadata/filelists" packages="%s"> (���R^���R_���R���t���filesdocRa���Rb���t ���filesrootRd���t���filesnsRg���R���R���R���R���t���filelistpathRi���RN���Rj���R���(���R���Ro���Rn���(����(����R���RY���À���s����-c���������C���s¼���t��i�d�ƒ�|��_�|��i�i�d��d�d��ƒ�|��_�|��i�i�d�d��ƒ�}�|��i�i �|�ƒ�t �i�i�|��i �d�|��i �d�|��i �d�ƒ�}�t�|�d�ƒ�|��_�|��i�i�d�ƒ�|��i�i�d �|��i�ƒ�d��S( ���Ns���1.0t ���otherdatas$���http://linux.duke.edu/metadata/otherRC���R\���RG���R]���s'���<?xml version="1.0" encoding="UTF-8"?> sG���<otherdata xmlns="http://linux.duke.edu/metadata/other" packages="%s"> (���R^���R_���R���t���otherdocRa���Rb���t ���otherrootRd���t���othernsRg���R���R���R���R���t ���otherfilepathRi���RG���Rj���R���(���R���Rt���Rs���(����(����R���RZ���Ì���s����-c��� ������C���s–��d��}�d��}�d��}�y>�t�i�i�|��i�d�|�ƒ�}�t�i�|��i �|�|�|��i�ƒ�} �Wn0�t�i�j �o!�}�t�d�|�|�f�ƒ�d��Sn�Xy/�t�i�|��i�|��i�|��i�| �|��i�d�ƒ�}�Wn0�t�i�j �o!�}�t�t�d�ƒ�|�ƒ�d��Sn�Xy�t�i�|��i�|��i�| �ƒ�}�Wn0�t�i�j �o!�}�t�t�d�ƒ�|�ƒ�d��Sn�Xy�t�i�|��i�|��i�| �ƒ�}�Wn0�t�i�j �o!�}�t�t�d�ƒ�|�ƒ�d��Sn�X|�|�|�f�S(���NR3���s��� %s - %st���sumtypes0��� An error occurred creating primary metadata: %ss)��� An error occurred creating filelists: %ss��� An error occurred: %s(���Rb���t���basenodet ���filesnodet ���othernodeR���R���R���R���R���R0���t���rpmdirt���dumpMetadatat���RpmMetaDataR���R>���t���mdobjt���MDErrort���eR���t���generateXMLR`���Rc���Rf���R���t���fileListXMLRl���Rm���t���otherXMLRq���Rr���( ���R���R>���R0���t���currentRx���R~���Rv���Rw���Ry���R|���(����(����R���t ���_getNodesØ���s2����" / i����c���������C���s��xý|�D]õ} �|�d�7}�t�}�d�}�|��i�d�o3�|��i�i �| �ƒ�}�|�d��j �o�t�}�d�}�qd�n�|�p�|��i �| �|�|�ƒ�}�n�|�d��j�o�q�n�|�\�}�} �}�~�|��i�d�pv�|��i�d�o�d�|�|��i�|�| �f�GHq.t�i�i�d�d �d �ƒ�t�i�i�d�|�|��i�|�| �f�ƒ�t�i�i�ƒ��n�|�d��j�o�q�n�xœ�|�|��i�f�| �|��i�f�|�|��i�f�f�D]p�\�}�}�|�d��j�o�Pn�|�i�d�|��i�d �ƒ�} �|�i�| �ƒ�|�i�d�ƒ�|�p�|�i�ƒ��|�i�ƒ��qmqmW|�o�|��i�i �| �ƒ�q�q�W|�S(���Ni���t���-RB���t���*t���quietRH���s���%d/%d %s %ss��� t��� iP���s��� %d/%d %s %ss���UTF-8t���prettys��� (!���R���R>���R‚���R9���t���recycledt���sepR���R���RS���t���getNodest���nodesRb���R:���Rƒ���R0���Rv���t���filenodeRx���R���R����t���stdoutRj���t���flushRM���RN���RG���t���nodet���outfilet ���serializet���outputt ���unlinkNodet���freeNodet ���freeNodes(���R���R���R0���R‚���Rx���RŠ���Rv���R���R‰���R>���R“���RŒ���R‘���R���(����(����R���RU���ó���sJ����� # +� c���������C���sð���|��i�d�p �d�GHn�|��i�d�p�t�d�ƒ�GHn�|��i�i�d�ƒ�|��i�i�ƒ��|��i�i�ƒ��|��i�d�p�t�d�ƒ�GHn�|��i�i�d�ƒ�|��i�i�ƒ��|��i �i�ƒ��|��i�d�p�t�d�ƒ�GHn�|��i �i�d�ƒ�|��i �i�ƒ��|��i�i�ƒ��d��S( ���NR†���R���s���Saving Primary metadatas��� </metadata>s���Saving file lists metadatas ��� </filelists>s���Saving other metadatas ��� </otherdata>(���R���R���R���RM���Rj���t���closeR`���t���freeDocRN���Rl���RG���Rq���(���R���(����(����R���RV���!��s"���� c���������C���s��t��i�d�ƒ�}�|�i�d�d�d�ƒ�}�|�i�d�d�ƒ�}�|�i�|�ƒ�t �i �i�|��i �d�|��i �d�|��i �d�ƒ�}�y�t�i�|�|��i �ƒ�Wn9�t�i�j �o*�}�t�t�d�ƒ�|�ƒ�t�i�d�ƒ�n�Xy�|�i�|�d �d�ƒ�Wn(�t�t�d �ƒ�|�ƒ�t�i�d�ƒ�n�X~�d�S(���sO���wrapper to generate the repomd.xml file that stores the info on the other filess���1.0t���repomds#���http://linux.duke.edu/metadata/repoRC���R\���t ���repomdfiles"���Error generating repo xml file: %si���s���UTF-8s&���Error saving temp file for rep xml: %sN(���R^���R_���t���repodocRa���Rb���t���reporootRd���t���reponsRg���R���R���R���R���R���t���repofilepathRz���t���repoXMLR}���R~���R���R���R����R���t���saveFormatFileEnc(���R���R���R~���Rž���R›���Rœ���(����(����R���t���doRepoMetadata8��s"����� -(���t���__name__t ���__module__R���R���R1���R;���R5���RW���RT���RX���RY���RZ���Rƒ���RU���RV���R¡���(����(����(����R���R ���J���s��� . t���SplitMetaDataGeneratorc�����������B���s,���t��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�RS(���Nc���������C���s���t��i�|��|�ƒ�d��S(���N(���R ���R���R���R���(���R���R���(����(����R���R���P��s����c��� ������C���sh���d��k��}�|�i�i�d�ƒ�|�p�|�Sn�|�i�|�ƒ�\�}�}�}�}�}�|�i �|�|�|�|�t�|�ƒ�f�ƒ�S(���Nt���media( ���t���urlparset ���uses_fragmentR,���t���urlt���urlsplitt���schemet���netlocR���t���queryt���fragidt ���urlunsplitt���strt���fragment( ���R���R¨���R°���R«���R���R¦���R¬���R���Rª���(����(����R���t���_getFragmentUrlS��s���� c������������sS���t��ˆ�ƒ�‰�‡�‡�‡��d�†��}�g��}�t�i�i�|�ˆ��ƒ�}�t�i�i�|�|�|�ƒ�|�S(���Nc������������s£���xœ�|�D]”�}�t�i�i�|�ƒ�o�q�q�t�i�|�ˆ��ƒ�d�ˆ�j�oU�t�i�i �|�ƒ�}�|�t�i�i �ˆ�ƒ�j�o �d�}�n�|��i�t�i�i�|�|�ƒ�ƒ�q�q�Wd��S(���Ns���%sR���(���R���R!���R���R���R���t���stringR$���R#���R%���t���basenameR&���t���reldirR0���R���R,���R���(���R���R&���R���R´���R!���(���R#���R%���R0���(����R���R-���_��s����� (���R.���R%���R#���R-���t���rpmlistR���R���R���R/���R0���R(���t���walk(���R���R/���R0���R%���R#���Rµ���R-���R(���(����(���R0���R%���R#���R���R1���[��s���� c���������C���s]��d�k��}�t�|�ƒ�|�i�j�o�t�i�|��|�ƒ�d�Sn�h��}�xX�|�D]P�}�|��i �|��i �d�|�d�ƒ�|�|�<|��i�|�|�ƒ�|��i�t �|�|�ƒ�7_�qD�Wd�}�d�}�|��i�|��i �d�|�ƒ�|��i �d�<|��i�ƒ��|��i �d�}�xQ�|�D]I�}�|��i�|��i �d�|�ƒ�|��i �d�<|��i�|�|�|�|�ƒ�}�|�d�7}�qâ�W|��i�|��i �d�d�ƒ�|��i �d�<|��i�ƒ��d�S(���s.���all the heavy lifting for the package metadataNR3���s���.rpmi���i����t���baseurl(���t���typest���typet���directoriest ���StringTypeR ���RW���R���t ���filematrixt���mydirR1���R���R5���R���R.���t���medianoR‚���R±���RT���t���original_basedirRU���RV���(���R���Rº���R¿���R¼���R½���R‚���R¾���R¸���(����(����R���RW���n��s.����� � � (���R¢���R£���R���R±���R1���RW���(����(����(����R���R¤���N��s��� c���������C���sÕ���t��i�i�|��ƒ�oo�t��i�i�|��ƒ�p�t�t�d�ƒ�|��ƒ�t�}�qÑ�t��i �|��t��i �ƒ�p�t�t�d�ƒ�|��ƒ�t�}�qÑ�t�}�nP�y�t��i�|��ƒ�Wn5�t �j �o)�}�t�t�d�ƒ�|��|�f�ƒ�t�}�n�Xt�}�|�S(���sV��� check out the dir and make it, if possible, return 1 if done, else return 0 s���%s is not a dirs���%s is not writables���Error creating dir %s: %sN(���R���R���R7���t���dirR���R���R���R9���t���resultt���accesst���W_OKR:���t���mkdirt���OSErrorR~���(���RÀ���R~���RÁ���(����(����R���t���checkAndMakeDir‡��s ����� c���������C���sy��h��}�d�|�d�<d�|�d�<g��|�d�<dj�|�d�<dj�|�d�<d�|�d�<t�|�d �<d�|�d �<dj�|�d�<t�i�ƒ��|�d�<t�|�d �<t�|�d�<d�|�d�<t�|�d�<t�|�d�<d�|�d�<t�|�d�<d�d�d�g�|�d�<d�d�g�|�d�<t�|�d�<t�|�d�<g��|�d�<y[�t�i�|��d�d�d�d�d�d �d!�d"�d#�d$�d%�d �d�d&�d �d�d�d�d�d'�d(�g�ƒ�\�}�}�Wn3�t�i �j �o$�}�t�t�d)�ƒ�|�ƒ�t �ƒ��n�Xy‡�x€�|�D]x�\�}�} �|�d*�d+�g�j�o�t �d,�d�ƒ�q’|�d-�d.�g�j�o�d/�t�GHt�i�d�ƒ�q’|�d0�j�o�t�|�d�<q’q’WWn0�t�j �o$�}�t�t�d1�ƒ�|�ƒ�t �ƒ��n�Xt�|�ƒ�d2�j�o'�|�d�o�t�t�d3�ƒ�ƒ�t �ƒ��n5�t�|�ƒ�d�j�o�t�t�d4�ƒ�ƒ�t �ƒ��n�|�} �y©x¢|�D]š\�}�} �|�d5�d6�g�j�o�d2�|�d�<qº|�d7�d8�g�j�o�d2�|�d�<qº|�d9�d:�g�j�o:�|�d�dj�j �o�t�t�d;�ƒ�ƒ�t �ƒ��qT| �|�d�<qº|�d<�d=�g�j�o:�|�d�dj�j �o�t�t�d>�ƒ�ƒ�t �ƒ��qT| �|�d�<qº|�d?�d@�g�j�o�|�d�i�| �ƒ�qº|�dA�dB�g�j�o�d2�|�d �<qº|�dC�dD�g�j�o�t�t�dE�ƒ�ƒ�qº|�dF�dG�g�j�o�t�|�d �<| �|�d�<qº|�dH�j�o�t�|�d�<qº|�dI�dJ�g�j�o�t�|�d�<qº|�dK�j�o�| �|�d�<qº|�dL�dM�g�j�o�| �|�d�<qº|�dN�dO�g�j�o�t�|�d �<qº|�dP�dQ�g�j�o�t�|�d�<qº|�dR�dS�g�j�o�t�|�d�<qº|�dT�j�o�t�|�d�<qº|�dU�dV�g�j�o�| �|�d�<qºqºWWn0�t�j �o$�}�t�t�d1�ƒ�|�ƒ�t �ƒ��n�X|�d�o,�|�d�o!�t�t�dW�ƒ�ƒ�t�i�d2�ƒ�n�| �d�}�t�i�i�|�ƒ�}�|�d�o�nZ�t�i�i�|�ƒ�o,�t�i�i�|�ƒ�|�d�<t�i�i�|�ƒ�}�n�t�i�i�|�d�ƒ�|�d�<|�d�p!�t�i�i�|�d�|�ƒ�|�d�<n�|�d�o°�|�d�} �|�d�o$�t�i�i�|�d�|�|�d�ƒ�} �n8�t�i�i�| �ƒ�p$�t�i�i�|�d�|�|�d�ƒ�} �n�t�i�i �| �ƒ�p�t�t�dX�| �ƒ�ƒ�t �ƒ��n�| �|�d�<n�|�d�ot�|�d�} �t�i�i�| �ƒ�p�t�i�i�|�d�| �ƒ�} �n�t!�| �ƒ�p�t�t�dY�| �ƒ�ƒ�t �ƒ��n�| �|�d�<n�|�d�og�g��}�t#�|�d�dZ�ƒ�}�x3�|�i%�ƒ��D]%�}�|�i'�d[�d�ƒ�}�|�i�|�ƒ�qÞW|�i(�ƒ��|�|�d�<n�d\�|�d]�<d^�|�d_�<d`�|�da�<db�|�dc�<dd�|�de�<df�|�dg�<dh�|�di�<|�| �d�<|�| �f�S(k���s‚��� Parse the command line args return a commands dict and directory. Sanity check all the things being passed in. i����R†���RH���R<���R·���t ���groupfilet���shaRu���t���noepochRˆ���t���cachedirR3���t���cacheR2���R4���t���splitRB���R���RC���t���databases ���.*bin\/.*s ���^\/etc\/.*s���^\/usr\/lib\/sendmail$s���file-pattern-matchs���dir-pattern-matchs ���skip-symlinksRJ���RL���s���phqVvndg:s:x:u:c:o:CSi:t���helps���exclude=s ���cachedir=s���basedir=s���baseurl=s ���groupfile=s ���checksum=t���versions ���outputdir=s���pkglist=s ���skip-stats���Options Error: %s.s���-hs���--helpR���s���-Vs ���--versions���%ss���--splits���Options Error: %si���s*���Error: Only one directory allowed per run.s)���Error: Must specify a directory to index.s���-vs ���--verboses���-qs���--quiets���-us ���--baseurls ���Error: Only one baseurl allowed.s���-gs���--groupfiles"���Error: Only one groupfile allowed.s���-xs ���--excludes���-ps���--prettys���-ss ���--checksums���This option is deprecateds���-cs ���--cachedirs���--updates���-Cs ���--checktss ���--basedirs���-os���--outputdirs���-ns ���--noepochs���-ds ���--databases���-Ss���--skip-symlinkss���--skip-stats���-is ���--pkglists4���--split and --checkts options are mutually exclusives$���Error: groupfile %s cannot be found.s(���Error: cannot open/write to cache dir %st���rs��� s���primary.xml.gzRE���s���filelists.xml.gzRF���s���other.xml.gzRG���s ���repomd.xmlRš���s ���.repodataR\���t���repodataRD���s���.olddatat���olddirN()���R���Rb���R9���R���t���getcwdt���getoptR���t���goptst���argsleftR���R~���R���R���R ���R���t���at���__version__R����R���R:���t ���ValueErrorR.���Rº���R,���R0���R���RO���t���isabsR&���R³���t���realpathR���R7���RÆ���t���lstt���opent���pfot ���readlinest���lineR'���R—���(���R���RÖ���RÜ���R���RÕ���R���RÞ���R~���Rà���R×���Rº���R0���(����(����R���t ���parseArgsŸ��s"���� [� � ! $$ � c���������C���sÀ��t��|��ƒ�\�} �}�|�d�}�t�i�i�t�i�i�| �d�|�ƒ�ƒ�}�t�i�i �|�ƒ�p(�t�t�d�ƒ�|�f�ƒ�t �i�d�ƒ�n�t�i�i�|�ƒ�p(�t�t�d�ƒ�|�f�ƒ�t �i�d�ƒ�n�t�i�| �d�t�i�ƒ�p,�t�t�d�ƒ�| �d�f�ƒ�t �i�d�ƒ�n�| �d�o+�| �d�}�t�i�i�| �d�|�ƒ�| �d�<n�t�t�i�i�| �d�| �d �ƒ�ƒ�p�t �i�d�ƒ�n�t�t�i�i�| �d�| �d �ƒ�ƒ�p�t �i�d�ƒ�n�t�i�i �t�i�i�| �d�| �d�ƒ�ƒ�o)�t�t�d�ƒ�| �d�ƒ�t �i�d�ƒ�n�xá�d �d �g�D]Ó�}�xÊ�d �d�d�d�g�D]¶�}�t�i�i�| �d�| �|�| �|�ƒ�}�t�i�i �|�ƒ�oy�t�i�|�t�i�ƒ�p�t�t�d�ƒ�|�ƒ�t�ƒ��n�| �d�o5�t�i�i�|�ƒ�}�|�| �d�j�o�|�| �d�<qÈqÌqqWqýW| �d�o'�|�| �d�<t�| �ƒ�}�|�i�|�ƒ�n`�t�| �ƒ�}�| �d�o;�|�i�|�ƒ�o+�| �d�o�t�d�ƒ�GHn�t �i�d�ƒ�n�|�i�|�ƒ�|�i�ƒ��t�i�i �t�i�i�| �d�| �d �ƒ�ƒ�o¥�yB�t�i �t�i�i�| �d�| �d �ƒ�t�i�i�| �d�| �d�ƒ�ƒ�Wq>t�t�d�t�i�i�| �d�| �d �ƒ�t�i�i�| �d�| �d�ƒ�f�ƒ�ƒ�t �i�d�ƒ�q>Xn�yB�t�i �t�i�i�| �d�| �d �ƒ�t�i�i�| �d�| �d �ƒ�ƒ�Wnb�t�t�d�ƒ�ƒ�t�i �t�i�i�| �d�| �d�ƒ�t�i�i�| �d�| �d �ƒ�ƒ�t �i�d�ƒ�n�XxÚ�d �d�d�d�d�g�D]Ã�}�| �|�o�t�i�i!�| �|�ƒ�}�n�qût�i�i�| �d�| �d�|�ƒ�}�t�i�i �|�ƒ�ob�y�t�i$�|�ƒ�Wq¾t%�j �o>�} �t�t�d�ƒ�|�ƒ�t�t�d�ƒ�| �ƒ�t �i�d�ƒ�q¾XqûqûWt�i�i�| �d�| �d�ƒ�} �t�i�i�| �d�| �d �ƒ�}�xAt�i)�| �ƒ�D]0}�t�i�i�| �|�ƒ�}�t�i�i�|�|�ƒ�}�t�i�i �|�ƒ�o†�y5�t�i�i�|�ƒ�o�t+�i,�|�ƒ�n�t�i$�|�ƒ�Wq<t%�j �o>�} �t�t�d�ƒ�|�ƒ�t�t�d�ƒ�| �ƒ�t �i�d�ƒ�q<Xqy�t�i �|�|�ƒ�Wqt%�j �oD�} �t�t�d�ƒ�|�|�f�ƒ�t�t�d�ƒ�| �ƒ�t �i�d�ƒ�qXqWy(�t�i-�t�i�i�| �d�| �d�ƒ�ƒ�WnQ�t%�j �oE�} �t�t�d�ƒ�| �d�ƒ�t�t�d�ƒ�| �ƒ�t�t�d�ƒ�ƒ�n�Xd��S(���Ni����R3���s���Directory %s must existi���s���%s - must be a directoryRC���s���Directory %s must be writable.RÌ���R\���RD���RÒ���s,���Old data directory exists, please remove: %sRE���RF���RG���Rš���s9���error in must be able to write to metadata files: -> %sR2���R4���RH���s���repo is up to dates#���Error moving final %s to old dir %ss&���Error moving final metadata into placeRÇ���s&���Could not remove old metadata file: %ss���Error was %ss*���Could not remove old non-metadata file: %ss1���Could not restore old non-metadata file: %s -> %ss%���Could not remove old metadata dir: %ss(���Please clean up this directory manually.(.���Rá���R���R���Rº���R0���R���R���RÛ���R���t���testdirR7���R���R���R����R���R���RÂ���RÃ���t���oldbaseRÆ���t���direcR>���t���filepathR ���R8���R���R¤���t���mdgenRW���R ���R;���R¡���t���renameR³���R!���t���oldfileRA���RÅ���R~���RÒ���RD���R���t ���finalfilet���shutilt���rmtreet���rmdir(���R���R>���Rè���RD���Rå���R���R!���Ré���Ræ���R���RÒ���Rã���Rä���R~���Rº���R0���Râ���(����(����R���t���mainO��sÊ���� % !$$* ��$ * "H " � �(t���__main__t���profiles���~/createrepo.profs���main(sys.argv[2:])(���R���R����RÔ���R ���R^���R²���R@���Rê���Rz���RQ���Ri���RØ���R���R���R ���R ���R¤���RÆ���Rá���Rí���R¢���R.���t���argvt���hotshott���ProfileR���t ���expandusert���pt���runR—���(���R���Rá���R^���R¤���Rê���R ���RÆ���RQ���R ���RÔ���RØ���R²���Rz���R����Ri���Rñ���R���Rí���R ���Rô���R@���R���(����(����R���t���?���s:��� ÿ�9 ° {