Skip to content

Instantly share code, notes, and snippets.

View lcatlett's full-sized avatar
🍕

Lindsey Catlett lcatlett

🍕
View GitHub Profile
@lcatlett
lcatlett / README.md
Created July 2, 2025 20:00
Enterprise Drupal Frontend Build Script with GitHub Actions CI/CD

Enterprise Drupal Frontend Build Scripts

Overview

This directory contains build scripts for the enterprise Drupal platform, designed to handle frontend asset compilation for multiple customer themes and modules. The scripts are designed to work with Pantheon's file structure using web/ instead of docroot/.

Main Script: frontend_build.sh

The frontend_build.sh script is a refactored, general-purpose frontend build tool that can build any customer theme in the enterprise Drupal setup.

<?php
/**
* Plugin Name: Pantheon Backup Storage Manager
* Description: Redirects backup plugins to use /tmp storage with automatic cleanup
* Version: 1.0.0
*
* This plugin is designed to work with Pantheon's WordPress upstream
*/
class Pantheon_Backup_Storage_Manager {
@lcatlett
lcatlett / audit-branch-sizes.sh
Created June 17, 2025 14:21
Git Analysis Scripts - Tools for analyzing repository sizes, branch differences, and identifying large files
#!/bin/bash
# Script to audit and compare branch sizes
echo "=== Branch Size Audit ==="
# Function to get branch size
get_branch_size() {
local branch=$1
echo "Analyzing branch: $branch"
@lcatlett
lcatlett / IMPLEMENTATION_GUIDE.md
Created June 16, 2025 21:25
GitHub API Rate Limiting Workaround for GitHub Actions

Implementation Guide: GitHub API Rate Limiting Solution

This guide provides step-by-step instructions for implementing the GitHub API rate limiting workaround in your projects.

📋 Prerequisites

  • GitHub repository with Actions enabled
  • Basic knowledge of GitHub Actions workflows
  • Access to create repository secrets
@lcatlett
lcatlett / route-diagnostics-report.md
Created May 16, 2025 01:12
Route Diagnostics Report for holly-hunt.live generated on Thu May 15 21:12:18 EDT 2025

Route Diagnostics Report for holly-hunt (live)

Executive Summary

This report analyzes routing issues in the Holly Hunt Drupal site, with a focus on UK path handling. The diagnostics reveal two failing checks (domain path configuration and path alias configuration) and two items needing verification (route cache and environment consistency). The cache backend configuration is correctly implemented and follows best practices.

Summary of Findings:

  • ⚠️ FAILING: Domain Path Configuration - Missing critical settings
  • ✅ PASSING: Cache Backend Configuration - Appropriate backends for different cache bins
  • ⚠️ NEEDS VERIFICATION: Route Cache - Exists but needs validation
@lcatlett
lcatlett / route-diagnostics-report.md
Last active June 18, 2025 12:14
Route Diagnostics Report for holly-hunt.live generated on Thu May 15 16:36:37 EDT 2025

Route Diagnostics Report for holly-hunt (live)

Executive Summary

This report analyzes routing issues in the Holly Hunt Drupal site, with a focus on UK path handling. The diagnostics reveal two failing checks (domain path configuration and path alias configuration) and two items needing verification (route cache and environment consistency). The cache backend configuration is correctly implemented and follows best practices.

Summary of Findings:

  • ⚠️ FAILING: Domain Path Configuration - Missing critical settings
  • ✅ PASSING: Cache Backend Configuration - Appropriate backends for different cache bins
  • ⚠️ NEEDS VERIFICATION: Route Cache - Exists but needs validation
@lcatlett
lcatlett / route-diagnostics-report.md
Created May 9, 2025 15:20
Route Diagnostics Report for holly-hunt_live.live generated on Fri May 9 11:20:05 EDT 2025

Route Diagnostics Report for holly-hunt_live (20250509)

Executive Summary

This report analyzes routing issues in the Holly Hunt Drupal site, with a focus on UK path handling. The diagnostics reveal two failing checks (domain path configuration and path alias configuration) and two items needing verification (route cache and environment consistency). The cache backend configuration is correctly implemented and follows best practices.

Summary of Findings:

  • ⚠️ FAILING: Domain Path Configuration - Missing critical settings
  • ✅ PASSING: Cache Backend Configuration - Appropriate backends for different cache bins
  • ⚠️ NEEDS VERIFICATION: Route Cache - Exists but needs validation
<?php
/**
* Plugin Name: Fix JSON Support Detection for Action Scheduler
* Description: Fixes the JSON support detection in Action Scheduler for MariaDB on Pantheon
* Version: 1.0.0
* Author: Lindsey Catlett, Pantheon
*/
// Make sure this runs before Action Scheduler initializes
add_action('plugins_loaded', 'fix_json_support_detection', 5);
@lcatlett
lcatlett / composer.json
Created April 24, 2025 16:12 — forked from kyletaylored/composer.json
How to integrate Monolog with New Relic in Drupal 9
{
"require": {
"drupal/monolog": "^2.2",
"newrelic/monolog-enricher": "^2.0"
}
}
@lcatlett
lcatlett / composer.json
Created April 24, 2025 16:12 — forked from kyletaylored/composer.json
How to integrate Monolog with New Relic in Drupal 9
{
"require": {
"drupal/monolog": "^2.2",
"newrelic/monolog-enricher": "^2.0"
}
}