repos with username password
This commit is contained in:
parent
dda00b70ac
commit
345aeaf353
6 changed files with 155 additions and 11 deletions
|
|
@ -62,9 +62,16 @@ class RegistryService:
|
|||
name: str | None = None,
|
||||
description: str | None = None,
|
||||
branch: str = "main",
|
||||
access_username: str | None = None,
|
||||
access_password: str | None = None,
|
||||
) -> Repository:
|
||||
if name is None or description is None:
|
||||
checkout = self.ingestion.resolve(url, branch=branch)
|
||||
checkout = self.ingestion.resolve(
|
||||
url,
|
||||
branch=branch,
|
||||
access_username=access_username,
|
||||
access_password=access_password,
|
||||
)
|
||||
metadata = self.metadata_extractor.extract(checkout.source_path, url)
|
||||
else:
|
||||
metadata = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue