quick and dirty cv core:download#44
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 |
|
@michaelmcandrew @totten I see this has been open for 7 years now. Do we still want this? |
|
I would still quite like it :) |
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.