Hook up recently introduced options to all listers
Hopefully one day we'll be able to replace all of this mess with PEP692 TypedDict kwargs, but that's only on track for Python 3.12.
This commit is contained in:
parent
5ea79ee3e0
commit
e785e67315
31 changed files with 195 additions and 3 deletions
|
@ -320,6 +320,9 @@ class NixGuixLister(StatelessLister[PageResult]):
|
|||
origin_upstream: str,
|
||||
instance: Optional[str] = None,
|
||||
credentials: Optional[CredentialsType] = None,
|
||||
max_origins_per_page: Optional[int] = None,
|
||||
max_pages: Optional[int] = None,
|
||||
enable_origins: bool = True,
|
||||
# canonicalize urls, can be turned off during docker runs
|
||||
canonicalize: bool = True,
|
||||
extensions_to_ignore: List[str] = [],
|
||||
|
@ -331,6 +334,9 @@ class NixGuixLister(StatelessLister[PageResult]):
|
|||
instance=instance,
|
||||
credentials=credentials,
|
||||
with_github_session=canonicalize,
|
||||
max_origins_per_page=max_origins_per_page,
|
||||
max_pages=max_pages,
|
||||
enable_origins=enable_origins,
|
||||
)
|
||||
# either full fqdn NixOS/nixpkgs or guix repository urls
|
||||
# maybe add an assert on those specific urls?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue