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

Unyson Extensions Can't be deployed in Pantheon TEST/LIVE env due to .gitignore #3615

Open
carl-alberto opened this issue Oct 2, 2018 · 5 comments

Comments

@carl-alberto
Copy link

The .gitignore file that ignores the whole extension folder for Unyson additional extensions which is located in - wp-content/plugins/unyson/framework/extensions/shortcodes/.gitignore blocks the plugins' additional extension to be deployed in TEST and LIVE.

Would it be possible that .gitignore file is removed from the public repo?

@iajay
Copy link

iajay commented Oct 3, 2018

Nice find.. I deleted the .gitignore from the dev site, committed to dev and then deployed to test and the plugins are working

@carl-alberto carl-alberto changed the title Unyson Extensions Can't be deployed Pantheon TEST/LIVE due to .gitignore Unyson Extensions Can't be deployed in Pantheon TEST/LIVE env due to .gitignore Oct 3, 2018
@carl-alberto
Copy link
Author

carl-alberto commented Oct 3, 2018

Upon further digging, it seems the internal Unyson Extensions are not consistently installed on a standard extension path.

Some of the Unyson Extensions that adds a .gitignore file when installed and might potentially exclude the code to be deployed in TEST and LIVE environments

Page builder
wp-content/plugins/framework/extensions/shortcodes/.gitignore
wp-content/plugins/framework/extensions/shortcodes/extensions/page-builder/.gitignore

WordPress Shortcodes
wp-content/plugins/unyson/framework/extensions/shortcodes/.gitignore

Translate Press
wp-content/plugins/unyson/framework/extensions/shortcodes/.gitignore

Events
wp-content/plugins/unyson/framework/extensions/events/.gitignore

Brizy
wp-content/plugins/brizy/vendor/twig/twig/.gitignore

Deleting these .gitignore files will let you deploy to TEST and LIVE environments but still can potentially be messed up if not removed by the plugin author on its next plugin releases.

Unable to deploy code properly affects the user experience and causes frustration in using the plugin after they invest time developing, then later on, finding out that it won't work because they are unable to deploy the changes they made.

@iajay
Copy link

iajay commented Oct 3, 2018

Totally Agreed

@justinkames
Copy link

justinkames commented Oct 4, 2018

I had a problem with extensions being disabled on LE environment every time I redeployed ( deployment is done by git push ). I couldn't figure out why. Removing the shortecodes/.gitignore file specified by @carl-alberto fixed this. I guess this might be linked to other issues where extensions uninstalling / disable automatically.

Thanks!

@carl-alberto
Copy link
Author

Thanks for the confirmation of the workaround @justinkames

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

No branches or pull requests

3 participants