Submitted by jonhattan on Vie, 25/03/2011 - 07:46
Some months back I was in the need to know if a Drupal site was hacked how much code had been modified in a given Drupal site. It was not straightforward to install a copy of the site out of the box (it had hardcoded absolute paths in custom modules among other annoying things).
Submitted by jonhattan on Lun, 20/09/2010 - 11:53
Recursively comparing directories and files in two provided paths is probably a common problem and for sure there's a solution out there.
bad. I didn't find (search for) one before coding my own solution. I just did search intensively for such a solution before writing this post (to avoid that comment saying something like: hey man it was solved twenty years back!). The simplest solution, using diff:
$ diff -r -q /tmp/a /tmp/b
Only in /tmp/a/b: c
Only in /tmp/a/b/d: a.txt
Only in /tmp/b/b: y.txt
Files /tmp/a/x.txt and /tmp/b/x.txt differ
Submitted by jonhattan on Mié, 10/02/2010 - 18:06
Hay varias maneras de gestionar las actualizaciones menores de drupal (de la versión 6.1 a la 6.2, ...). El flujo canónico sería[1]:
Submitted by jonhattan on Vie, 21/08/2009 - 20:30
Submitted by jonhattan on Dom, 09/08/2009 - 17:17
La extensión readline para php no está en Debian (ni en Ubuntu) por problemas de licencia. Entre tantos bugreports, blogposts y opiniones varias he encontrado esta frase: «Licensing issues. Readline is GPL, and we can't link with GPL libraries without violating their license.»
Submitted by jonhattan on Dom, 26/07/2009 - 23:00
ACTUALIZACIÓN: hace unas semanas que estos comandos han pasado a formar parte del core de drush. Han entrado junto a una reorganización de los comandos "pm" (package-manager) que hasta entonces sólo gestionaban módulos. Esta es la equivalencia entre los antiguos comandos "theme" y los nuevos cambios introducidos en drush 3.x:
Submitted by jonhattan on Jue, 23/07/2009 - 23:00
La aparición de drush 2.0 ha sido un subidón. Muchos estamos que lo flipamos con drush y reorientamos nuestra forma de trabajar con drupal para irnos a la línea de comandos para hacer lo que drush nos permita más rápido, mucho más rápido: descargar módulos, habilitarlos, limpiar la caché, darle al cron, crear nuevas instancias de drupal, etc etc.
Páginas