Package dak :: Module process_unchecked
[show private | hide private]
[frames | no frames]

Module dak.process_unchecked

Function Summary
  accept(summary, short_summary)
  acknowledge_new(summary, short_summary)
  action()
  check_changes()
  check_deb_ar(filename)
Sanity check the ar of a .deb, i.e.
  check_distributions()
Check and map the Distribution field of a .changes file.
  check_dsc()
  check_files()
  check_hashes()
  check_signed_by_key()
Ensure the .changes is signed by an authorized uploader.
  check_source()
  check_timestamps()
  check_urgency()
  clean_holding()
  copy_to_holding(filename)
  do_autobyhand(summary, short_summary)
  do_byhand(summary, short_summary)
  do_oldstableupdate(summary, short_summary)
  do_stableupdate(summary, short_summary)
  get_changelog_versions(source_dir)
Extracts a the source package and (optionally) grabs the version history out of debian/changelog for the BTS.
  init()
  is_autobyhand()
  is_byhand()
  is_embargo()
  is_new()
  is_oldstableupdate()
  is_stableupdate()
  is_unembargo()
  lookup_uid_from_fingerprint(fpr)
  main()
  move_to_dir(dest, perms, changesperms)
  process_it(changes_file)
  queue_embargo(summary, short_summary)
  queue_unembargo(summary, short_summary)
  reject(str, prefix)
  remove_from_unchecked()
  upload_too_new()
  usage(exit_code)

Variable Summary
dict changes = {}
NoneType Cnf = None                                                                  
dict dsc = {}
dict dsc_files = {}
dict files = {}
dict in_holding = {}
NoneType Logger = None                                                                  
NoneType Options = None                                                                  
dict pkg = {}
SRE_Pattern re_changelog_versions = ^\w[-\+0-9a-z\.]+ \([^\(\) \t]+\...
SRE_Pattern re_spacestrip = (\s)
SRE_Pattern re_strip_revision = -([^-]+)$
SRE_Pattern re_strip_srcver = \s+\(\S+\)$
SRE_Pattern re_valid_pkg_name = ^[\dA-Za-z][\dA-Za-z\+-\.]+$
SRE_Pattern re_valid_version = ^([0-9]+:)?[0-9A-Za-z\.-\+:~]+$
str reject_message = ''
int reprocess = 0                                                                     
NoneType Upload = None                                                                  

Imported modules:
apt_inst, apt_pkg, commands, dak.daklib.database, errno, fcntl, dak.daklib.logging, os, dak.daklib.queue, re, shutil, stat, sys, tempfile, time, traceback, dak.daklib.utils
Imported classes:
BooleanType, BufferType, BuiltinFunctionType, BuiltinMethodType, ClassType, CodeType, ComplexType, DictionaryType, DictProxyType, DictType, EllipsisType, FileType, FloatType, FrameType, FunctionType, GeneratorType, InstanceType, IntType, LambdaType, ListType, LongType, MethodType, ModuleType, NoneType, NotImplementedType, ObjectType, SliceType, StringType, TracebackType, TupleType, TypeType, UnboundMethodType, UnicodeType, XRangeType
Imported exceptions:
CantOpenError, CantOverwriteError, DakError, FileExistsError, InvalidDscError, NoFilesFieldError, NoFreeFilenameError, NoSourceFieldError, ParseChangesError, ParseMaintError, SendmailFailedError, TransitionsError, UnknownFormatError
Imported variables:
StringTypes
Function Details

check_deb_ar(filename)

Sanity check the ar of a .deb, i.e. that there is:

 o debian-binary
 o control.tar.gz
 o data.tar.gz or data.tar.bz2

in that order, and nothing else.

check_distributions()

Check and map the Distribution field of a .changes file.

check_signed_by_key()

Ensure the .changes is signed by an authorized uploader.

get_changelog_versions(source_dir)

Extracts a the source package and (optionally) grabs the version history out of debian/changelog for the BTS.

Variable Details

changes

Type:
dict
Value:
{}                                                                     

Cnf

Type:
NoneType
Value:
None                                                                  

dsc

Type:
dict
Value:
{}                                                                     

dsc_files

Type:
dict
Value:
{}                                                                     

files

Type:
dict
Value:
{}                                                                     

in_holding

Type:
dict
Value:
{}                                                                     

Logger

Type:
NoneType
Value:
None                                                                  

Options

Type:
NoneType
Value:
None                                                                  

pkg

Type:
dict
Value:
{}                                                                     

re_changelog_versions

Type:
SRE_Pattern
Value:
^\w[-\+0-9a-z\.]+ \([^\(\) \t]+\)                                      

re_spacestrip

Type:
SRE_Pattern
Value:
(\s)                                                                   

re_strip_revision

Type:
SRE_Pattern
Value:
-([^-]+)$                                                              

re_strip_srcver

Type:
SRE_Pattern
Value:
\s+\(\S+\)$                                                            

re_valid_pkg_name

Type:
SRE_Pattern
Value:
^[\dA-Za-z][\dA-Za-z\+-\.]+$                                           

re_valid_version

Type:
SRE_Pattern
Value:
^([0-9]+:)?[0-9A-Za-z\.-\+:~]+$                                        

reject_message

Type:
str
Value:
''                                                                     

reprocess

Type:
int
Value:
0                                                                     

Upload

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sat Jan 24 18:08:17 2009 http://epydoc.sf.net