Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 May 07:41
· 144 commits to main since this release

Changelog

  • 721e702 (no commit message provided)
  • f00e2aa
  • 6d5b9c7 Okay, let's look at the diffs provided. The user wants a one-line Git commit message based on these changes. First, I need to understand what's changed.
  • 096fea4 Okay, let's look at the problem here. The user mentioned a build failure due to a non-constant format string in the debugf call. The error is in dumper.go line 67.
  • 62feee3 Okay, let's see. The user provided a diff for a Go file called gcs.go. The task is to generate a concise one-line Git commit message in Russian, following specific guidelines.
  • 520148e Okay, let's see. The user provided a log from an e2e test that's failing. The error is about a database not existing, specifically test_db1. The problem seems to be that the restore process isn't finding the files it needs.
  • 1f49732 Add renovate.json
  • 19b319a Initial commit
  • 04449c6 Merge pull request #1 from Slach/renovate/configure
  • 4f766e1 Merge pull request #10 from Slach/renovate/actions-setup-go-5.x
  • c37a615 Merge pull request #11 from Slach/renovate/docker-build-push-action-6.x
  • 4e23cd8 Merge pull request #12 from Slach/renovate/goreleaser-goreleaser-action-6.x
  • 8301f3d Merge pull request #13 from Slach/renovate/cloud.google.com-go-storage-1.x
  • 22af6d3 Merge pull request #14 from Slach/renovate/google.golang.org-api-0.x
  • 4494f09 Merge pull request #8 from Slach/renovate/google.golang.org-api-0.x
  • 45671a1 Refactor: Implement logFailMessage and move ryukDisabled code
  • 9ec08ac Revert ""
  • 2c437b7 Revert "feat: add --storage-path parameter for remote storage"
  • fe98892 Revert "fix: clean file paths to avoid duplicate temp dir segments"
  • 33339c6 add compression, test failed
  • a8e7fab add debug log to s3.go
  • cc03785 build: update go.mod dependencies
  • 2282eb0 build: update go.mod dependencies to resolve conflicts
  • 46fe8bd build: Обновить конфигурацию GoReleaser до v2
  • 3899636 chor: prepare configuration github actions + goreleaser
  • d2b7564 chore(deps): update actions/setup-go action to v5
  • 39d3f8f chore(deps): update docker/build-push-action action to v6
  • 51ee493 chore(deps): update goreleaser/goreleaser-action action to v6
  • 5beb7e6 ci: fixes for coverall reports
  • ff53a6d ci: добавить GitHub Action для запуска тестов с отчетом о покрытии
  • 09dc9f6 ci: обновить флаг goreleaser с --rm-dist на --clean
  • 724cdac ci: предоставить права на запись для публикации релиза
  • c9fd0f1 cleanup README.md
  • dd3c025 cleanup README.md
  • 2165a84 cleanup code after aider
  • 16f100b cleanup code after aider
  • 3f34d88 cleanup code after aider
  • d791019 cleanup code after aider, e2e_test.go passed
  • 7237f3d cleanup containers name in e2e_test.go
  • dd847e4 code clanup after aider
  • c776e20 code clanup after aider
  • ff994d2 code cleanup after aider
  • f19c959 code cleanup after aider
  • 9ea457f code cleanup after aider
  • 57e3b7a code cleanup after aider
  • 2500a73 code cleanup after aider
  • 4e93b78 code cleanup after aider
  • a66cb74 code cleanup after aider
  • fc9d7af code cleanup after aider
  • 543def5 code cleanup after aider
  • 5000100 code cleanup debug log for file.go after aider
  • 243fbab code cleanup, e2e test passed, now we ready for github actions and goreleaser
  • b5f45de feat: Enhance GCS client with custom endpoint and HTTP/2 support
  • f20f5d3 feat: Implement List and improve Download/error handling in storage
  • 139e04b feat: Pass debug parameter to NewGCSStorage and use debug transport
  • 204f64b feat: Support anonymous auth and custom transport for GCS storage
  • b3acee2 feat: Update fake-gcs-server and minio container startup parameters
  • 83026b6 feat: add --storage-path parameter for dump/restore operations
  • fe06b35 feat: add --storage-path parameter for remote storage
  • d6f2fad feat: add CLICKHOUSE_SKIP_USER_SETUP to test container
  • 9f26875 feat: add GCS credentials file support via --storage-key
  • 74ac091 feat: add MINIO_SCHEME env var to minio container config
  • 48ff699 feat: add S3 credentials and endpoint support
  • e29dac4 feat: add S3 storage backend
  • dc3bee2 feat: add backup name prefix to test file paths
  • 93d1ad2 feat: add database schema dump/restore support
  • 59b15f5 feat: add debug flag support for all storage backends
  • 1b627b3 feat: add debug logging for GCS requests and responses
  • 4afde8f feat: add debug logging for S3 storage operations
  • 323a2e3 feat: add debug logging support to storage implementations
  • 83aa745 feat: add debug logging to file storage operations
  • 00ebfd3 feat: add dump functionality
  • bd6de25 feat: add endpoint support for GCS storage
  • af203dd feat: add healthcheck to minio container
  • 7776700 feat: add initial application structure and restore logic
  • bee267c feat: add local file storage implementation
  • 5e5d2a5 feat: add recursive option to SFTP List method
  • 803b083 feat: add regex-based database/table filtering via CLI flags
  • 2bd1b59 feat: add required backupName parameter to dump/restore commands
  • 618a4da feat: add stub functions for dumper and restorer
  • 67faecd feat: add support for multiple storage backends
  • 5cae756 feat: define entrypoint as '/bin/sh' for startFakeGCSContainer
  • 6e4eb76 feat: implement quote-aware streaming restore from remote storage
  • 2dc8e72 feat: preserve test containers and temp dirs on test failure
  • 9193718 feat: refactor test config creation to use CLI flags
  • 21edfa1 feat: replace database flag with regex filtering options
  • 4305a50 feat: restore verifyTestData for S3 storage tests
  • 89b0820 feat: автоматически создавать контейнер Azure Blob при инициализации
  • 983105b feat: добавить IsDebug для RemoteStorage с проверкой LOG_LEVEL
  • c1e657d feat: добавить debug логирование в AzBlobStorage
  • b37afef feat: добавить детальное отладочное логирование для SFTP
  • 9de515c feat: добавить логирование отладки для azblob
  • 1a7babd feat: добавить отладочное логирование и улучшить FTP-контейнер
  • 89556e2 feat: добавить поддержку LOG_LEVEL для всех типов хранилищ
  • 08a6e97 feat: добавить сжатие SQL-запросов при восстановлении данных
  • 3681394 feat: измени настройки портов FTP-контейнера
  • 70b3b80 feat: разрешить подключение к FTP-контейнеру на портах 20000-20001
  • 5430b4c fix(deps): update module cloud.google.com/go/storage to v1.54.0
  • bce95e6 fix(deps): update module google.golang.org/api to v0.232.0
  • b192d8b fix(deps): update module google.golang.org/api to v0.233.0
  • 731d19f fix: Allow use of custom endpoint for Google Cloud Storage
  • 90c7d3f fix: Correctly configure GCS client with custom HTTP transport
  • 6514616 fix: Route GCS upload requests to custom endpoint if specified
  • 55430c8 fix: Use healthcheck command to wait for Minio in e2e tests
  • 07536c4 fix: Use user-provided GCS endpoint directly in storage.NewClient
  • 133ddc4 fix: add container names for testcontainers with reuse option
  • b059136 fix: add debug flag and fix storage initialization
  • 48f6e35 fix: add file storage support to restorer
  • d8149b6 fix: add minio credentials to s3 e2e test
  • 81f425d fix: add missing fmt import in storage
  • 44f40bc fix: add missing google.golang.org/api/option import
  • ca966de fix: add missing log import in s3.go
  • f561e77 fix: add missing test parameters and dependencies
  • 4b4577f fix: add storage type validation and s3 endpoint config
  • 162e2f3 fix: clean file paths to avoid duplicate temp dir segments
  • a110418 fix: correct Healthcheck field name to HealthConfig in testcontainer request
  • 790a65b fix: correct S3 download path handling and temp file cleanup
  • 42c4b0d fix: correct cli args handling in e2e tests
  • 46c6606 fix: correct cli context initialization in e2e tests
  • dd59258 fix: correct flag handling in e2e tests
  • 5d7085a fix: correct healthcheck type in minio container setup
  • a13e2b1 fix: correct port bindings in testcontainer configuration
  • d01276b fix: define dbName and tableName before use in dumper.go
  • 8fbe6fb fix: disable container reuse in e2e tests to prevent port conflicts
  • 3354ab6 fix: disable testcontainer reaper to debug failed tests
  • 32aabfd fix: implement RemoteStorage interface for S3 and AzBlob
  • e0eab79 fix: make test containers reusable to prevent premature cleanup
  • 98f23a2 fix: move Reuse field to GenericContainerRequest in test containers
  • 3878686 fix: properly handle storage paths in restorer file listing
  • 15b2d67 fix: properly initialize cli.Context in e2e tests
  • bc85014 fix: properly set args when creating cli.Context in tests
  • 69950a8 fix: properly verify system_db.settings exclusion in restore test
  • a0193ce fix: remove MINIO_SCHEME env var from e2e test
  • 96270eb fix: remove SkipReaper field from container requests
  • 606eabd fix: remove duplicate storage-account flag definition
  • 0adfa11 fix: remove system_db.settings from expected restored tables in test
  • 8338464 fix: remove unused debug parameter from storage constructors
  • 91e15ca fix: resolve undefined flag and variable declaration issues
  • ad9aef2 fix: resolve undefined variables and remove obsolete validation
  • 730363f fix: specify protocol in all MappedPort calls
  • c29ebd2 fix: start containers in e2e tests before use
  • 6b7430d fix: update AWS SDK v2 logging configuration in S3 storage
  • 052cc64 fix: update azblob list API to match current SDK requirements
  • 91874fb fix: wrap zstd decoder to implement io.ReadCloser
  • 1c39bac fix: Удалить дублирующую секцию contents в nfpm
  • 36666ea fix: добавить endpoint в вызов NewAzBlobStorage
  • f807ee8 fix: добавить проверку contentEncoding в dumpDatabaseSchema
  • c429d88 fix: использовать {{ .ArtifactPath }} для nfpm
  • 7ff12d5 fix: исправить аутентификацию в Azurite и инициализацию контейнера
  • d1dbde0 fix: исправить запуск SFTP контейнера в e2e тестах
  • abf9e7e fix: исправить обработку ошибок при закрытии соединения SFTP
  • 9432956 fix: исправить обработку пассивного режима FTP и добавить переподключение
  • 3aadc5c fix: исправить обработку пассивного режима FTP и расширений файлов
  • a24ee59 fix: исправить обработку путей в FTP хранилище
  • 0fd3528 fix: исправить ошибку с недопустимыми символами в именах контейнеров
  • 3acd45d fix: исправить поиск файлов в SFTP хранилище
  • db0d14a fix: исправить права доступа SFTP и улучшить создание директорий
  • 13fdbbc fix: исправить сопоставление портов для FTP-контейнера
  • 365db7b fix: уникальные имена контейнеров для параллельных тестов
  • d3d7e3e fix>: исправлены ошибки в логировании и перезаписи путей для GCS, улучшена производительность за счет оптимизации кода
  • cb358a7 intermediate commit to allow revert previous
  • e6b24a3 intermediate fixes, after vibe coding
  • 1a26517 refactor: Improve logging for container termination in e2e tests
  • bfc998c refactor: Improve test failure logging in e2e tests
  • af85434 refactor: Refactor GCS client creation and endpoint handling
  • 62521a6 refactor: Replace zerolog with standard library log in storage/gcs.go
  • 3881c52 refactor: add debug flag to control logging in FileStorage
  • ec973cc refactor: add debug parameter to NewFileStorage and implement debug logging
  • b0f0d85 refactor: call runDumper and runRestorer directly in e2e tests
  • 0440f82 refactor: convert storage config to CLI flags format in e2e tests
  • 43ed376 refactor: extract common test scenario logic into runMainTestScenario
  • 1ada978 refactor: implement recursive List for all storage backends
  • 31855c3 refactor: implement recursive listing in storage and restorer
  • 48ca2c5 refactor: improve Azure Blob Storage container handling
  • b3c3688 refactor: improve verifyDumpResults with recursive glob and compression support
  • c462ac9 refactor: isolate e2e tests with dedicated containers and cleanup
  • 55743e4 refactor: move debug flag from storage params to command args
  • c6c42e8 refactor: pass debug flag directly to storage constructors
  • 9edb740 refactor: remove SetDebug method and pass debug flag directly
  • 81e8feb refactor: remove unused debug parameter from storage constructors
  • acc4f2e refactor: remove unused stub functions from e2e tests
  • 4ce2ad6 refactor: rename test helper functions and update imports
  • 09acb28 refactor: replace --storage-config with individual storage parameters in e2e tests
  • 8b73c47 refactor: replace context.TODO() with context.Background() and fix S3 key handling
  • 259ae83 refactor: simplify S3 debug logging configuration
  • 53d86b8 refactor: simplify S3 download by using filename extension directly
  • f75a7d4 refactor: simplify file storage listing and improve error handling
  • 4f30c48 refactor: store storage path in StorageConfig instead of separate field
  • 17b31b9 refactor: trim leading slashes from S3 object keys
  • 115e67b refactor: update Azure Blob storage test params to match CLI flags
  • 19006d5 refactor: update minio container to use bitnami image with specified env vars
  • 1611e6b refactor: use POST with raw query body in ClickHouse client
  • 23785eb refactor: use Started: true in GenericContainerRequest instead of explicit c.Start
  • c20042b refactor: use map for storage config in e2e tests
  • ebabe77 refactor: use separate db/table paths and system.tables query
  • 8f6f01d refactor: use storage-endpoint instead of storage-host for S3
  • 306ba62 refactor: use storage-specific host parameter in e2e tests
  • 9379776 refactor: добавить поддержку предварительно сжатых данных из ClickHouse
  • 7a0e8aa refactor: замени ExecuteQueryStreaming на ExecuteQuery в dumpDatabaseSchema
  • 4fef036 refactor: заменить countChar на strings.Count в GCS транспорте
  • 66d5db4 refactor: запускать e2e-тесты параллельно
  • b11ff9c refactor: изменить healthcheck для SFTP контейнера на ожидание логов sshd
  • 2472591 refactor: использовать динамические порты PASV для параллельных тестов FTP
  • a99f908 refactor: использовать хеш имени теста для портов FTP
  • 8b60184 refactor: объединить NewFTPStorage и NewFTPStorageWithDebug
  • a7dc41c refactor: объединить NewSFTPStorage и NewSFTPStorageWithDebug
  • 5a73789 refactor: оптимизировать импорты и обработку ошибок в dumper.go
  • 19d5aea refactor: перевести комментарии с русского на английский
  • bdd1e3f refactor: удалить дублирование метода debugf в FTPStorage
  • 3b9e53e refactor: удалить код extensionsToTry из реализаций хранилищ
  • 33300a3 refactor: упростить FTP-клиент, удалить проверку расширений и улучшить List
  • d447a14 refactor: упростить List в FTPStorage с использованием Walk
  • 78db85b refactor: упростить и реорганизовать транспорт GCS
  • fb86b23 small code fixes after aider
  • 5d3ea4d small code fixes after aider
  • bd3716a small code fixes after aider
  • b34f9db small code fixes after aider
  • d1adf0a some code cleanup after aider
  • a16a4d4 some code cleanup after aider
  • 749ff1b some code cleanup after aider
  • d2aeb04 some code cleanup after aider
  • e29a69b some code cleanup after aider
  • f9bb28d some manual cleanups
  • baa4a6e try to debug e2e_test.go failures
  • 0d3a799 try to debug e2e_test.go failures
  • 288df88 try to debug e2e_test.go failures
  • 107af38 unfortunately, AI actually can't solve simple task to complete, like a dump junior
  • d511fbb unfortunately, AI actually can't solve simple task to complete, like a dump junior
  • c223927 unfortunately, AI actually can't solve simple task to complete, like a dump junior
  • 09deecb unfortunately, AI actually can't solve simple task to complete, like a dump junior
  • 4898b3d unfortunately, AI actually can't solve simple task to complete, like a dump junior
  • a05c3d1 unfortunately, AI actually can't solve simple task to complete, like a dump junior
  • d38fde9 update go.mod