Skip to content

Instantly share code, notes, and snippets.

View jalama's full-sized avatar

Jim Taylor jalama

  • Workstate Consulting LLC
  • Columbus, OH USA
View GitHub Profile
@jalama
jalama / Stash_slack_single_make_full
Last active August 29, 2015 14:16
Drupdate Settings: Stash for repo(s), Report to Slack, Use make file, Ship entire repo, Deployment ticket in AtTask, single site
# YAML
# Core
webrootDir:
value: # webroot sub-folder ex. webroot
singleSite:
value: # www.example.com
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
@jalama
jalama / drupal8.make
Created April 1, 2015 20:47
Quick Drupal Make file
core: 8.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
core: 7.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
core: 8.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
@jalama
jalama / dmake.yaml
Created April 10, 2015 09:25
Test yaml based Drupal make file
core: 7.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
mljdtaylor:~ jdtaylor$ ~/Dropbox/drupdates_tests/drupdates_test_simple.sh
Cloning into bare repository 'drupal'...
done.
Running Drupdates
Traceback (most recent call last):
File "/usr/local/bin/drupdates", line 9, in <module>
load_entry_point('Drupdates==1.4.0', 'console_scripts', 'drupdates')()
File "/usr/local/lib/python2.7/site-packages/Drupdates-1.4.0-py2.7.egg/drupdates/cli.py", line 6, in main
Updates().run_updates()
File "/usr/local/lib/python2.7/site-packages/Drupdates-1.4.0-py2.7.egg/drupdates/updates.py", line 16, in __init__
TypeError: Cannot read property 'prototype' of undefined
at __extends (/Users/jdtaylor/.atom/packages/todo-list/lib/todo-list-view.coffee:1:1)
at /Users/jdtaylor/.atom/packages/todo-list/lib/todo-list-view.coffee:5:3
at Object.<anonymous> (/Users/jdtaylor/.atom/packages/todo-list/lib/todo-list-view.coffee:267:5)
at Object.<anonymous> (/Users/jdtaylor/.atom/packages/todo-list/lib/todo-list-view.coffee:1:1)
at Module._compile (module.js:452:26)
at Object.require.extensions.(anonymous function) [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:166:19)
at Module.load (module.js:347:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:357:17)
# YAML
# Git Repo
repoDict:
value:
drupal: # ssh://<user>@example.com/<repo folder>
# Build related
workingBranch:
value: dev
# Create a Feature branch called drupdates in origin repo
useFeatureBranch:
# YAML
# Git Repo
repoDict:
value:
drupal: # ssh://<user>@example.com/<repo folder>
# Build related
workingBranch:
value: dev
# One Git commit per Drupal project (ie module/theme/core)
oneCommitPerProject:
drush sqlq "select distinct concat('describe ', table_name, ';') as query from information_schema.tables where table_schema='<db_name_here>'"| xargs -I % drush sqlq "%" > ~/tables.txt