Suggestion: Provide exportable config for this plugin

Created on 20 February 2024, 9 months ago
Updated 21 February 2024, 9 months ago

In many cases we don't want to be able to update the Extensions form at all on a production site. It would be useful to be able to have the values entered with this tool exportable as config, so that when committed to the repo and migrated into the remote site with drush cim, it all appears as entered, without having to re-create it there.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States datawench

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @datawench
  • πŸ‡ΊπŸ‡ΈUnited States cobblestone.consulting

    Thanks for the suggestion @datawench. There is currently import/export functionality, though it does not use the config system since that is not where the data is stored.

    You can find these options at Extend -> Documentation -> Export ( or Import). You should be able to take the file created/downloaded from Export and upload it on a different (or the same) site/environment to (re)populate all of the data entered through this module.

    Note that it will overwrite all existing data (records that have the same IDs) though it won't delete newer records on the target environment that don't have a corresponding/matching ID in the import file.

  • Status changed to Closed: won't fix 9 months ago
  • Status changed to Active 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States datawench

    Don't mean to be a noodge, but might you consider a drush command? Again, my concern here is with deployment automation. I offer here a possible addition. The idea is that its export() would generate a file that you could commit to the repo, and the CI/CD builder could execute the import().

  • πŸ‡ΊπŸ‡ΈUnited States cobblestone.consulting

    I would be happy to include a drush command, esp. since you provided it. Thanks for that. I was more focused on the config aspect of the request when I closed this.

    Can you create an MR for this?

  • Status changed to Needs review 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cobblestone.consulting

    This feature has been merged and will be included in the next release. It will also be available in the next roll of the dev release.

Production build 0.71.5 2024