forked from release-engineering/pubtools-pulplib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support searching by regex, with minor refactors
We have a use-case for searching repositories by regular expression, so let's implement that. Includes some backwards-compatible refactoring of the Criteria API. Criteria and Matcher are now two separate concepts. This avoids having to implement e.g. "with_field", "with_field_regex" and so on methods for any type of matching we might want to do.
- Loading branch information
Showing
11 changed files
with
304 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
Searching | ||
========= | ||
|
||
.. autoclass:: pubtools.pulplib.Page | ||
.. autoclass:: pubtools.pulplib.Criteria | ||
:members: | ||
|
||
.. autoclass:: pubtools.pulplib.Criteria | ||
.. autoclass:: pubtools.pulplib.Matcher | ||
:members: | ||
|
||
.. autoclass:: pubtools.pulplib.Page | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.