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

Fail more gracefully when upgrading on PHP5.x #98

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

seamuslee001
Copy link
Contributor

@civibot
Copy link

civibot bot commented Aug 20, 2019

(Standard links)

@civibot civibot bot added the 1.x-master label Aug 20, 2019
Update function names to be about backdrop
@totten totten changed the base branch from 1.x-master to 1.x-5.17 August 20, 2019 23:36
@civibot civibot bot added 1.x-5.17 and removed 1.x-master labels Aug 20, 2019
@totten
Copy link
Member

totten commented Aug 20, 2019

The previous failure w as a style error that appears to have snuck into 1.x-master. Changing the base here to 1.x-5.17 side-steps that for now, and I can r-run locally.

Will do a separate PR for the style issues in master.

totten added a commit to totten/civicrm-buildkit that referenced this pull request Aug 21, 2019
Before
------

On Backdrop builds, `drush` cannot be used - because the drush-backdrop plugin is missing.

After
-----

On Backdrop builds, `drush` can be used - because the plugin is present.

Comments
--------

This has come up a few ways - e.g.

* Test/demo sites don't have a test/demo user - https://lab.civicrm.org/infra/ops/issues/906
* When QA'ing patches for civicrm-backdrop's copy of `civicrm.drush.inc` - e.g. civicrm/civicrm-backdrop#98
@totten
Copy link
Member

totten commented Aug 21, 2019

Tested locally and confirmed that web UI and CLI both fail more gracefully with this patch.

@totten totten merged commit f72573e into civicrm:1.x-5.17 Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants