Submitted by clemens on Fri, 2013/04/19 - 9:20am
As a followup on A pinch of Symfony for D8MI? why do we need to squash?
After some more squash and push -f attempts regarding pull request for Symfony I get the hang of it.
But chx said in squash is bad as we loose history on the development process.
So how should we do this on d.o when git phase 3 lands? Those discussion seems to got to a halt.
Submitted by clemens on Fri, 2013/03/01 - 3:44pm
Playing around with Drupal 8 together with Graph API and Graph I generated this UML through admin/config/system/graphapi/uml/Drupal\views\Plugin\Core\Entity\View ... it has some rough edges still.
Tell us what you think of this UML Diagram and your needs to have on site information.
Submitted by clemens on Sat, 2012/05/26 - 4:25pm
We all know Drupal and Symfony do have multilingual support (i18n, l10n, pluralization). But do they match? Or do they equally well? How does one test this? This is what I did.
I wanted to add tests for Symfonfy's PluralizationRules as there were none and I wanted to have support for PluralForms loading Drupals *.po files clean and simple. How hard can it be?!?
These tests should cover:
Submitted by clemens on Sun, 2012/05/20 - 11:31am
Submitted by clemens on Thu, 2012/05/17 - 4:09pm
One of the goals of Drupal 8 Multilingual Inititive is to refactor Gettext file handling by a component. The first effort was Make gettext .po generation its own abstracted functionality by Gábor Hojtsy, Sutharsan, fubhy, sun and clemens.tolboom
While I (clemens.tolboom) was working on that issue I skimmed over the Translation component delivered by Symfony to see whether we could match their architecture (why reinvent components?) or even take over their components.
Submitted by clemens on Mon, 2011/11/07 - 9:44am
Can you tell the field display weights of all your entities with one command? Or edit a node through the command-line?
drush --yaml entity-type-read node --fields=**/display/**/weight --include-fieldapi
drush entity-update node 12 --json
Watch the video on http://www.youtube.com/watch?v=cVGZzWjdDh8 and get convinced you want to know more of these entity internals.
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 Fri, 2011/07/22 - 1:36pm
Sooo ... I've finally upgraded my own site. I thought it would be easy. A simple drupal site only using images. And yes I'm not reading READMEs that often. I trust drush somehow to handle this for me. But drush only sooth the 'pain'.
This blog contains my bash script which does some staging from production onto my laptop where I update the site to the latest D6 then upgrade to D7. The script is generic enough to adapt for other upgrades.
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 Mon, 2011/05/23 - 12:20pm
Make sure you have your drush aliases file setup properly. Below a snippet from my b2b.aliases.drushrc.php
$aliases['dev'] = array(
'uri' => 'http://build2be.dev',
'root' => '/Users/clemens/Sites/build2be.dev/www/',
'path-aliases' => array(
'%dump-dir' => '/Users/clemens/Sites/build2be.dev/store',
'%files' => '/Users/clemens/Sites/build2be.dev/www/sites/build2be.dev/files',
),
);
Now we can run
drush rsync @b2b.prd @b2b.dev
Pages