-
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
quick and dirty cv core:download #44
base: master
Are you sure you want to change the base?
Conversation
@michaelmcandrew This is a neat idea! I don't have a beautiful message here. Let me just brain-dump a bit:
I don't want to set the bar too high, but let me try sketching what I think would be a reasonable set of user-stories:
We don't have to implement every user-story... but if the stories we do support the eventual contract, then it might be easier to make incremental progress? |
Thanks for your thoughts. OK - so it has been thought about to some extent already - just within a different context, which i guess is why I didn't find it.
From a usability perspective, for people that are looking to create initial set up workflows, having a command called FWIW I used The stories look good. We probably want to make downloading l10n optional (and defaulted to on?) Seems like upgrade is some combination of this command with a "force" to overwrite and some form of "auto detect location of existing CiviCRM download". Seems like abstracting the download stage is also good. I didn't look at how the extensions downloading (and caching?) operates but maybe some refactoring of that would be good. Story 3 looks like the easiest one to start with. |
PS. the context is that I am creating Dockerfiles for CiviCRM on WordPress and Drupal and I want commands to insert round about here: https://github.com/michaelmcandrew/civicrm-docker/blob/master/wordpress/Dockerfile#L10 i.e. a non interactive scripted environment with uninstalled CMSes, which is the reason that I would be interested in starting with 3.
I probably should have said, looks like the most useful story for me :) |
fyi if you look at those files now, you will see that I have followed a different approach for now... and |
I wasn't sure why there is no core:download command for cv (hopefully, I didn't miss something).
wp-cli and drush have equivilant commands so I wrote this quick and dirty version for cv.
Initial thoughts? Happy to neaten up, refactor, etc.