Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
751 changes: 615 additions & 136 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.2.0"
edition = "2024"

[dependencies]
axum = {version = "0.8.4", features = ["tower-log", "tokio"]}
axum = { version = "0.8.4", features = ["tower-log", "tokio"] }
tracing = { version = "0.1.41", features = ["async-await", "log", "valuable"] }
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
serde = { version = "1.0.219", features = ["derive"] }
Expand All @@ -13,12 +13,14 @@ tokio = { version = "1.47.1", features = ["rt", "rt-multi-thread", "fs", "macros
tokio-stream = "0.1.17"
clap = { version = "4.5.45", default-features = false, features = ["derive", "std", "help"] }
thiserror = "2.0.16"
async-trait = "0.1.89"

# broken deps
git-url-parse = "0.4.5"
url = { version = "2.5.4" }

[dev-dependencies]
axum-test = "18.1.0"
once_cell = "1.21.3"
rstest = "0.26.1"
tempfile = "3.20.0"
Expand Down
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ print_err() {
}

PLUGIN_NAME="nerjs/gitvol"
VERSION=$(cargo run --quiet -- --version | awk '{split($0,a," "); print a[2]}') || print_err "Failed to get version from cargo"
VERSION=$(RUST_LOG=error cargo run --quiet -- --version | awk '{split($0,a," "); print a[2]}') || print_err "Failed to get version from cargo"
BUILD_IMAGE="${PLUGIN_NAME}_rootfs_image"
BUILD_PATH="$PWD/build"
ROOTFS_PATH="$BUILD_PATH/rootfs"
Expand Down Expand Up @@ -91,8 +91,6 @@ create_plugin() {
docker plugin create "${PLUGIN_NAME}:${1}" "$BUILD_PATH" || print_err "Failed to create plugin"
}



build_rootfs_image
create_plugin $VERSION
create_plugin latest
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
volumes:
my-vol:
driver: nerjs/gitvol:latest
name: mv_v6
name: mv_v7
driver_opts:
url: https://github.com/nerjs/gitvol-test.git
refetch: "true"
174 changes: 0 additions & 174 deletions src/app/handlers.rs

This file was deleted.

46 changes: 0 additions & 46 deletions src/app/mod.rs

This file was deleted.

Loading