Coverage for distro_tracker/vendor/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v6.5.0, created at 2025-01-12 09:15 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2025-01-12 09:15 +0000
1# Copyright 2013 The Distro Tracker Developers
2# See the COPYRIGHT file at the top-level directory of this distribution and
3# at https://deb.li/DTAuthors
4#
5# This file is part of Distro Tracker. It is subject to the license terms
6# in the LICENSE file found in the top-level directory of this
7# distribution and at https://deb.li/DTLicense. No part of Distro Tracker,
8# including this file, may be copied, modified, propagated, or distributed
9# except according to the terms contained in the LICENSE file.
11"""An app which enables Distro Tracker to access vendor-specific functionality.
13Vendors can define their own specific set of rules for mail dispatch and the
14Web interface or provide additional data which Distro Tracker can plug in to
15appropriate functions.
17Each rule should be implemented as a callable which takes a defined set of
18arguments with a predefined name. The supported callables are listed in the
19:py:mod:`distro_tracker.vendor.skeleton.rules` module of the
20:py:mod:`distro_tracker.vendor.skeleton` package which can serve as a starting
21point for the implementation of the vendor-specific functions.
23.. note::
24 You should copy this package to a new directory and give it a descriptive
25 name.
27.. note::
28 Make sure the package is a valid Django app.
30"""
32# Re-export vendor.call
33from distro_tracker.vendor.common import call # noqa