-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Distmaker: add CiviCRM Standalone support #27104
Conversation
Thank you for contributing to CiviCRM! ❤️ We will need to test and review the PR. 👷 Introduction for new contributors
Quick links for reviewers |
Yeah, I can see the rationale for skipping the composer template on this build. (There's kind of a chicken/egg problem with having distmaker do a release that depends on composer to fetch the release that distmaker is building... The actual dependency-loop is a little bigger than that... It's not impossible to address, but it does twist the brain a little.) FWIW, in the layout defined by "Download CiviCRM directly (Standard web-server)", it actually does store civicrm in the public web folder (i.e.
IMHO, it's OK to do the "easy thing" and use If you do want a way to use a private folder without the composer plugin, then... you could try to sort out |
@totten thanks for clarifying - personally I'm fine with To be honest I'm even on the fence about that, because many shared webhosts just have a I did some
Then had these installer warnings, but I don't think we can do anything about them, except the last one about
I fixed the first two points by doing a |
aa5a846
to
ba15534
Compare
Forced-push a fix for |
I think the problem is higher up -- when Maybe there's a way for GUI loader to use the output from // $coreUrl = '/assets/civicrm/core';
\Civi\Setup::init([ ... ]); // Fires `civi.setup.init` and thus `Standalone.civi-setup.php`
$coreUrl = \Civi\Setup::instance()->getModel()->mandatorySettings['userFrameworkResourceURL']; |
FWIW, Like maybe:
I see a placeholder page at https://docs.civicrm.org/installation/en/latest/general/permissions/. (Re: cmsDb -- I guess all we can do is suppress the check when uf==Standalone.) |
83a5da2
to
75d3935
Compare
@totten Ignore my last comment, sorry I need more coffee ;)
I would circle back for the file permission warnings in a separate PR. There may be other issues, but I would prefer treating them separately. One thing that seems to be missing is the web-accessible |
75d3935
to
5cbd976
Compare
Cool. I did a full test-run (build |
@totten thanks! Now that nightly archives are working (and on gcloud), I added it to download.civicrm.org: civicrm/civicrm-dist-manager#12 |
Overview
Adds support for building CiviCRM Standalone tar.gz archives for nightly/rc/stable releases.
Before
No CiviCRM Standalone builds.
After
civicrm-standalone-5.66-standalone.tar.gz
🌄Technical Details
I wasn't too sure what directory structure to follow.
Based on civicrm standalone installation docs, I figured it would be best to not use the composer template, and use the more minimal method. It still supports hosting civicrm and private files outside the webroot.
Comments
This may be of a surprise, but I did test locally:
and then I checked the resulting tar, but I did not yet test using the tar to install CiviCRM from scratch.