I was wondering why the tarball for 7.x-3.7 had gotten so much bigger than older versions (increased from less than 2 MB to 3.4 MB). Somehow, the zipcode database files got replicated into the main module directory, so all of these identical files are included twice. The change happened between the location-7.x-3.7-beta1 and location-7.x-3.7-beta2 releases.

Comments

SeanA created an issue. See original summary.

SeanA’s picture

I'll upload a patch if it will help, but it's an 8+ MB file. It might be quicker to just git rm the files?

jacob.embree’s picture

Would you mind downloading the latest 7.x-3.x and list here some of the duplicate files? I am not seeing any.

SeanA’s picture

The duplicate files are in the main module directory and in the /database directory. There are 9 of them (*.mysql files).

http://cgit.drupalcode.org/location/tree/

http://cgit.drupalcode.org/location/tree/database

ankur.addweb’s picture

I checked with 7.x-3.x-dev. The database files are at two places.

1 - root level of module
2 - inside database folder

As per INSTALL.txt, database folder is used. So mysql files from module root should be removed.

jacob.embree’s picture

Status: Active » Reviewed & tested by the community

I see and agree they should go.
git rm zipcodes.*.mysql
I'm setting the status to RTBC even though there's no patch because we agree the command above is the way to go.

amit.drupal’s picture

I am agree with @jacob.embree comment.