mirror of
https://github.com/hanzoai/s3.git
synced 2026-10-30 14:59:09 +00:00
Full internal rename — build-verified, every module green (root + s3-rdma-sidecar
+ telemetry/server + all test modules):
- Dirs: weed/→s3/ (main tree); cmd/weed-{db,sql}→cmd/s3-{db,sql};
seaweed-volume→s3-volume; seaweedfs-rdma-sidecar→s3-rdma-sidecar;
s3/mount/weedfs_*.go→s3fs_*.go (~113 path renames).
- Imports: github.com/hanzoai/s3/weed/ → /s3/ across 1700+ files.
- gRPC proto services Seaweed/SeaweedFiler/SeaweedMessaging/... → Hanzo*
(8 services) via full protoc regeneration (correct descriptors, no sed-corruption).
- Brand SeaweedFS/Seaweed/seaweed → Hanzo/hanzo; internal X-Seaweedfs-* headers
→ X-Hanzo-*; .seaweedfs config dir → .s3.
- CLI is `s3`: go install github.com/hanzoai/s3/s3@latest | make install | Docker.
install.sh rewritten as a Hanzo S3 installer.
- External forks github.com/seaweedfs/{raft,go-fuse,goexif,cockroachdb-parser}
kept verbatim — immutable third-party module paths; NOTICE retained.
Residual (cosmetic, non-build): kafka loadtest test-proto package com.seaweedfs.loadtest.
29 lines
584 B
Makefile
29 lines
584 B
Makefile
.PHONY: test test-short build-s3 clean
|
|
|
|
# Build s3 binary first if needed
|
|
build-s3:
|
|
cd ../../s3 && go build -o s3 .
|
|
|
|
# Run all integration tests
|
|
test: build-s3
|
|
go test -v -timeout 5m .
|
|
|
|
# Run tests in short mode (skip integration tests)
|
|
test-short:
|
|
go test -v -short .
|
|
|
|
# Run specific test
|
|
test-basic: build-s3
|
|
go test -v -timeout 3m -run TestMetadataSubscribeBasic .
|
|
|
|
test-stall: build-s3
|
|
go test -v -timeout 5m -run TestMetadataSubscribeSingleFilerNoStall .
|
|
|
|
test-resume: build-s3
|
|
go test -v -timeout 3m -run TestMetadataSubscribeResumeFromDisk .
|
|
|
|
clean:
|
|
rm -f ../../s3/s3
|
|
|
|
|