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

Class Source

source code

Representation of a source package

Instance Methods [hide private]
 
__init__(self, directory, hashed_files, keyrings, require_signature=True) source code
 
files(self)
dict mapping filenames to HashedFile objects for additional source files
source code
 
primary_fingerprint(self)
fingerprint of the key used to sign the .dsc
source code
 
valid_signature(self)
True if the .dsc has a valid signature
source code
 
weak_signature(self)
True if the .dsc was signed using a weak algorithm
source code
 
component(self)
guessed component name
source code
 
filename(self)
filename of .dsc file
source code
Class Methods [hide private]
 
from_file(cls, directory, filename, keyrings, require_signature=True) source code
Instance Variables [hide private]
list of HashedFile hashed_files
list of source files (including the .dsc itself)
dict-like dsc
dict to access fields in the .dsc file
daklib.packagelist.PackageList package_list
Information about packages built by the source.
Method Details [hide private]

files(self)

source code 

dict mapping filenames to HashedFile objects for additional source files

This list does not include the .dsc itself.

Decorators:
  • @property

primary_fingerprint(self)

source code 

fingerprint of the key used to sign the .dsc

Decorators:
  • @property

valid_signature(self)

source code 

True if the .dsc has a valid signature

Decorators:
  • @property

weak_signature(self)

source code 

True if the .dsc was signed using a weak algorithm

Decorators:
  • @property

component(self)

source code 

guessed component name

Might be wrong. Don't rely on this.

Decorators:
  • @property

filename(self)

source code 

filename of .dsc file

Decorators:
  • @property