~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/archive.py

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1004
1004
            # Really PackagePublishingPocket, circular import fixed below.
1005
1005
            vocabulary=DBEnumeratedType,
1006
1006
            required=False, readonly=True),
 
1007
        created_since_date=Datetime(
 
1008
            title=_("Created Since Date"),
 
1009
            description=_("Return entries whose `date_created` is greater "
 
1010
                          "than or equal to this date."),
 
1011
            required=False),
1007
1012
        exact_match=Bool(
1008
1013
            description=_("Whether or not to filter binary names by exact "
1009
1014
                          "matching."),
1015
1020
    @export_read_operation()
1016
1021
    def getAllPublishedBinaries(name=None, version=None, status=None,
1017
1022
                                distroarchseries=None, pocket=None,
1018
 
                                exact_match=False):
 
1023
                                exact_match=False, created_since_date=None):
1019
1024
        """All `IBinaryPackagePublishingHistory` target to this archive.
1020
1025
 
1021
1026
        :param: name: binary name filter (exact match or SQL LIKE controlled
1026
1031
        :param: pocket: `PackagePublishingPocket` filter.
1027
1032
        :param: exact_match: either or not filter source names by exact
1028
1033
                             matching.
 
1034
        :param: created_since_date: a filter on teh `date_created` of the
 
1035
                                    publishing record.
1029
1036
 
1030
1037
        :return: A collection containing `BinaryPackagePublishingHistory`.
1031
1038
        """