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
Add support for backdrop-config-export (bcex) #74
Comments
This approach requires you version control the The workflow is as follows:
Gotchyas
@jenlampton @wesruv up for a review? |
@serundeputy I gave it a spin. Simple enough and works. One change I'd suggest, because it was unexpected, is to only copy the files in /active and not the directory itself. The command dumps the files so it looks like: |
thanks @herbdool Oh; sorry about that structure; I don't think I can copy just the files since we need deletions too. For example if one deletes a content type that will delete the corresponding config file in active, but if we just copy the files that deletion doesn't exist (it was deleted) in active. So copying just the files will copy the existing files from active to staging and overwrite the ones that were there, but the deletions don't exist and just leaves the old config file in staging. So, correct me if I'm wrong, think we need to move the entire active directory (deletions too), but I will look into reproducing that sub directory behaviour ( My ultimate plan is to take a backup of of the thanks again for testing! |
thanks @serundeputy I had assumed the script was deleting the files in staging first, no? Wouldn't that ensure removed config stays removed? |
… and config-export commands.
|
@serundeputy thanks for your work on this. How much work is it to add a flag so the user can specify what directory to export to? I think that could be quite useful for people using a different workflow. I saw it in the Drupal version of the command. |
I think I can get that going.
|
Determine workflow and write command for
backdrop-config-export
This command is also suffering from the namepsace conflicts that
en
,dis
, andsi
are suffering from. So, for the time being I'm going to move forward with thebackdrop-config-export
implementation.The text was updated successfully, but these errors were encountered: