From fe91517e3fda98e08047010b07c7538ce6a76cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=91=D0=BE=D1=80=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Fri, 6 Feb 2026 15:31:35 +0200 Subject: [PATCH] working commit --- app/config/config.go | 9 +++++++++ app/config/variant.go | 9 +++++++++ app/descr/blob.go | 9 +++++++++ app/descr/file.go | 9 +++++++++ app/descr/manifest.go | 9 +++++++++ app/descr/response.go | 9 +++++++++ app/handler/blob.go | 9 +++++++++ app/handler/file.go | 9 +++++++++ app/handler/handler.go | 9 +++++++++ app/handler/manifest.go | 9 +++++++++ app/handler/notfound.go | 9 +++++++++ app/handler/response.go | 9 +++++++++ app/handler/service.go | 9 +++++++++ app/handler/version.go | 9 +++++++++ app/logger/logger.go | 9 +++++++++ app/logger/logger_test.go | 9 +++++++++ app/maindb/blob.go | 9 +++++++++ app/maindb/file.go | 9 +++++++++ app/maindb/file_test.go | 9 +++++++++ app/maindb/maindb.go | 9 +++++++++ app/maindb/manifest.go | 9 +++++++++ app/maindb/schema.go | 9 +++++++++ app/operator/blob.go | 9 +++++++++ app/operator/file.go | 9 +++++++++ app/operator/imgaux.go | 9 +++++++++ app/operator/manifest.go | 9 +++++++++ app/operator/ociaux.go | 9 +++++++++ app/operator/operator.go | 9 +++++++++ app/operator/service.go | 9 +++++++++ app/operator/version.go | 9 +++++++++ app/router/bindobj.go | 9 +++++++++ app/router/context.go | 9 +++++++++ app/router/corsmw.go | 9 +++++++++ app/router/loggingmw.go | 9 +++++++++ app/router/pathc.go | 9 +++++++++ app/router/pathc_test.go | 9 +++++++++ app/router/recovermw.go | 9 +++++++++ app/router/router.go | 9 +++++++++ app/router/router_test.go | 9 +++++++++ app/server/server.go | 9 +++++++++ app/service/service.go | 9 +++++++++ app/storage/storage.go | 9 +++++++++ cmd/mstorectl/filecmd.go | 9 +++++++++ cmd/mstorectl/imagecmd.go | 9 +++++++++ cmd/mstorectl/main.go | 9 +++++++++ cmd/mstored/main.go | 11 ++++++++++- pkg/auxhttp/crange.go | 9 +++++++++ pkg/auxoci/ociaux.go | 9 +++++++++ pkg/auxtool/cleandir.go | 9 +++++++++ pkg/auxtool/randstr.go | 9 +++++++++ pkg/auxtool/unixnow.go | 9 +++++++++ pkg/auxutar/utar.go | 9 +++++++++ pkg/auxuuid/uuid.go | 9 +++++++++ pkg/auxx509/x509cert.go | 9 +++++++++ pkg/auxx509/x509cert_test.go | 9 +++++++++ pkg/client/cliaux.go | 9 +++++++++ pkg/client/client.go | 9 +++++++++ pkg/client/fileaux.go | 9 +++++++++ pkg/client/filelife_test.go | 9 +++++++++ pkg/client/imageaux.go | 9 +++++++++ pkg/client/imageinfo.go | 9 +++++++++ pkg/client/imagelife_test.go | 9 +++++++++ pkg/client/imagepull.go | 9 +++++++++ pkg/client/imagepush.go | 9 +++++++++ test/file_test.go | 9 +++++++++ 65 files changed, 586 insertions(+), 1 deletion(-) diff --git a/app/config/config.go b/app/config/config.go index d3e21d9..29bde99 100644 --- a/app/config/config.go +++ b/app/config/config.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package config import ( diff --git a/app/config/variant.go b/app/config/variant.go index 9bba10e..3c25d6d 100644 --- a/app/config/variant.go +++ b/app/config/variant.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package config const ( diff --git a/app/descr/blob.go b/app/descr/blob.go index 6cfddbf..5e1c460 100644 --- a/app/descr/blob.go +++ b/app/descr/blob.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package descr type Blob struct { diff --git a/app/descr/file.go b/app/descr/file.go index f48a4cb..ef91832 100644 --- a/app/descr/file.go +++ b/app/descr/file.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package descr type File struct { diff --git a/app/descr/manifest.go b/app/descr/manifest.go index ccfb941..6019645 100644 --- a/app/descr/manifest.go +++ b/app/descr/manifest.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package descr type Manifest struct { diff --git a/app/descr/response.go b/app/descr/response.go index c7db620..647adea 100644 --- a/app/descr/response.go +++ b/app/descr/response.go @@ -1 +1,10 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package descr diff --git a/app/handler/blob.go b/app/handler/blob.go index a274a46..e3ff30c 100644 --- a/app/handler/blob.go +++ b/app/handler/blob.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/file.go b/app/handler/file.go index 15bc792..f17aee7 100644 --- a/app/handler/file.go +++ b/app/handler/file.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/handler.go b/app/handler/handler.go index 8ce9fde..7a9c28f 100644 --- a/app/handler/handler.go +++ b/app/handler/handler.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/manifest.go b/app/handler/manifest.go index 377e872..5738472 100644 --- a/app/handler/manifest.go +++ b/app/handler/manifest.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/notfound.go b/app/handler/notfound.go index 2dea2e1..253f742 100644 --- a/app/handler/notfound.go +++ b/app/handler/notfound.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/response.go b/app/handler/response.go index b531bbf..1dcd29f 100644 --- a/app/handler/response.go +++ b/app/handler/response.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/service.go b/app/handler/service.go index 5a3bf7c..9582079 100644 --- a/app/handler/service.go +++ b/app/handler/service.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/handler/version.go b/app/handler/version.go index d9ff447..d1b6bfb 100644 --- a/app/handler/version.go +++ b/app/handler/version.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package handler import ( diff --git a/app/logger/logger.go b/app/logger/logger.go index 75f69bc..ced0698 100644 --- a/app/logger/logger.go +++ b/app/logger/logger.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package logger import ( diff --git a/app/logger/logger_test.go b/app/logger/logger_test.go index 88d4275..9026484 100644 --- a/app/logger/logger_test.go +++ b/app/logger/logger_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package logger import ( diff --git a/app/maindb/blob.go b/app/maindb/blob.go index 4ef26f7..6a2ca5c 100644 --- a/app/maindb/blob.go +++ b/app/maindb/blob.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package maindb import ( diff --git a/app/maindb/file.go b/app/maindb/file.go index 316712e..460c00b 100644 --- a/app/maindb/file.go +++ b/app/maindb/file.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package maindb import ( diff --git a/app/maindb/file_test.go b/app/maindb/file_test.go index 7d4c541..c34e262 100644 --- a/app/maindb/file_test.go +++ b/app/maindb/file_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package maindb import ( diff --git a/app/maindb/maindb.go b/app/maindb/maindb.go index bef62bc..b04850d 100644 --- a/app/maindb/maindb.go +++ b/app/maindb/maindb.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package maindb import ( diff --git a/app/maindb/manifest.go b/app/maindb/manifest.go index 55fad9e..c7bcbce 100644 --- a/app/maindb/manifest.go +++ b/app/maindb/manifest.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package maindb import ( diff --git a/app/maindb/schema.go b/app/maindb/schema.go index adc7e75..abb2e91 100644 --- a/app/maindb/schema.go +++ b/app/maindb/schema.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package maindb const schema = ` diff --git a/app/operator/blob.go b/app/operator/blob.go index 58dc6d5..68c9ef0 100644 --- a/app/operator/blob.go +++ b/app/operator/blob.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/operator/file.go b/app/operator/file.go index bde5d4a..9b1c8ca 100644 --- a/app/operator/file.go +++ b/app/operator/file.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/operator/imgaux.go b/app/operator/imgaux.go index e5bd414..de760a9 100644 --- a/app/operator/imgaux.go +++ b/app/operator/imgaux.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/operator/manifest.go b/app/operator/manifest.go index 4a813be..60a5d84 100644 --- a/app/operator/manifest.go +++ b/app/operator/manifest.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/operator/ociaux.go b/app/operator/ociaux.go index fbdd767..5f7d26c 100644 --- a/app/operator/ociaux.go +++ b/app/operator/ociaux.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/operator/operator.go b/app/operator/operator.go index be588bc..72de918 100644 --- a/app/operator/operator.go +++ b/app/operator/operator.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/operator/service.go b/app/operator/service.go index 2173d3d..f791edb 100644 --- a/app/operator/service.go +++ b/app/operator/service.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator type SendHelloParams struct{} diff --git a/app/operator/version.go b/app/operator/version.go index d81bbdc..f2b9e75 100644 --- a/app/operator/version.go +++ b/app/operator/version.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package operator import ( diff --git a/app/router/bindobj.go b/app/router/bindobj.go index 5420915..ef1d4f6 100644 --- a/app/router/bindobj.go +++ b/app/router/bindobj.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/router/context.go b/app/router/context.go index ec45a29..808ba8f 100644 --- a/app/router/context.go +++ b/app/router/context.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/router/corsmw.go b/app/router/corsmw.go index ae0d830..af85ba9 100644 --- a/app/router/corsmw.go +++ b/app/router/corsmw.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router func NewCorsMiddleware() MiddlewareFunc { diff --git a/app/router/loggingmw.go b/app/router/loggingmw.go index 0fe1416..0a86cc3 100644 --- a/app/router/loggingmw.go +++ b/app/router/loggingmw.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router func NewLoggingMiddleware(print func(string, ...any)) MiddlewareFunc { diff --git a/app/router/pathc.go b/app/router/pathc.go index bd367e4..b1ca57a 100644 --- a/app/router/pathc.go +++ b/app/router/pathc.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/router/pathc_test.go b/app/router/pathc_test.go index 19afdc3..3509477 100644 --- a/app/router/pathc_test.go +++ b/app/router/pathc_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/router/recovermw.go b/app/router/recovermw.go index 6e135b6..bc5749c 100644 --- a/app/router/recovermw.go +++ b/app/router/recovermw.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/router/router.go b/app/router/router.go index de2f620..571c600 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/router/router_test.go b/app/router/router_test.go index 116d425..c9f6ac0 100644 --- a/app/router/router_test.go +++ b/app/router/router_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package router import ( diff --git a/app/server/server.go b/app/server/server.go index dedae35..9d2bad4 100644 --- a/app/server/server.go +++ b/app/server/server.go @@ -7,6 +7,15 @@ * Distribution of this work is permitted, but commercial use and * modifications are strictly prohibited. */ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ /* * Это произведение распространяется под лицензией Creative Commons diff --git a/app/service/service.go b/app/service/service.go index 5970d82..b905c79 100644 --- a/app/service/service.go +++ b/app/service/service.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package service import ( diff --git a/app/storage/storage.go b/app/storage/storage.go index 03b0db7..c5bb1c0 100644 --- a/app/storage/storage.go +++ b/app/storage/storage.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package storage import ( diff --git a/cmd/mstorectl/filecmd.go b/cmd/mstorectl/filecmd.go index c9a5e2a..8cc2af4 100644 --- a/cmd/mstorectl/filecmd.go +++ b/cmd/mstorectl/filecmd.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package main import ( diff --git a/cmd/mstorectl/imagecmd.go b/cmd/mstorectl/imagecmd.go index e338808..1e1bd29 100644 --- a/cmd/mstorectl/imagecmd.go +++ b/cmd/mstorectl/imagecmd.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package main import ( diff --git a/cmd/mstorectl/main.go b/cmd/mstorectl/main.go index 94d3c80..3c4032b 100644 --- a/cmd/mstorectl/main.go +++ b/cmd/mstorectl/main.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package main import ( diff --git a/cmd/mstored/main.go b/cmd/mstored/main.go index e24e407..aa40cc2 100644 --- a/cmd/mstored/main.go +++ b/cmd/mstored/main.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package main import ( @@ -33,7 +42,7 @@ func run() error { } func main() { - log := logger.NewLogger("main") + log := logger.NewLoggerWithSubject("main") err := run() if err != nil { log.Errorf("%v", err) diff --git a/pkg/auxhttp/crange.go b/pkg/auxhttp/crange.go index 4869e73..fced06b 100644 --- a/pkg/auxhttp/crange.go +++ b/pkg/auxhttp/crange.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxhttp import ( diff --git a/pkg/auxoci/ociaux.go b/pkg/auxoci/ociaux.go index 965eaba..95d71b1 100644 --- a/pkg/auxoci/ociaux.go +++ b/pkg/auxoci/ociaux.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxoci import ( diff --git a/pkg/auxtool/cleandir.go b/pkg/auxtool/cleandir.go index e5538fc..396874e 100644 --- a/pkg/auxtool/cleandir.go +++ b/pkg/auxtool/cleandir.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxtool import ( diff --git a/pkg/auxtool/randstr.go b/pkg/auxtool/randstr.go index 5a65306..8829d19 100644 --- a/pkg/auxtool/randstr.go +++ b/pkg/auxtool/randstr.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ /* * Copyright 2019 Oleg Borodin */ diff --git a/pkg/auxtool/unixnow.go b/pkg/auxtool/unixnow.go index 2c7371d..bb55ed5 100644 --- a/pkg/auxtool/unixnow.go +++ b/pkg/auxtool/unixnow.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxtool import ( diff --git a/pkg/auxutar/utar.go b/pkg/auxutar/utar.go index 1aceef9..4ac905f 100644 --- a/pkg/auxutar/utar.go +++ b/pkg/auxutar/utar.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxutar import ( diff --git a/pkg/auxuuid/uuid.go b/pkg/auxuuid/uuid.go index c210837..c8baac3 100644 --- a/pkg/auxuuid/uuid.go +++ b/pkg/auxuuid/uuid.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxuuid import ( diff --git a/pkg/auxx509/x509cert.go b/pkg/auxx509/x509cert.go index c2cb28f..00d0348 100644 --- a/pkg/auxx509/x509cert.go +++ b/pkg/auxx509/x509cert.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxx509 import ( diff --git a/pkg/auxx509/x509cert_test.go b/pkg/auxx509/x509cert_test.go index 33236db..47f8c2f 100644 --- a/pkg/auxx509/x509cert_test.go +++ b/pkg/auxx509/x509cert_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package auxx509 import ( diff --git a/pkg/client/cliaux.go b/pkg/client/cliaux.go index 9f16d23..a319804 100644 --- a/pkg/client/cliaux.go +++ b/pkg/client/cliaux.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/client.go b/pkg/client/client.go index 59013e0..b1b2fe4 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/fileaux.go b/pkg/client/fileaux.go index 4111bd9..64b4dc5 100644 --- a/pkg/client/fileaux.go +++ b/pkg/client/fileaux.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/filelife_test.go b/pkg/client/filelife_test.go index 66ea497..0054a60 100644 --- a/pkg/client/filelife_test.go +++ b/pkg/client/filelife_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/imageaux.go b/pkg/client/imageaux.go index 711406f..dadbfc4 100644 --- a/pkg/client/imageaux.go +++ b/pkg/client/imageaux.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/imageinfo.go b/pkg/client/imageinfo.go index 92d7baf..3440ed7 100644 --- a/pkg/client/imageinfo.go +++ b/pkg/client/imageinfo.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/imagelife_test.go b/pkg/client/imagelife_test.go index e8ffc6b..1c1816e 100644 --- a/pkg/client/imagelife_test.go +++ b/pkg/client/imagelife_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/imagepull.go b/pkg/client/imagepull.go index c71f636..878960e 100644 --- a/pkg/client/imagepull.go +++ b/pkg/client/imagepull.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/pkg/client/imagepush.go b/pkg/client/imagepush.go index 177b2a5..0c79a77 100644 --- a/pkg/client/imagepush.go +++ b/pkg/client/imagepush.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package client import ( diff --git a/test/file_test.go b/test/file_test.go index f3179dc..260c295 100644 --- a/test/file_test.go +++ b/test/file_test.go @@ -1,3 +1,12 @@ +/* + * Copyright 2026 Oleg Borodin + * + * This work is published and licensed under a Creative Commons + * Attribution-NonCommercial-NoDerivatives 4.0 International License. + * + * Distribution of this work is permitted, but commercial use and + * modifications are strictly prohibited. + */ package test import (