Skip to content
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

bcim copies non-config files too #223

Open
ghost opened this issue May 19, 2020 · 2 comments
Open

bcim copies non-config files too #223

ghost opened this issue May 19, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented May 19, 2020

I'm working on B.org and when I import config from staging, I get a new README file in dev-active. It's the README from the staging directory (so it's contents don't make sense when read from the dev-active directory). I have to just remove it before committing changes, but it'd be nice if instead drush's bcim only copied config files over (e.g. *.json). Would that be possible?

@serundeputy
Copy link
Member

serundeputy commented May 19, 2020

sounds possible.

what bcim really needs to do is leverage the Backdrop config import api to run the necessary DB ops as well: #162

right now bcim is strictly a file system operation which is great compared to nothing, but if you add a new field to a content type for example Backdrop will not know about that.

I think if bcim leveraged the Backdrop API it would not move the README.md, but I'd need to check that.

@serundeputy
Copy link
Member

that being said, i'm not opposed to trying to fix this if it is easier then #162 as an interim stop gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant