Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim Taylor jalama

  • Workstate Consulting LLC
  • Columbus, OH USA
View GitHub Profile
@jalama
jalama / make_basic
Last active Aug 29, 2015
Drupdates settings: Make basic
View make_basic
# YAML
# Core
webrootDir:
value: #webroot sub-folder
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
value: AtTask
attaskPword:
@jalama
jalama / drupal8.make
Created Apr 1, 2015
Quick Drupal Make file
View drupal8.make
core: 8.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
View drupal8_drupdates.yaml
core: 8.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
@jalama
jalama / dmake.yaml
Created Apr 10, 2015
Test yaml based Drupal make file
View dmake.yaml
core: 7.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
View drupal7_drupdates.yaml
core: 7.x
api: 2
defaults:
projects:
subdir: "contrib"
projects:
drupal:
View Random git add error
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__
View todo-list stack-trace
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)
View simple feature branch
# 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:
View One commit per priject
# 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:
View Drush get Drupal table list
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