Problem/Motivation

Pretty much what the title says. When assembling the list of dependencies, the site exporter assumes that anything which isn't a core extension is in the drupal vendor namespace.

Not always an assumption that holds, and it both confuses people and potentially makes extra work for them.

Proposed resolution

Ask Composer to get the proper package name. This will be a performance hit, but I think it's worthwhile for the accuracy. Exporting a site is not performance-sensitive anyway.

If the package name can't be determined, then assume the prefix is drupal.

Issue fork drupal_cms-3584002

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Issue summary: View changes
phenaproxima’s picture

Status: Active » Needs review

  • phenaproxima committed bef80090 on 2.x
    feat (drupal_cms_helper): #3584002 The site exporter should try to...
phenaproxima’s picture

Status: Needs review » Fixed

@antiorario and I manually tested this in Slack over DM and he confirmed that this works as intended. Merged, then, into 2.x and cherry-picked to 2.1.x.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • phenaproxima committed 61236c82 on 2.1.x
    feat (drupal_cms_helper): #3584002 The site exporter should try to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.