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&