Core_search_facets and rest_facets are incorrectly named - they should be "facets_core_search" and "facets_rest".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

borisson_ created an issue. See original summary.

borisson_’s picture

We'd only want to do this because we want to pas the PAR-bot, and because it's best practice to have the module name be the first part of the submodule names.

Doing this would mean leaving a dummy module with the old name behind - at least for one release.

ritzz’s picture

Assigned: Unassigned » ritzz
borisson_’s picture

So we have 400+ sites using core search, because this will break their sites, we should also write an upgrade path to move the configuration over.

ritzz’s picture

Status: Active » Needs review
FileSize
19.38 KB

Kindly Review.

Status: Needs review » Needs work

The last submitted patch, 5: rename-sub-modules-2911292-5.patch, failed testing. View results

ritzz’s picture

I am getting : No such directories error when I applied the patch.
How to resolve it?

borisson_’s picture

Thanks so much for helping out with this issue.

It looks like you only staged the changes after the files are already moved. If you created this from a new branch, it might help to do

git diff 8.x-1.x >
 patch.patch.

.

If you haven't done this work on a new branch, the easiest solution is to do git log, find the last commit that is on the remote and do a git diff to that. If you have the latest version that is git diff -M b1003c9 > patch.patch.

StryKaizer’s picture

Status: Needs work » Postponed

We are discussing moving core_search_facets out of facets and into a new contrib module.
Obviously, is this happens, this patch needs to be rerolled.

StryKaizer’s picture

Facets core search as separate project in #2911515: Move facets core search into a separate module

StryKaizer’s picture

Status: Postponed » Needs work

Needs reroll for facets_rest

borisson_’s picture

Status: Needs work » Needs review
FileSize
2.9 KB
StryKaizer’s picture

Status: Needs review » Needs work

Module is broken
facets_rest.info is not renamed

borisson_’s picture

Status: Needs work » Needs review
FileSize
223 bytes
2.9 KB

Renamed yml + actually test it this time.

StryKaizer’s picture

Assigned: ritzz » Unassigned
Status: Needs review » Reviewed & tested by the community

  • StryKaizer committed fcd581d on 8.x-1.x authored by borisson_
    Issue #2911292 by borisson_, ritzz, StryKaizer: Rename sub modules to...
StryKaizer’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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