working commit

This commit is contained in:
2026-02-21 20:07:37 +02:00
parent c6ce50308d
commit 685880c8a8
45 changed files with 255 additions and 453 deletions
+48 -93
View File
@@ -141,10 +141,10 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(mstorectl_SOURCES) $(mstored_SOURCES) \
$(EXTRA_mstored_SOURCES)
DIST_SOURCES = $(mstorectl_SOURCES) $(mstored_SOURCES) \
$(EXTRA_mstored_SOURCES)
SOURCES = $(mstorectl_SOURCES) $(EXTRA_mstorectl_SOURCES) \
$(mstored_SOURCES) $(EXTRA_mstored_SOURCES)
DIST_SOURCES = $(mstorectl_SOURCES) $(EXTRA_mstorectl_SOURCES) \
$(mstored_SOURCES) $(EXTRA_mstored_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
@@ -350,99 +350,54 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo
SUBDIRS = docs
SUBDIRS = mans
GOFLAGS = -v
mstorectl_SOURCES = \
cmd/mstorectl/filecmd.go \
cmd/mstorectl/imagecmd.go \
cmd/mstorectl/accountcmd.go \
cmd/mstorectl/grantcmd.go \
cmd/mstorectl/main.go
mstored_SOURCES = \
cmd/mstored/main.go
EXTRA_mstorectl_SOURCES = \
cmd/mstorectl/command/accountcmd.go \
cmd/mstorectl/command/grantcmd.go \
cmd/mstorectl/command/imagecmd.go \
cmd/mstorectl/command/util.go \
cmd/mstorectl/command/filecmd.go
mstored_SOURCES = cmd/mstored/main.go
EXTRA_mstored_SOURCES = cmd/mstored/starter/starter.go \
app/config/config.go app/config/variant.go \
pkg/descr/account.go pkg/descr/blob.go pkg/descr/file.go \
pkg/descr/grant.go pkg/descr/manifest.go pkg/descr/server.go \
app/handler/aaafunc.go app/handler/account.go \
app/handler/blob.go app/handler/file.go app/handler/grant.go \
app/handler/handler.go app/handler/manifest.go \
app/handler/notfound.go app/handler/response.go \
app/handler/service.go app/handler/version.go \
app/logger/logger.go app/maindb/account.go app/maindb/blob.go \
app/maindb/file.go app/maindb/grant.go app/maindb/init.go \
app/maindb/maindb.go app/maindb/manifest.go \
app/maindb/scheme.go app/operator/account.go \
app/operator/blob.go app/operator/file.go \
app/operator/grant.go app/operator/imgaux.go \
app/operator/manifest.go app/operator/ociaux.go \
app/operator/operator.go app/operator/service.go \
app/operator/version.go app/router/bindobj.go \
app/router/context.go app/router/corsmw.go \
app/router/loggingmw.go app/router/pathc.go \
app/router/recovermw.go app/router/router.go \
app/server/server.go app/service/service.go \
app/storage/storage.go pkg/auxhttp/basic.go \
pkg/auxhttp/crange.go pkg/auxoci/ociaux.go \
pkg/auxpwd/passwd.go pkg/auxtool/cleandir.go \
pkg/auxtool/fileex.go pkg/auxtool/randstr.go \
pkg/auxtool/tmpfile.go pkg/auxtool/unixnow.go \
pkg/auxutar/utar.go pkg/auxuuid/uuid.go \
pkg/auxx509/x509cert.go pkg/client/account.go \
pkg/client/client.go pkg/client/fileaux.go pkg/client/file.go \
pkg/client/grant.go pkg/client/httpcall.go \
pkg/client/imageaux.go pkg/client/imagedelete.go \
pkg/client/imageinfo.go pkg/client/imagepull.go \
pkg/client/imagepush.go pkg/client/service.go
CWD = $(shell pwd)
EXTRA_mstored_SOURCES = \
app/config/config.go \
app/config/variant.go \
\
pkg/descr/account.go \
pkg/descr/blob.go \
pkg/descr/file.go \
pkg/descr/grant.go \
pkg/descr/manifest.go \
pkg/descr/server.go \
\
app/handler/aaafunc.go \
app/handler/account.go \
app/handler/blob.go \
app/handler/file.go \
app/handler/grant.go \
app/handler/handler.go \
app/handler/manifest.go \
app/handler/notfound.go \
app/handler/response.go \
app/handler/service.go \
app/handler/version.go \
app/logger/logger.go \
\
app/maindb/account.go \
app/maindb/blob.go \
app/maindb/file.go \
app/maindb/grant.go \
app/maindb/init.go \
app/maindb/maindb.go \
app/maindb/manifest.go \
app/maindb/scheme.go \
\
app/operator/account.go \
app/operator/blob.go \
app/operator/file.go \
app/operator/grant.go \
app/operator/imgaux.go \
app/operator/manifest.go \
app/operator/ociaux.go \
app/operator/operator.go \
app/operator/service.go \
app/operator/version.go \
app/router/bindobj.go \
app/router/context.go \
app/router/corsmw.go \
app/router/loggingmw.go \
app/router/pathc.go \
app/router/recovermw.go \
app/router/router.go \
\
app/server/server.go \
app/service/service.go \
app/storage/storage.go \
\
pkg/auxhttp/basic.go \
pkg/auxhttp/crange.go \
pkg/auxoci/ociaux.go \
pkg/auxpwd/passwd.go \
pkg/auxtool/cleandir.go \
pkg/auxtool/fileex.go \
pkg/auxtool/randstr.go \
pkg/auxtool/tmpfile.go \
pkg/auxtool/unixnow.go \
pkg/auxutar/utar.go \
pkg/auxuuid/uuid.go \
pkg/auxx509/x509cert.go \
pkg/client/account.go \
pkg/client/client.go \
pkg/client/fileaux.go \
pkg/client/file.go \
pkg/client/grant.go \
pkg/client/httpcall.go \
pkg/client/imageaux.go \
pkg/client/imagedelete.go \
pkg/client/imageinfo.go \
pkg/client/imagepull.go \
pkg/client/imagepush.go \
pkg/client/service.go
EXTRA_DIST = vendor/ \
\
Containerfile \
@@ -1100,14 +1055,14 @@ uninstall-am: uninstall-binPROGRAMS uninstall-sbinPROGRAMS
.PRECIOUS: Makefile
mstorectl$(EXEEXT): $(mstorectl_SOURCES) $(EXTRA_mstored_SOURCES)
mstorectl$(EXEEXT): $(mstorectl_SOURCES) $(EXTRA_mstorectl_SOURCES) $(EXTRA_mstored_SOURCES)
env CGO_ENABLED=0 $(GO) build $(GOFLAGS) -o mstorectl$(EXEEXT) $(mstorectl_SOURCES)
mstored$(EXEEXT): $(mstored_SOURCES) $(EXTRA_mstored_SOURCES)
env CGO_ENABLED=1 $(GO) build $(GOFLAGS) -o mstored$(EXEEXT) $(mstored_SOURCES)
run: $(mstored_SOURCES)
cd cmd/mstored && env CGO_ENABLED=1 $(GO) run . -daemon=false
cd cmd/mstored && env CGO_ENABLED=1 $(GO) run .
format:
@dirs=$$($(FIND) $(CWD)/app $(CWD)/cmd $(CWD)/pkg $(CWD)/test \