-
Notifications
You must be signed in to change notification settings - Fork 485
2.0 release? #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@botandrose hey, i'm glad that you agree and are interested in helping out with this much needed change for 2.0. (more here: #307) https://github.com/DatabaseCleaner/database_cleaner/tree/2-0 is a branch that i started a long time ago and i don't know how hard it will be to rebase the changes we have added to
i think you could give it a shot. it might be easier than you think. not much has changed since i opened that branch. mostly bug fixes in different adapters (and mostly connected to active-record.
yes, that's a good idea. i know that some of the adapters are old and probably used only in legacy applications. another idea i had before releasing 2.0 was to release a 1.99 version that has the usual deprecation warnings before a major release. similar to what they did with rspec back in the day: https://relishapp.com/rspec/rspec-core/v/2-99/docs/changelog i have very limited time to work on this, but we could pair on this during the week. alternatively you could get started with https://github.com/DatabaseCleaner/database_cleaner/tree/2-0 and https://github.com/DatabaseCleaner/database_cleaner-active_record. both of them share common history with https://github.com/DatabaseCleaner/database_cleaner/tree/master |
@etagwerker Okay, sounds great! I am glad you suggested cutting a 1.x deprecation release... I was thinking the same thing! I'm putting together an outline of what I'm thinking the road to 2.0 could look like, and will post it here for feedback, shortly. |
1.9.0
2.0.0
|
@etagwerker Heya, just checking in. I'm going to be starting up some big projects in a few weeks, so my window of opportunity to put in some significant hours on this is starting to close. I've done some additional work on branches, but they're currently blocked on some of the open PRs. I know you're very busy, but if you wouldn't mind taking a look at those PRs, that would do a lot to unblock me here. Or, if you're not interested in going this direction with DatabaseCleaner, that's cool too... no hard feelings! Just let me know either way. |
@botandrose Hey, I just merged a bunch of pull requests. I have limited time for open source projects as well (parenting and billable projects take most of my time). What PR is blocking you? It seems that your plan is similar to what I had in mind. A couple of comments:
I'm not sure that matters so much. Some gems are minimal and require little (no?) maintenance. I think The goal of dividing For the projects that seem unmaintained, we could refactor the code and release it as is. If a user finds an issue with If you want to continue my work with
This one we can definitely drop.
This one as well.
Yes, I think that's a good idea.
Let's start with v2.0.
I'd like to keep the base gem as minimal as possible. What do you think we should keep here? If it were up to me, I'd keep:
|
Hey @etagwerker, thanks for the merges and feedback! This is all very helpful. I only have a minute here, so I'll be brief, but I'd like core to provide adapter gems with as much of a test suite as possible, and that work is blocked by #538. I'm also looking into supporting adapter gems in the 1.x series, so users can see the deprecation warnings, but also have a path to fixing them, all within the same release, and that is blocked by #549. Lastly, do you have any thoughts on #546? Thanks again for your time! |
Any updates on the |
Hi @ThomasKoppensteiner! Thanks for your interest. Right now it's pretty much all on me. I'm currently preparing a v1.8.0.beta release to make sure that v1.8.0 is the smooth transition release between v1.x and v2.0.0 that we want it to be. I'm hoping to get this beta release out this weekend, and then follow with full v1.8.0 release a week later if there are no issues. From there, v2.0.0 should not be far behind at all, because it's just a bunch of deletion! |
Just released v1.8.0.beta for testing. More info here: https://groups.google.com/forum/#!topic/database_cleaner/YG-BX4zjWZQ |
v1.8.0 is out! Working on v2.0.0.beta now. |
I see 2.0.0 is out (so maybe this issue should be closed?) -- but I can't find any release notes anywhere, or an announcement. Is there anywhere I can find a list of breaking and other changes? I assume a 2.0 major release involves some breaking changes? |
@jrochkind In theory nothing should break if you are using ActiveRecord, but things might break if you are using another ORM. There are a few release notes over here: https://github.com/DatabaseCleaner/database_cleaner/blob/master/History.rdoc @botandrose Do you think it is necessary to have an announcement post? It seems that http://databasecleaner.github.io has fallen out of date. |
Ah perfect, thanks! I had somehow missed the |
@etagwerker I took a look at your 2-0 branch, and some of the other associated repos. I agree that this is the direction needed to pull database_cleaner out of dependency hell, and get Appraisals for different versions of AR, etc.
Now that the test suite is looking a bit better, I was thinking about taking a stab at this. It's been two years since your 2-0 branch and new repo extractions, though, so I was considering starting from current master instead. What do you think? Should we rebase the 2-0 branch and repo extractions, or start fresh?
Also, I imagine some adapters won't make it to the 2.0 release. I feel like its a safe bet to drop support the
mysql
gem, for example. ActiveRecord 3.x can also probably be given the chop. Datamapper seems to be unmaintained, ROM is probably the replacement? Couch Potato and Moped haven't had updates in years, etc. Any opinions?The text was updated successfully, but these errors were encountered: