Package backend :: Package server :: Package importlib :: Module importLib
[hide private]
[frames] | no frames]

Module importLib

source code

Classes [hide private]
  DateType
  Item
First level object, that stores information in a hash-like structure
  BaseInformation
Second level object.
  Information
  Collection
  ChannelFamily
  DistChannelMap
  ReleaseChannelMap
  ChannelErratum
  IncompleteSourcePackage
  ChannelTrust
  ContentSourceSsl
  ContentSource
  Channel
  OrgTrust
  Org
  File
  Dependency
  ChangeLog
  Checksum
  IncompletePackage
  Package
A package is a hash of attributes
  SourcePackage
  Bug
  ErrataFile
  Keyword
  Erratum
  BaseArch
  CPUArch
  BaseTypedArch
  ServerArch
  PackageArch
  ChannelArch
  ServerPackageArchCompat
  ServerChannelArchCompat
  ChannelPackageArchCompat
  ServerGroupServerArchCompat
  KickstartFile
  KickstartableTree
  ProductName
  Error
  Import
  GenericPackageImport
  ImportException
  AlreadyUploadedError
  FileConflictError
  InvalidPackageError
  InvalidArchError
  InvalidChannelError
  MissingParentChannelError
  InvalidChannelFamilyError
  IncompatibleArchError
  InvalidSeverityError
  TransactionError
  Diff
Functions [hide private]
 
validateInformation(obj) source code
 
removeNone(list) source code
 
move_package(filename, basedir, relpath, checksum_type, checksum, force=None)
Copies the information from the file descriptor to a file Checks the file's checksum, raising FileConflictErrror if it's different The force flag prevents the exception from being raised, and copies the file even if the checksum has changed
source code
 
get_nevra(header) source code
 
get_nevra_dict(header) source code
Variables [hide private]
  NEVRA_TAGS = ['name', 'epoch', 'version', 'release', 'arch']
  __package__ = 'backend.server.importlib'