Package yum :: Module sqlitesack :: Class YumAvailablePackageSqlite
[hide private]
[frames] | no frames]

Class YumAvailablePackageSqlite

source code


Instance Methods [hide private]
 
__init__(self, repo, db_obj)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_read_db_obj(self, db_obj, item=None)
read the db obj.
source code
 
_sql_MD(*args, **kwargs)
Exec SQL against an MD of the repo, return a cursor.
source code
 
__getattr__(self, varname) source code
 
_loadFiles(self) source code
 
_loadChangelog(self) source code
 
returnIdSum(self) source code
 
returnChangelog(self)
return changelog entries
source code
 
returnFileEntries(self, ftype='file', primary_only=False)
return list of files based on type, you can pass primary_only=True to limit to those files in the primary repodata
source code
 
returnFileTypes(self)
return list of types of files in the package
source code
 
simpleFiles(self, ftype='file') source code
 
returnPrco(self, prcotype, printable=False)
return list of provides, requires, conflicts or obsoletes
source code
 
_requires_with_pre(self)
returns requires with pre-require bit
source code

Inherited from packages.YumAvailablePackage: compactPrint, exclude, getDiscNum, importFromDict, localHdr, localPkg, prcoPrintable, printVer, requiresList, returnChecksums, returnHeaderFromPackage, returnLocalHeader, verifyLocalPkg, xml_dump_filelists_metadata, xml_dump_other_metadata, xml_dump_primary_metadata

Inherited from packages.PackageObject: __cmp__, __eq__, __getitem__, __ne__, __repr__, __str__, returnSimple, verCMP, verEQ, verGE, verGT, verLE, verLT

Inherited from packages.PackageObject (private): _ui_envra, _ui_nevra

Inherited from packages.RpmBase: __hash__, checkPrco, getProvidesNames, inPrcoRange, matchingPrcos, returnEVR, returnPrcoNames

Inherited from packages.RpmBase (private): _getBaseName

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  files

Inherited from packages.YumAvailablePackage: checksum, committer, committime, remote_path, remote_url, size, ui_from_repo

Inherited from packages.PackageObject: checksums, ui_envra, ui_nevra

Inherited from packages.RpmBase: EVR, base_package_name, changelog, conflicts, conflicts_names, conflicts_print, dirlist, filelist, ghostlist, obsoletes, obsoletes_names, obsoletes_print, provides, provides_names, provides_print, requires, requires_names, requires_print

Inherited from object: __class__

Method Details [hide private]

__init__(self, repo, db_obj)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_read_db_obj(self, db_obj, item=None)

source code 

read the db obj. If asked for a specific item, return it. otherwise populate out into the object what exists

_sql_MD(*args, **kwargs)

source code 

Exec SQL against an MD of the repo, return a cursor.

Decorators:
  • @catchSqliteException

returnIdSum(self)

source code 
Overrides: packages.PackageObject.returnIdSum

returnChangelog(self)

source code 

return changelog entries

Overrides: packages.RpmBase.returnChangelog
(inherited documentation)

returnFileEntries(self, ftype='file', primary_only=False)

source code 

return list of files based on type, you can pass primary_only=True to limit to those files in the primary repodata

Overrides: packages.RpmBase.returnFileEntries
(inherited documentation)

returnFileTypes(self)

source code 

return list of types of files in the package

Overrides: packages.RpmBase.returnFileTypes
(inherited documentation)

simpleFiles(self, ftype='file')

source code 
Overrides: packages.RpmBase.simpleFiles

returnPrco(self, prcotype, printable=False)

source code 

return list of provides, requires, conflicts or obsoletes

Overrides: packages.RpmBase.returnPrco
(inherited documentation)

_requires_with_pre(self)

source code 

returns requires with pre-require bit

Overrides: packages.YumAvailablePackage._requires_with_pre

Property Details [hide private]

files

Get Method:
unreachable(self)