Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support async compression * feat: update dependencies and improve build process - Updated .gitignore to consolidate vorpal-related entries. - Added new dependencies to Cargo.lock and Cargo.toml, including `futures`, `process-stream`, and `tap`. - Modified example/rust/vorpal.rs to use `coreutils` instead of `busybox`. - Updated flake.nix with a new `cargoSha256` value. - Simplified justfile by removing redundant profiles and adding a `clean` task. - Fixed key directory path in src/service/build/mod.rs. - Replaced `tokio::process::Command` with `process_stream::Process` in src/service/build/run_build.rs for better process handling. * Add tracing and converting all printlns to info logs (#20) * feat: add tracing dependencies, update cargoSha256 - Add `tracing` and `tracing-subscriber` dependencies to `Cargo.toml` and `Cargo.lock` - Update `cargoSha256` in `flake.nix` to reflect new dependencies - Implement tracing level configuration in `src/command/mod.rs` * refactor: remove unused imports and replace println with logging - Remove `tracing_subscriber::layer::SubscriberExt` import as it's unused. - Replace `println!` with appropriate logging macros (`info`, `debug`, `error`) across various modules for better log management and consistency. - Adjust log messages to follow a consistent format, enhancing readability and maintainability of log output. * Refactor code for enhanced readability and flexibility (#21) Co-authored-by: Erik Reinert <[email protected]> * feat: support async compression * feat: replace all error! with returned responses to client * refactor: remove unused import and improve compress_tar_gz function - Removed unused import `PathBuf` from `src/service/proxy/package/mod.rs`. - Added `OsStr` and `info` imports in `src/store/mod.rs`. - Refactored `compress_tar_gz` function to use generic parameters for better flexibility and type safety. - Simplified the `append_path_with_name` and `append_dir_all` calls by removing unnecessary clones. * chore(logging): replace println! with info! for better logging consistency Replaced println! statements with info! macro to ensure consistent logging practices across the codebase. This change affects the logging of prepared gzip and bzip2 sources in the prepare function. * fix: update cargoSha256 hash for buildRustPackage The cargoSha256 hash for the buildRustPackage has been updated from "sha256-I9yYNZEGJml2MyLK6BshNro7wFpn8MdZpUeGyMJs2o0=" to "sha256-VrAN1joJAs7puM76oyHIByNxovhDrp6t2Xw2FiG5tT4=". This change ensures the integrity and correctness of the package dependencies. * refactor: simplify error handling and source preparation logic - Refactored error handling in `run_prepare.rs` to use `if let` for better readability and maintainability. - Simplified the source kind preparation logic in `package/mod.rs` by replacing `match` with `if let` statements. - Improved code clarity and reduced nesting by handling specific MIME types directly in conditional blocks. --------- Co-authored-by: Andreas Diepenbrock <[email protected]> Co-authored-by: Brian <[email protected]>
- Loading branch information