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
b080288114
ips
/
pkg6depotd
/
src
/
http
/
handlers
/
mod.rs
7 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
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
file
;
pub
mod
info
;
Refactor to align with Rust formatting guidelines and enhance code readability. - Adjusted indentation and line breaks for structs, functions, and method calls to comply with Rust formatting standards. - Improved error message formatting and consistency across `PkgTreeError` instances. - Restructured long function arguments and chained calls for clarity and maintainability. - Simplified conditional statements and loops for better readability. - No functional changes introduced.
2025-12-22 20:10:17 +01:00
pub
mod
manifest
;
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
;
Refactor to align with Rust formatting guidelines and enhance code readability. - Adjusted indentation and line breaks for structs, functions, and method calls to comply with Rust formatting standards. - Improved error message formatting and consistency across `PkgTreeError` instances. - Restructured long function arguments and chained calls for clarity and maintainability. - Simplified conditional statements and loops for better readability. - No functional changes introduced.
2025-12-22 20:10:17 +01:00
pub
mod
versions
;
Reference in a new issue
Copy permalink