Skip to content

Instantly share code, notes, and snippets.

Skills/Prerequisites

  • Know how to set environment variables.
  • Upgrading the first time to 5.47.3 did not sufficiently fix your event times and you want more control over what the upgrade does.
  • As always before upgrading you should make a backup of your current database.

Environment variable

The environment variable is called CIVICRM_TZ_REVERT. It takes a comma-separated list of options (no spaces).

@demeritcowboy
demeritcowboy / drupal10civicrmcore.diff
Last active February 2, 2023 16:24
composer.json patch for civicrm-core for drupal 10
diff --git a/composer.json b/composer.json
index c227b14e87..e09f2332f5 100644
--- a/composer.json
+++ b/composer.json
@@ -52,20 +52,19 @@
"require": {
"php": "~7.3 || ~8",
"composer-runtime-api": "~2.0",
- "cache/integration-tests": "~0.17.0",
"dompdf/dompdf" : "~2.0.2",
@demeritcowboy
demeritcowboy / drupal10civicrmdownload.sh
Last active February 2, 2023 16:24
Drupal 10 + CiviCRM download batch file
#!/bin/sh
# Edit these as appropriate
# This needs to be the numeric version corresponding to civi dev-master
CIVIVER=5.60.alpha1
ROOTDIR=/full/path/to/folder/above/where/you/want/to/put/stuff
# Uncomment if you don't normally have php 8.1 in your path
#export PATH=/full/path/to/bin/folder/containing/php8.1:$PATH