Package daklib :: Module archive
[hide private]
[frames] | no frames]

Module archive

source code

module to manipulate the archive

This module provides classes to manipulate the archive.

Classes [hide private]
manipulate the archive in a transaction
handle an upload
Functions [hide private]
daklib.dbconn.Component or None
source_component_from_package_list(package_list, suite)
Get component for a source package
source code

Imports: checks, Config, check_upload_for_external_signature_request, upload, daklib, FilesystemTransaction, re_changelog_versions, re_bin_only_nmu, os, shutil, NoResultFound, object_session, sqlalchemy, subprocess, traceback

Function Details [hide private]

source_component_from_package_list(package_list, suite)

source code 

Get component for a source package

This function will look at the Package-List field to determine the component the source package belongs to. This is the first component the source package provides binaries for (first with respect to the ordering of components).

It the source package has no Package-List field, None is returned.

Returns: daklib.dbconn.Component or None
component for the given source or None