+ source_proxy = source.proxy
+ package_list = PackageList(source_proxy)
+ if not package_list.fallback:
+ packages = package_list.packages_for_suite(self.upload.target_suite)
+ for p in packages:
+ check_override(p.name, p.type, p.priority, p.section, included=False)
+
+ # see daklib.archive.source_component_from_package_list
+ # which we cannot use here as we might not have a Package-List
+ # field for old packages
+ mapped_components = [ get_mapped_component_name(c) for c in components ]
+ query = self.session.query(Component).order_by(Component.ordering) \
+ .filter(Component.component_name.in_(mapped_components))
+ source_component = query.first().component_name
+