dakweb.routers.source¶
Functions
|
Return all source packages and versions known to the archive (includes NEW). |
|
Find all dsc files for a given source package in a given suite. |
|
Check if a file pattern is known to the archive (SQL LIKE syntax). |
|
Check if files with matching sha256sums are known to the archive. |
|
Find all Debian source packages which have the specified metadata set. |
|
Return all source packages and versions in a given suite. |
Classes
|
|
|
|
|
|
|
- class dakweb.routers.source.DscInSuite(*, version: str, component: str, filename: str, filesize: int, sha256sum: str)[source]¶
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class dakweb.routers.source.FileInArchive(*, filename: str, component: str, sha256sum: str)[source]¶
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class dakweb.routers.source.SourceByMetadata(*, source: str, metadata_value: str)[source]¶
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class dakweb.routers.source.SourcesInSuite(*, source: str, version: str)[source]¶
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- dakweb.routers.source.all_sources(db: Session = Depends(get_db)) list[SourcesInSuite][source]¶
Return all source packages and versions known to the archive (includes NEW).
- dakweb.routers.source.dsc_in_suite(suite: str, source: str, db: Session = Depends(get_db)) list[DscInSuite][source]¶
Find all dsc files for a given source package in a given suite.
- dakweb.routers.source.file_in_archive(filepattern: str, db: Session = Depends(get_db)) list[FileInArchive][source]¶
Check if a file pattern is known to the archive (SQL LIKE syntax).
- dakweb.routers.source.sha256sum_in_archive(sha256sum: str, db: Session = Depends(get_db)) list[FileInArchive][source]¶
Check if files with matching sha256sums are known to the archive.