Submitted by clemens on Thu, 2011/08/11 - 5:03pm
Following along the git migration and project cannot be grepped anymore I brewed the following code.
It assumes the gits are already cloned and placed is one common directory.
After running the script all repositories with a $major == 7 branch are set into the highest version.
I'm puzzling how to 'empty' the non $major compatible repos.
The fun part is now doing analysis on the tree
find . -name "*.info" -exec grep -H "^dependencies" {} \; > dependencies-7.x.txt
which shows some new dependency types
Submitted by clemens on Sun, 2011/07/17 - 2:44pm
On http://drupal.org/node/686938 people are reporting a lot sloppy reports of error lines. The issue is about
Undefined index: [xyz] in line ...
But what are the names of the failing indexes?
jQuery has a nice grep so lets use it.
Submitted by clemens on Thu, 2010/05/20 - 12:46pm
I want a clean database without clicking.
echo "\
SELECT concat('drop table ', table_name, ';') \
FROM information_schema.tables \
WHERE table_schema=schema()" \
| `drush sql-connect` \
| grep "^drop table " \
| `drush sql-connect`
This work only for single drupal / single schema installs.