This website requires JavaScript.
Explore
Help
Sign in
CloudNebulaProject
/
ips
Watch
1
Star
0
Fork
You've already forked ips
0
mirror of
https://codeberg.org/Toasterson/ips.git
synced
2026-04-11 05:40:41 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
d0fcdbec20
ips
/
pkg6depotd
/
src
/
http
/
handlers
/
mod.rs
7 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Introduce foundational structure for `pkg6depotd` - Added initial implementation of the `pkg6depotd` server with modular components for CLI parsing, configuration management, HTTP handling, repository access, and daemonization. - Implemented basic server startup logic with a default router and placeholder handlers. - Integrated telemetry initialization and configuration fallback mechanism for ease of development. - Updated `Cargo.toml` and `Cargo.lock` to include dependencies necessary for server functionality.
2025-12-08 20:11:05 +01:00
pub
mod
versions
;
Add repository handling and foundational HTTP routes for `pkg6depotd` - Implemented `DepotRepo` for repository access, including methods for catalog path, file path, and manifest retrieval. - Introduced foundational HTTP routes for catalog, manifest, file, and package info retrieval. - Added integration tests to validate repository setup and basic server functionality. - Modularized HTTP handlers for better maintainability and extended them with new implementations like `info` and `manifest` handling. - Refactored `main` function to simplify initialization and leverage reusable `run` logic in a new `lib.rs`. - Updated `Cargo.toml` and `Cargo.lock` to include new dependencies: `walkdir` and updated testing utilities.
2025-12-08 20:50:20 +01:00
pub
mod
catalog
;
pub
mod
manifest
;
pub
mod
file
;
pub
mod
info
;
Add REST API v1 endpoints and legacy catalog handling for `pkg6depotd` - Expanded repository structure by introducing methods for fetching legacy catalogs, catalog file paths, and repository info. - Added new REST API v1 endpoints for catalog, manifest, file, and publisher handling. - Implemented `publisher` handler module with `get_publisher_v0` and `get_publisher_v1` methods to retrieve publisher details in pkg5 format. - Updated `integration_tests` to validate new endpoints and ensure compatibility with legacy and modern catalog/manifest handling. - Removed unused dependency `walkdir` and refactored test cases for clarity and efficiency.
2025-12-08 21:36:37 +01:00
pub
mod
publisher
;
Reference in a new issue
Copy permalink