Closed
Conversation
- Add support for viper
Enable configuration
- Add support for dsn and individual parameters
Configuration support for database string
Merge latest changes from opensource migrate
* Update alpine and golang versions * Refresh go modules
* 'master' of github.com:golang-migrate/migrate: (418 commits) Run gofmt on internal build dir go mod tidy Resolves golang-migrate#647 - Fixes typos in Mongo advisory locking parameters (golang-migrate#648) Bump version of autorest/adal Set syntax highlighting for pkger example Add pkger to README change github auth to use oauth token instead of basic. Use the recommended v4 in mysql README go mod tidy fix test Delete all rows Use ParseBool Support for AWS Keyspaces Update gosnowflake from v1.4.3 to v1.6.3 Update docker client usage with breaking change Update dktest to v0.3.7 to fix security warnings revert binary file location change in docker image fix source/file driver Update build constraints Update golangci-lint config ...
* upgrade alpine 3.13 -> 3.18 * add --pull to docker build
* adding pgx as the supported hotload base driver * updating go.mod file
* pgx migrate test (#29) * add hotload support (#15) * import fsync * Upgrade alpine 3.13 -> 3.18 (#21) * upgrade alpine 3.13 -> 3.18 * add --pull to docker build * adding pgx as the supported hotload base driver (#26) * adding pgx as the supported hotload base driver * updating go.mod file * removing the pgx register in migrate (#27) * register hotload with pgx driver --------- Co-authored-by: Daniel Garcia <dgarcia@infoblox.com> Co-authored-by: Ying Chen <108433798+ychen-bloxer@users.noreply.github.com> Co-authored-by: Supriya Gowda <105773269+Gowdasupriya@users.noreply.github.com> * register pgx in main cli, not internal (#30) * register pgx in main cli, not internal * go fmt --------- Co-authored-by: Sujay Kumar Suman <ssuman2@infoblox.com> Co-authored-by: Ying Chen <108433798+ychen-bloxer@users.noreply.github.com> Co-authored-by: Supriya Gowda <105773269+Gowdasupriya@users.noreply.github.com>
* First pass at downmigrate * First pass at downmigrate * downmigrate changes + UTs + cleanups * address comments
…own feature (#37) * address comments * address comments + new UTs * address comments * remove build files
* Update go version and dependencies * Update go versions in ci
- Add new 'install-to DIR' subcommand that copies the running binary to a specified directory - Uses atomic operations: copy to temp file, then rename for atomicity - Preserves executable permissions (755) from original binary - Handles errors gracefully with proper exit codes and cleanup - Validates destination directory exists and is actually a directory - Integrated with existing help system and command structure Implementation details: - New file: internal/cli/commands_install_to.go - core functionality - New file: internal/cli/commands_install_to_test.go - comprehensive test suite - Modified: internal/cli/main.go - CLI integration and command parsing Testing: - 7 test functions covering unit and integration testing - Tests atomic operations, error handling, permission preservation - Tests CLI interface, help system, and edge cases - All tests passing This feature enables easy binary deployment and self-updating workflows while maintaining compatibility with upstream migrate project structure.
feat: add install-to subcommand for binary self-installation
0f032ae to
4cfc3ed
Compare
Pull Request Test Coverage Report for Build 17663161495Details
💛 - Coveralls |
4cfc3ed to
c05581b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.