morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Before 1.0: Rename packages to reflect origin

Open jmkgreen opened this issue 13 years ago • 12 comments

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:

  1. com.mongodb.morphia to reflect MongoDB Inc's stewardship
  2. org.mongodb.morphia to reflect MongoDB Inc's stewardship yet as a community project
  3. 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.

jmkgreen avatar Sep 03 '13 06:09 jmkgreen

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.)

whitlockjc avatar Sep 03 '13 15:09 whitlockjc

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.

evanchooly avatar Sep 03 '13 15:09 evanchooly

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.

whitlockjc avatar Sep 03 '13 15:09 whitlockjc

+1 for option 2, so that it uses the same pattern as the driver.

paulbakker avatar Sep 03 '13 15:09 paulbakker

+1 for option 2. But if it's going to happen, it's better happen soon.

ismetozalp avatar Sep 05 '13 13:09 ismetozalp

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.

evanchooly avatar Sep 06 '13 17:09 evanchooly

+1 for option 2 and a definitive -1 for option 3, for all the reasons already expressed here.

russellbateman avatar Sep 06 '13 17:09 russellbateman

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.

evanchooly avatar Sep 16 '13 21:09 evanchooly

I took a quick look on Gwt Module and everything seems ok. Tomorrow I will test it and see if something is wrong.

ismetozalp avatar Sep 16 '13 21:09 ismetozalp

Thanks so much. I really appreciate it.

evanchooly avatar Sep 16 '13 22:09 evanchooly

No problem glad to help.

ismetozalp avatar Sep 16 '13 22:09 ismetozalp

@evanchooly I found a problem so I fixed it and send you pull request.

ismetozalp avatar Sep 18 '13 08:09 ismetozalp