Skip to content

Remove hard-coded Solr version when generating Drupal solr config. #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2022

Conversation

alxp
Copy link
Contributor

@alxp alxp commented Jul 4, 2022

What does this Pull Request do?

Make the Drupal solr config version match the installed version of Solr.

What's new?

When generating the solr_config.zip file, the Drush command now uses the {{ solr_version }} from the inventory rather than the hard-coded "7.1".

  • Does this change require documentation to be updated? No
  • Does this change add any new dependencies? No
  • Does this change require any other modifications to be made to the repository
    (i.e. Regeneration activity, etc.)? No
  • Could this change impact execution of existing code? No

How should this be tested?

Run the playbook.

Go to /admin/config/search/search-api/server/

Click on the Default Solr Server and default index links. Check that Drupal does not print a warning about out-of-date solr config files

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora-Devops/committers

Copy link
Contributor

@rosiel rosiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works. Installs 8.11.1.

@alxp alxp merged commit 6169dd2 into dev Jul 7, 2022
@alxp alxp deleted the solr_version branch July 7, 2022 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants