Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
SeanA CreditAttribution: SeanA commentedI'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?Comment #3
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commentedWould you mind downloading the latest 7.x-3.x and list here some of the duplicate files? I am not seeing any.
Comment #4
SeanA CreditAttribution: SeanA commentedThe 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
Comment #5
ankur.addweb CreditAttribution: ankur.addweb at AddWeb Solution Pvt. Ltd. commentedI 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.
Comment #6
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commentedI 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.
Comment #7
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedI am agree with @jacob.embree comment.