-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
plonecli build needs a preflight check (many dependencies assumed) #249
Comments
Just a word of wisdom :) We're doing something like that in the UI-Installer, maybe this is one possible good starting point. One other possibility would be to do it the way around, not a pre-test, but let Or there is of course always the way where you put all into a container, but IMHO it makes not really sense here and adds possible more friction and 'complications'. |
@svx I appreciate the wisdom 👍 |
@pigeonflight but where you draw the line with platform support ? :) The support of different Linux platforms, can drive someone already crazy :) Different package manager, different package names, different package versions, etc :) There are a lot of platforms and only that, meaning make sure that your platform dependency check is working and maintained can cost you a lot of time, effort and can/will be really time consuming. I do no want to take away your motivation nor I am saying it is a bad idea, I just want to warn, if you want to do it properly it is a lot of work :) |
1 similar comment
@pigeonflight but where you draw the line with platform support ? :) The support of different Linux platforms, can drive someone already crazy :) Different package manager, different package names, different package versions, etc :) There are a lot of platforms and only that, meaning make sure that your platform dependency check is working and maintained can cost you a lot of time, effort and can/will be really time consuming. I do no want to take away your motivation nor I am saying it is a bad idea, I just want to warn, if you want to do it properly it is a lot of work :) |
Another solution would be to provide a binary which has all dependencies and you 'just' need to download this one binary and you are good to go ! :) |
Currently, when addressing dependencies, the docs cover Ubuntu, Centos and Fedora. I think that's good enough, for other persons on more "hard core" Linux platforms (e.g. ArchLinux) they can have a list of dependencies and figure out how to get those libraries etc.. installed. |
Keep in mind that this package is only for development purpose. |
Who ever wants to work on this, let's start with add documentation, what libraries in general one need. |
@MrTango I'd like to work on the pre-flight check for missing dependencies. Can we start by creating a docs file for this or should we be updating the current |
Can you show a message to the user if |
I close this in favor of having it here: plone/plonecli#54 |
Ideally there should be a preflight check when
plonecli build
runs. See the example from the unified installer: https://github.com/plone/Installers-UnifiedInstaller/blob/master/preflightobserved behaviour
When running
plonecli build
the build failed due to missing dependencies.expected behaviour
plonecli should run a preflight check to test for the presence of dependencies before attempting to build.
It could also possibly recommend a url with instructions on how to install the dependencies.
to reproduce
On a freshly installed ubuntu 14.04, after installing plonecli, run the following:
The build failed due to missing dependencies. After installing the dependencies:
I was able to successfully run plonecli build
The text was updated successfully, but these errors were encountered: