Pasar al contenido principal
Penyaskito Blog

Main navigation

  • Home
Language switcher
  • English
  • Español
User account menu
  • Iniciar sesión

Últimos artículos

Por penyaskito, 26 Septiembre, 2012

Pruebas de carga e informes desatendidos con JMeter

Una vez que has modelado tus pruebas de rendimiento con JMeter (eso es otra historia que merece su propia entrada), quizá quieras lanzar las pruebas de forma desatendida desde tu servicio de integración continua.

Para esto, necesitas lanzar JMeter en modo no-interactivo:

./apache-jmeter-2.6/bin/jmeter.sh -t my-test-plan.jmx \
-l my-test-plan-2012-16-09.jtl -n

Este comando lanza el plan de carga, pero la salida es un XML. ¿Cómo podría enviar este informa al equipo de QA o la gente de gestión? Lanza:

xsltproc ./apache-jmeter-2.6/extras/jmeter-results-report_21.xsl \
my-test-plan-2012-16-09.jtl > report-2012-16-09.html

El resultado será un HTML que se renderiza como la imagen adjunta.

Tags

  • JMeter
  • rendimiento
  • pruebas de carga
Por penyaskito, 25 Septiembre, 2012

Flujo de trabajo con Git y submodules para despliegues de Drupal

Quizá has visto el gran artículo sobre Despliegue de Drupal con Git Submodules, de Randy Fay. Gestiono este sitio usando esa estrategia, pero a veces olvido cómo se realiza cada operación. Por ello, las recojo aquí para mi propia referencia.

Para obtener toda la información sobre los submodules: 

git submodule foreach git fetch origin 

Ahora en el directorio de cada submódulo hacemos:

git pull 

Si queremos cambiar de rama de ese submódulo, usamos:

git branch -a # ver las ramas disponibles
git checkout 7.x-2.x # la rama a la que deseamos cambiar

Para comitearlo, vamos a la carpeta contrib otra vez y hacemos:

git add contrib-module-name 

Para terminar, actualizamos:

drush updb --debug -y 

Quizá encuentres algunas advertencias por dependencias no resueltas. En ese caso, para añadir la dependencia:

git submodule add --branch 7.x-1.x git://git.drupal.org/project/entity.git sites/all/modules/contrib/entity 

Finalmente, para actualizar el core:

git merge drupal/7.x drush updb --debug -y 

Una vez hecho esto en nuestro sitio de DESARROLLO, y comprobado que todo funciona correctamente, actualizamos en el servidor tras la copia de seguridad de rigor:

git pull
git submodule update --init 
drush updb --debug -y

Tags

  • git
  • git submodules
  • workflow
  • Drupal
Por penyaskito, 17 Agosto, 2012

Participando en Drupalcon Munich D8MI Sprint (en remoto)

Después de participar en el Sprint D8MI del Drupal Developer Days, me entristecía no poder asistir al de la Drupalcon de Munich, pero decidí participar en remoto.

Hice una llamada al Grupo de Drupal de Sevilla, y Jesús Balsera (jsbalsera) y Juan Fernández (@Maxtorete) se unieron.

Empezaremos hoy, y estaremos participando hasta el próximo domingo, si todo va bien y no abandonamos ninguno por el camino (eso espero). 

Este es el foco actual de D8MI, y aquí hay algunas notas que tomé sobre tareas en las que me gustaría que trabajáramos:

 

  • http://drupal.org/node/1733746 => D8 installer is broken if selecting a non-English language on installation => Drupal core, install system, normal, needs work, 3 comments, 1 IRC mention
This is a problem when installing D8 in another language. A patch is attached, but needs some work.
@penyaskito did the initial work.
@jsbalsera managed to fix the requested changes and use drupal_classloader_register instead of include_once. Other sprinters did more tweaks and it was committed :-)
http://drupalcode.org/project/drupal.git/commit/3f92626
 
  • http://drupal.org/node/1738178 => Javascript library localisation vs localization => Drupal core, locale.module, normal, fixed, 5 comments, 5 IRC mentions
Minor string fix, reported by @penyaskito.
http://drupalcode.org/project/drupal.git/commit/428226c
 
  • http://drupal.org/node/1392208 => Impossible to install Drupal in a non-English language when following the provided instructions => Drupal core, install system, normal, needs review, 12 comments, 2 IRC mentions
@Gabor & @penyaskito.
http://drupalcode.org/project/drupal.git/commit/ea5de2e
 
  • http://drupal.org/node/1637348 => Import Gettext .po files in progressive batches to avoid time limits => Drupal core, language system, normal, fixed, 28 comments, 15 IRC mentions
@penyaskito worked on this at Barcelona and has been completed now.
http://drupalcode.org/project/drupal.git/commit/7e79095
 
  • http://drupal.org/node/1658842 => Introduce a translations:// stream wrapper to access the .po file directory => Drupal core, language system, normal, needs work, 12 comments, 3 IRC mentions
@penyaskito working on it. NW.
 
  • http://drupal.org/node/1738330 => Confusing Language negotiation when accessing / => Drupal core, language.module, normal, active, 0 comments, 2 IRC mentions
@jsbalsera working on it
 
  • http://drupal.org/node/253157 => Add a new user permission "Translate own nodes" => Drupal core, translation.module, normal, needs work, 31 comments, 3 IRC mentions
Needs rerolling, functionality tests and upgrade tests.
@penyaskito rerolled it.
@maxtorete is writing functional tests. NW
 
  • http://drupal.org/node/1189184 => OOP & PSR-0-ify gettext .po file parsing and generation => Drupal core, locale.module, normal, needs work, 256 comments, 70 IRC mentions
Properly test this.
Minor follow-ups.
 
  • http://drupal.org/node/1632384 => Import available language data and translations form translation server => Drupal core, locale.module, normal, needs review, 13 comments, 5 IRC mentions
 
 
  • http://drupal.org/node/1627006 => Collect project information for translation update => Drupal core, locale.module, normal, needs review, 23 comments, 5 IRC mentions
Work started
 
  • http://drupal.org/node/1191488 => META: Integrate l10n_update functionality in core => Drupal core, locale.module, normal, active, 12 comments, 4 IRC mentions
This is a major issue broken into smaller pieces. Those ones needs care. Doesn't look specially easy.
 
 
Veamos a dónde llegamos.

Tags

  • sprint
  • DrupalCon Munich
  • D8MI
  • contribuyendo
  • Drupal
  • Drupal Core

Paginación

  • Primera página
  • Página anterior
  • Página 1
  • Página 2
  • Página 3
  • Página 4
  • Página 5
  • Página 6
  • Siguiente página
  • Última página

Archivo mensual

Paginación

  • Página anterior
  • 2

Contenido reciente

Reescribiendo el historial de commits de git para editar el autor y el email de commits pasados
3 years 5 months ago
Drupal JavaScript behavior para destacar líneas de pedido editadas en el carrito de Drupal Commerce
4 years ago
Analizando el rendimiento de Drupal, WordPress o cualquier aplicación php con DDEV, XHProf y XHGui
4 years 1 month ago

Comentarios recientes

I would recommend taking a…
1 year 9 months ago
This looks interesting
1 year 10 months ago
Thanks for the comment
4 years ago

Blogs que sigo

  • Mateu Aguiló "e0ipso"
  • Gábor Hojtsy
  • Pedro Cambra
  • The Russian Lullaby, davidjguru
  • Can It Be All So Simple
  • Maria Arias de Reyna "Délawen"
  • Matt Glaman
  • Daniel Wehner
  • Jacob Rockowitz
  • Wim Leers
  • Dries Buytaert
Syndicate

Pie de página

  • Drupal.org
  • LinkedIn
  • GitHub
  • Mastodon
  • Twitter
Funciona con Drupal