Package daklib :: Module upload :: Class Changes
[hide private]
[frames] | no frames]

Class Changes

source code

Representation of a .changes file

Instance Methods [hide private]
 
__init__(self, directory, filename, keyrings, require_signature=True) source code
 
path(self)
path to the .changes file
source code
 
primary_fingerprint(self)
fingerprint of the key used for signing the .changes file
source code
 
valid_signature(self)
True if the .changes has a valid signature
source code
 
weak_signature(self)
True if the .changes was signed using a weak algorithm
source code
 
signature_timestamp(self) source code
 
contents_sha1(self) source code
 
architectures(self)
list of architectures included in the upload
source code
 
distributions(self)
list of target distributions for the upload
source code
 
source(self)
included source or None
source code
 
sourceful(self)
True if the upload includes source
source code
 
source_name(self)
source package name
source code
 
binaries(self)
included binary packages
source code
 
byhand_files(self)
included byhand files
source code
 
buildinfo_files(self)
included buildinfo files
source code
 
binary_names(self)
names of included binary packages
source code
 
closed_bugs(self)
bugs closed by this upload
source code
 
files(self)
dict mapping filenames to daklib.upload.HashedFile objects
source code
 
bytes(self)
total size of files included in this upload in bytes
source code
tuple
_key(self)
tuple used to compare two changes files
source code
 
__eq__(self, other) source code
 
__lt__(self, other) source code
Instance Variables [hide private]
str directory
directory the .changes is located in
str filename
name of the .changes file
dict-like changes
dict to access fields of the .changes file
Method Details [hide private]

path(self)

source code 

path to the .changes file

Decorators:
  • @property

primary_fingerprint(self)

source code 

fingerprint of the key used for signing the .changes file

Decorators:
  • @property

valid_signature(self)

source code 

True if the .changes has a valid signature

Decorators:
  • @property

weak_signature(self)

source code 

True if the .changes was signed using a weak algorithm

Decorators:
  • @property

signature_timestamp(self)

source code 
Decorators:
  • @property

contents_sha1(self)

source code 
Decorators:
  • @property

architectures(self)

source code 

list of architectures included in the upload

Decorators:
  • @property

distributions(self)

source code 

list of target distributions for the upload

Decorators:
  • @property

source(self)

source code 

included source or None

Decorators:
  • @property

sourceful(self)

source code 

True if the upload includes source

Decorators:
  • @property

source_name(self)

source code 

source package name

Decorators:
  • @property

binaries(self)

source code 

included binary packages

Decorators:
  • @property

byhand_files(self)

source code 

included byhand files

Decorators:
  • @property

buildinfo_files(self)

source code 

included buildinfo files

Decorators:
  • @property

binary_names(self)

source code 

names of included binary packages

Decorators:
  • @property

closed_bugs(self)

source code 

bugs closed by this upload

Decorators:
  • @property

files(self)

source code 

dict mapping filenames to daklib.upload.HashedFile objects

Decorators:
  • @property

bytes(self)

source code 

total size of files included in this upload in bytes

Decorators:
  • @property

_key(self)

source code 

tuple used to compare two changes files

We sort by source name and version first. If these are identical, we sort changes that include source before those without source (so that sourceful uploads get processed first), and finally fall back to the filename (this should really never happen).

Returns: tuple