Dale Hui
f2e5e31837
Remove offical Firebird support from README
2019-04-26 22:52:56 -07:00
Dale Hui
10e2545ceb
Update dependencies to resolve: https://github.com/golang-migrate/migrate/issues/202
2019-04-26 19:09:13 -07:00
Dale Hui
89970b8951
Bring built-in and supported sources and databases into parity
2019-04-26 19:04:37 -07:00
Dale Hui
66510b82c4
Remove official support for Firebird
...
- In the future, support for Firebird should also include v2.5
2019-04-26 19:04:05 -07:00
Kirill Muratov
6c96ef02df
Enabled maligned, staticcheck and errcheck linters ( #206 )
...
* Enabled maligned check
* Enabled staticcheck
* Fixes for golint
* Enabled errcheck linter
* Added fixes for error check
* Added errcheck for tests
* Fixed test
* Increased golangci-lint deadline for travis
* Increased golangci-lint deadline for travis
* Decreased golangci-lint deadline for travis
* Revert for backward compatibility
* Using log.Println() instead of fmt.Println()
* Handling os.RemoveAll() errors
* Using t.Error(error) instead of t.Errorf("%v", err)
* Using t.Fatal(error) instead of t.Fatalf("%v", err)
* Using fmt.Sprint(sum) instead of t.Srintf("%v", sum)
* Refactoring
* Revert for backward compatibility
* Revert
* go mod tidy
* Added error logging
* Added error logging
* Added error handling
* Added error handling
* Added error logging
* Fix error logging
* Added error handling
* Fix
* Added logging for migr.Buffer()
* Fixes
* Firebird test disabled
* Fixed nolint comment
* Updated firebird docker image version
* Disabled test for firebird 2.5
* Fixed // nolint
2019-04-26 15:47:16 -07:00
Dale Hui
ddc72468fc
Update packages that depend on the wrong golint import path
...
Addresses: https://github.com/golang-migrate/migrate/issues/202
2019-04-09 00:31:17 -07:00
Dale Hui
16197b67e3
Update to golangci-lint v1.16.0
...
- Fix newly raised issues
2019-04-07 00:51:27 -07:00
Dale Hui
6e2056f5b4
Include firebird db driver in default builds
2019-04-05 23:25:57 -07:00
Dale Hui
8d63b3f95b
Remove spurious list item
2019-03-28 21:35:54 -07:00
Dale Hui
43e4503343
Update golangci-lint config and implore contributors to use it
...
- Run golangci-lint on tests and fix found issues
2019-03-28 18:55:12 -07:00
Dale Hui
c1404f0f98
Merge pull request #194 from kmuratov/master
...
Enabled golangci-lint
2019-03-28 11:57:10 -07:00
Kirill Muratov
46ee425bac
Updated golangci.yml
2019-03-28 19:30:02 +03:00
Kirill Muratov
81f457f379
Added newline
2019-03-26 22:05:47 +03:00
Kirill Muratov
07c594d988
Added scopelint check
2019-03-26 22:01:12 +03:00
Kirill Muratov
be4c129168
Added interfacer, unconvert, goconst, nakedret, prealloc
2019-03-23 00:40:35 +03:00
Kirill Muratov
ef4a805b02
Added misspell linter
2019-03-22 23:57:00 +03:00
Kirill Muratov
5059f0bee6
Fixes for govet
2019-03-22 23:05:19 +03:00
Kirill Muratov
c31948caeb
Fixed dockerclient.NewEnvClient is depricated
2019-03-22 22:47:24 +03:00
Kirill Muratov
2758eb210f
Fixes for unused linter
2019-03-22 22:08:29 +03:00
Kirill Muratov
465060c9a7
Fixes for gosimple linter
2019-03-22 22:02:08 +03:00
Kirill Muratov
8f6bfb0295
Added golangci-lint config
2019-03-22 21:11:31 +03:00
Dale Hui
cac03318eb
List Gitlab as a supported source
2019-03-21 01:54:59 -07:00
Dale Hui
7bf5fd7859
Add missing backtick
2019-03-21 01:54:41 -07:00
Kirill Muratov
2c9773ed89
Added Firebird support ( #191 )
...
* Added Firebird support
* Fixed typo
* Refactoring
* Schema migrations table name don't have to be upper case
* Fixed readme
* Added Firebird 2.5 support
* Removed SchemaName
* Refactoring
2019-03-21 01:51:49 -07:00
Cyrille Hemidy
46fb82ce3d
Fmt ( #189 )
...
* fix gofmt -s
* fix gofmt -s + fix mispelling
2019-03-13 12:15:21 -07:00
Bence Patyi
144aaaa986
Gitlab source ( #184 )
...
* New Gitlab source
* fix: use net package to build url string
* add: gitlab source to Makefile and Dockerfile
2019-03-10 18:38:23 -07:00
Dale Hui
14f26d8818
Update supported Go versions badge
...
Drop 1.10 and add 1.12
2019-03-07 11:42:22 -08:00
Dale Hui
f8f7beea54
Deploy using Go 1.12
2019-03-02 02:04:53 -08:00
Dale Hui
c6c22b34c8
Fix broken "versions" table formatting in README
2019-03-01 18:52:20 -08:00
Dale Hui
752cdc3b11
Update "versions" table in the README
...
- Reflect supported versions
- With Go 1.12 released, module support is no longer an issue
2019-03-01 18:49:12 -08:00
Dale Hui
f5c4ccff1f
Update dependencies
2019-03-01 17:45:37 -08:00
Dale Hui
5e004dbef4
Fix issues with new version of MongoDB driver:
...
- "connect=single" option is no longer supported
- "connect=direct" is the equivalent
- https://jira.mongodb.org/browse/GODRIVER-665
- Count() needs to be passed a non-nil filter/document
- https://jira.mongodb.org/browse/GODRIVER-572
2019-03-01 17:44:40 -08:00
Dale Hui
4fba554b47
Drop support for go1.10
...
- Remove dep package pinnings
2019-03-01 14:37:54 -08:00
Dale Hui
6593dc8dbf
Support Go 1.12
2019-02-27 23:44:23 -08:00
Lukas Joergensen
480a5a634a
postgres: Move lock out of ensureVersionTable, for consistency with other SQL operations ( #173 )
...
* Consistently lock in ensureVersionTable and do not call ensureVersionTable from Drop across all database implementations
* Add test for dropping postgres databases
* Fix failing database tests
* Fix CockroachDb test, lock table should be created before versionTable
* Add Initialize() to Driver interface, and add integration tests for Drop() between database implementations and migrate
* Remove Initialize, document breaking behaviour of Drop
* Revert introduction of Initialize method
* Removed Initialize in Stub as well
* Remove call to non-existent Initialize and make sure to close re-initialized database connections
* Revert changes to TestDrop in database/testing
* Split Test and TestMigrate into different test entrypoints
* Remove unused import in migrate_testing
* Remove erroneous code to fix tests
* Add stub source imports to database tests
* Add Stub source to migrate tests
* Use example migrations for tests
* Add file driver to database tests
* Align database directory layout
* Add file source driver to Cassandra
* Review changes
* Minor syntactic change for cleaner diff
2019-02-26 15:56:57 -08:00
Dale Hui
f213007d4d
Use alpine 3.9 for building Docker images
2019-02-19 03:25:47 -08:00
Dale Hui
0f8263de2e
Remove unnecessary panics from core implementation
2019-02-19 02:07:07 -08:00
Dale Hui
9b449be538
Merge pull request #176 from jszwedko/quote-postgres-identifiers
...
Quote postgres table identifiers when `DROP`ing
2019-02-18 03:14:11 -08:00
Jesse Szwedko
3db0395e0a
Replace " quoting with pq.QuoteIdentifier for postgres driver
2019-02-18 11:44:38 +01:00
Jesse Szwedko
fe66cd7734
Quote postgres table identifiers when `DROP`ing
...
Handles table identifiers that are invalid without quotes (such as
uppercase letters).
2019-02-18 11:29:10 +01:00
Dale Hui
4190b85018
Merge pull request #175 from plutov/master
...
Add mongodb driver to Dockerfile
2019-02-18 02:05:12 -08:00
Alex Pliutau
0a355bbee0
Add mongodb driver to Dockerfile
2019-02-18 10:15:23 +01:00
Dale Hui
c0f025d2f6
Merge pull request #167 from arpando/fix/DocumentNilError
...
Fix document nil error
2019-02-05 03:48:34 -08:00
Arcadio Pando
56620dc3dd
Fix document nil error
2019-02-04 17:37:22 +01:00
Dale Hui
598addc6d7
Merge pull request #166 from bcho/fix/sqlite3-migration-table
...
sqlite3: fix wrong schema table usage
2019-02-02 11:19:58 -08:00
hbc
95e701da6a
sqlite3: fix wrong schema table usage
...
fixes: https://github.com/golang-migrate/migrate/issues/165
2019-02-02 13:22:40 +08:00
Dale Hui
f6d624c729
Merge pull request #150 from tsenart/atomic-migrations-table-creation
...
postgres: Make `ensureVersionTable` atomic
2019-01-15 11:55:50 -08:00
Dale Hui
5ad19c5071
Run `dep ensure`
...
- Updates Gopkg.lock after github.com/hashicorp/go-multierror package was manually added to Gopkg.toml
2019-01-15 11:33:17 -08:00
Tomás Senart
41a595f62a
fixup! Add github.com/hashicorp/go-multierror@v1.0.0 to Gopkg.yaml
2019-01-15 11:28:49 +01:00
Tomás Senart
f58da1d4dc
fixup! More explicit conditionals
2019-01-15 11:28:49 +01:00