Before 1.0: Rename packages to reflect origin
I feel it important that a package name reflects its owner. Right now people will see the old Google Code project as origin which is no longer accurate and is a waste of human time.
Perhaps it is better to rename to something more accurate:
- com.mongodb.morphia to reflect MongoDB Inc's stewardship
- org.mongodb.morphia to reflect MongoDB Inc's stewardship yet as a community project
- com.github.mongodb.morphia to reflect the location of the project
I might argue that org.mongodb.morphia is the most appropriate assuming MongoDB Inc maintain a community wiki page under mongodb.org/morphia. Otherwise the third option before my preference as I don't foresee mongodb.com/morphia being established soon.
To continue with the current packages is to continue with an itch without being able to scratch. And I hate projects that don't update. Doing so before 1.0 seems like the most perfect timing possible, reducing the complaints to a minimum.
Will post this to the users list to try and drive consensus.
I like option 1 best because that's a common pattern currently in the open source software ecosystem. When I go looking for dependencies in Maven, I never look for GitHub in the package name just because the project's development is on GitHub, and I'm not sure of one that does this...although I'm sure there are situations that people could point out. I tend to start by looking for package names that correspond with the company that owns/stewards the project and most of the time, that's an accurate starting place. (com.google.guava, com.fasterxml.jackson, etc.)
Personally, I favor option 2 since that's where the 3.x driver lives. Option 3 is always a bad choice regardless of hosting since it leads to this very situation. But still, even option 3 is better than what we have now.
I could be happy with option 2 as well. I guess it could go either way since the MongoDB documentation and community site is on mongodb.org while mongodb.com is the corporate site behind the company that started MongoDB and provides solutions/services around MongoDB.
+1 for option 2, so that it uses the same pattern as the driver.
+1 for option 2. But if it's going to happen, it's better happen soon.
OK. Here's the plan. The 0.104 release will fix a number of bugs. 0.105 will be the package rename option #2 above and that's it. The why the timing is looking that release should happen about the time my conference travel gets a bit hairy and I won't be terribly active writing much code. This window will give 0.105 time to marinate and for any last objections to be logged before further development builds on those renamed packages as we stabilize toward 1.0.
+1 for option 2 and a definitive -1 for option 3, for all the reasons already expressed here.
I've made the package changes and all the tests pass. My only real point of concern is the GWT module given all the arcane GWTness going on in there. So if you use GWT, it'd be great to test against a master build. I'll probably publish an actual 0.105 release tomorrow or the day after.
I took a quick look on Gwt Module and everything seems ok. Tomorrow I will test it and see if something is wrong.
Thanks so much. I really appreciate it.
No problem glad to help.
@evanchooly I found a problem so I fixed it and send you pull request.