Provide exportable configuration

Created on 24 October 2018, about 6 years ago
Updated 17 October 2024, 3 months ago

Configuration for the 8.x version of this module is not exportable
If this module had configuration management in place it would be easier to synchronize data from development to production.
I could not find any way to export configuration for this module in Configuration -> Development -> Configuration Synchronization -> Export

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India thepayalshetty Mumbai

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇺Australia elc

    Use ConfigEntity bundles to store the two types - meta and file.

  • 🇦🇺Australia elc

    Updating version to 3.0.x as this has become a full re-write of the module.

  • 🇦🇺Australia elc

    The "phpstan (next minor)" error is unavoidable until 📌 Backport Hook and LegacyHook Attribute Active lands. At that point both of the errors in the phpstan.neon file can be removed.

    Very much open on feedback and patches on this! Will be making a 3.0.0-beta1 release in about a week if I don't get feedback, and that'll be out in the world for testing from then on.

    One item of note is the simplification of the admin form for creating and editing the entities - it now only includes the name and the content fields, and does not have a full metatag entry, or a file upload field. There was already confusion about the file uploading part, fixed in 2.1.0-rc1, but it was added complexity that I didn't feel was needed in what was already a full re-write of the module.

  • 🇦🇺Australia elc

    Still @todo

    - Update README with current usage instructions (file/meta entry has changed to just name/content entry with parsing html meta line and file upload field processing no longer included)
    - Finish adding help hooks (code completed, not pushed)
    - Confirm if the forced validation currently coded breaks sync import of config, which was the entire point of this change

  • Status changed to Needs work 22 days ago
  • 🇦🇺Australia elc

    Confirmed that importing did not work with validation being a requirement but it not being automatic. Made validation automatic and required.

    @todo

    • ➖ Add test to import SiteVerification entities through config.
    • ➖ Update project home page

    Still waiting on release of 11.1 and 10.4 to get rid of the phpstan error about Hook/LegacyHook not existing yet.

  • 🇦🇺Australia elc

    Drupal 11.1.0 and 10.4.0 have been released, fixing the Legacy/Hook false positive.

    This will be merged into 3.0.x when I get the chance to update/write the release notes for dev/beta. Reviews always welcome, but not blocking.

    I feel the review will effectively be on the release which will be a new branch and a beta, and will not remove support from any of the existing branches, so this makes it safe enough for it to be released as is.

    • elc committed 3c6c9a48 on 3.0.x
      [#3008860] Convert from database storage to exportable ConfigEntityType.
      
  • 🇦🇺Australia elc

    Released as 3.0.0-beta1 or 3.0.0-beta2

    Follow up task 📌 Update project page Active

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

Production build 0.71.5 2024