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.
This will lead to this error when using https://github.com/antistatique/capdrupal (capistrano):
No submodule mapping found in .gitmodules for path 'profiles/campaignion_dist/libraries/mailchimp
The following folders have the problem
git ls-files --stage | grep 160000
160000 190cf58000ee4ed47900c78d5d4ef58c4cae0b49 0 profiles/campaignion_dist/libraries/mailchimp
160000 375227f845c99b2550a5c26d2a4911313cadb97c 0 profiles/campaignion_dist/libraries/stripe
160000 bf9d361e4e939286777751f4457af54b2e000c7c 0 profiles/campaignion_dist/libraries/timeago
I think the easiest fix is to remove and add them again (Without a .git folder). Perhaps someone has a smarter solution...
Comments
Comment #1
gagarine CreditAttribution: gagarine commentedComment #2
torotil CreditAttribution: torotil commentedIs this still an issue with campaignion_starterkit?
Comment #3
gagarine CreditAttribution: gagarine commentedYes I still have the issue with the campaignion_starterkit.
Comment #4
gagarine CreditAttribution: gagarine commentedThe way I fix it:
Comment #5
torotil CreditAttribution: torotil commentedIn the campagnion_starterkit repository there is no libraries/-folder. If you do a clean
git clone http://git.drupal.org/project/campaignion_starterkit.git -b 7.x-1.x
do you still see those folders?If not, then this seems more like a drush make issue.
Comment #6
gagarine CreditAttribution: gagarine commentedYou right, I downloaded the package from DO so as you say it's certainly a bug with drush make. All the problematic libraries use [download][type] = git .
How do you build the project locally using both .make file (drupal-org-core.make & drupal-org.make)? I try to find some documentation without success.
Comment #7
torotil CreditAttribution: torotil commentedWe use dbuild.py to build our drupal installations. So … what should we do with this bug-report? AFAIK drush uses github for it's issue queue.
Comment #8
gagarine CreditAttribution: gagarine commentedComment #9
gagarine CreditAttribution: gagarine commentedI don't think it's a drush problem after all. I tried to build the distribution using drush make only following this method: http://www.erpal.info/en/blog/drupal-distribution-packaging-with-drush-make and I didn't have any .git folder at the end.
So I think the problem come from drupalorg_drush (I was never able/enough interested to install this plugin).