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

Install hook for Apps #11

Open
peakwinter opened this issue Jan 17, 2017 · 0 comments
Open

Install hook for Apps #11

peakwinter opened this issue Jan 17, 2017 · 0 comments
Milestone

Comments

@peakwinter
Copy link
Contributor

Currently there is no way for an app to perform specific actions right after it has been installed, save for 1) a hacky use of Signals, or 2) the creation of a PKGBUILD. And with both of those options, there is no way to provide custom information to the app as it is being installed and/or loaded for the first time, like there is upon website creation.

Ideally there would be an on_install.py in the base of an application that is executed after the app is successfully installed and loaded for the first time. This script could be provided with extra_vars, much like websites are now. This would eliminate the need for hacky things like what is being done presently when the Radicale app is initialized.

@peakwinter peakwinter added this to the 1.0 milestone Jan 17, 2017
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