migrate icon indicating copy to clipboard operation
migrate copied to clipboard

Future of migrate

Open mattes opened this issue 6 years ago • 12 comments

Everyone,

I started migrate 3 years ago and I'm happy it's seeing widespread adoption. I see forks at @99designs, @codeship, @uber, @segmentio, @newrelic, @gitgnu, @postmates and many more who find migrate helpful and try to help pushing it forward.

Some months ago I co-founded www.templarbit.com and ever since things are busier than ever. It's unfortunate, but I won't be able to keep maintaining migrate.

Who is interested in stepping in and taking migrate over?

mattes avatar Nov 18 '17 21:11 mattes

I just discovered this tool.. and sad that it's already going to lose its author.

Would you be willing to move the repo to its own org (maybe 'gomigrate') and allow active contributors to have commit access? It's probably the best way to keep the project maintained by giving ownership over to the lead contributors.

jadbox avatar Nov 23 '17 02:11 jadbox

I've created a fork with the following goals:

  1. Get tests passing again
  2. Merge in existing open PRs that add value (this is subjective) and require very little effort to verify correctness
  3. Push a new release

I won't have much time to dedicate to maintaining this fork so I'm looking for co-maintainers as well.

dhui avatar Jan 19 '18 09:01 dhui

@dhui looks like the build is broken due to cockroachdb not supporting go1.7 (it apparently uses a few things that apparently were added to go1.8).

# github.com/cockroachdb/cockroach-go/crdb
../../cockroachdb/cockroach-go/crdb/tx.go:41: undefined: sql.TxOptions
../../cockroachdb/cockroach-go/crdb/tx.go:43: db.BeginTx undefined (type *sql.DB has no field or method BeginTx)

This is the one that broke, apparently. https://github.com/cockroachdb/cockroach-go/pull/41#issuecomment-320996796

So probably need to either (a) drop go 1.7 support (b) vendor/pin cockroachdb to before that was merged

dropwhile avatar Jan 19 '18 10:01 dropwhile

FYI, the fork is now ready to use!

https://github.com/golang-migrate/migrate/releases/tag/v3.1.0

Tests are passing again, so contributions are welcome.

dhui avatar Jan 21 '18 08:01 dhui

It would be nice to see additional committers in that fork to avoid this happening again, @dhui.

dcormier avatar Jan 26 '18 17:01 dcormier

@dcormier

It would be nice to see additional committers in that fork to avoid this happening again, @dhui.

Agreed, but that's beyond my control. Technically you're a committer since I cherry-picked your commit 😉

Maybe we'll have another PR merged in after this one was closed: https://github.com/golang-migrate/migrate/pull/4

dhui avatar Jan 26 '18 19:01 dhui

Technically you're a committer since I cherry-picked your commit

I guess I mean someone else (anyone) who is responsive and has control of the org, in case you're kidnapped by pygmies.

dcormier avatar Jan 26 '18 19:01 dcormier

@mattes and maintainer team We use a lot of the migrate in pREST[1], if you want to move the project to the organization of pREST[2] will be very welcome (we have a great team to keep it)

[1] https://github.com/prest/prest [2] https://github.com/prest

avelino avatar Feb 04 '18 21:02 avelino

@avelino I'm hesitant to move the repo again unless there's a good reason to do so.

You and your team should feel free to make contributions to the fork. I can also make you and your team collaborators if you so desire once you've made a few contributions.

dhui avatar Feb 21 '18 01:02 dhui

@mattes Could a fork be blessed as the official continuation and this repo marked in the README as abandoned? I vendored it and was only aware it had been abandoned because I needed the Cassandra driver and it wasn't available in the latest release.

And now's a good a time as any: Thank you for all the work you did on migrate, it has been my go-to choice for Go projects for a while and certainly proved useful. Best of luck in your new endeavor!

mixedCase avatar Mar 09 '18 20:03 mixedCase

Thanks I would like this to be made official. We started using the tool today, it's fantastic being able to move out any DB migration out of the main app (much easier to deploy!)

Fire-Dragon-DoL avatar Mar 10 '18 00:03 Fire-Dragon-DoL

@dhui what're your thoughts on just adding @avelino and @dcormier as admins? Worst case they do nothing... best case they help a little. :)

nfisher avatar Mar 14 '18 03:03 nfisher