My first post in rst

How to configure AsseticBundle

System Message: ERROR/3 (/home/cordoval/sites-2/sf2docs/cookbook/assetic.rst, line 1)

Unknown directive type "index".

.. index::
   single: Assets; AsseticBundle

This is an introduction on Assetic use.

Looking at the symfony bundle at vendor/symfony/src/Symfony/Bundle/AsseticBundle/Resources/config/filters we find that Assetic support several filters for different styling frameworks:

System Message: WARNING/2 (/home/cordoval/sites-2/sf2docs/cookbook/assetic.rst, line 23)

Bullet list ends without a blank line; unexpected unindent.

yui_css.xml cssrewrite.xml less.xml scss.xml yui_js.xml

Tip

Instead of using your regular Gmail account, it’s of course recommended that you create a special account.

In the development configuration file, change the transport setting to gmail and set the username and password to the Google credentials:

System Message: ERROR/3 (/home/cordoval/sites-2/sf2docs/cookbook/assetic.rst, line 38)

Unknown directive type "configuration-block".

.. configuration-block::

    .. code-block:: yaml

        # app/config/config_dev.yml
        swiftmailer:
            transport: gmail
            username:  your_gmail_username
            password:  your_gmail_password

    .. code-block:: xml

        <!-- app/config/config_dev.xml -->

        <!--
        xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
        http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd
        -->

        <swiftmailer:config
            transport="gmail"
            username="your_gmail_username"
            password="your_gmail_password" />

    .. code-block:: php

        // app/config/config_dev.php
        $container->loadFromExtension('swiftmailer', array(
            'transport' => "gmail",
            'username'  => "your_gmail_username",
            'password'  => "your_gmail_password",
        ));

You’re done!

Note

The gmail transport is simply a shortcut that uses the smtp transport and sets encryption, auth_mode and host to work with Gmail.

The right way to start sf2 learning

https://github.com/whiteoctober/Pagerfanta

http://www.elasticsearch.org/guide/reference/setup/installation.html

https://github.com/Exercise/ElasticaBundle

http://groups.google.com/group/symfony-devs/browse_thread/thread/9f5e060673f2d6d8

AdminBundle
http://mandango.org/blog/post/whiteoctoberadminbundle-admin-of-admins
https://github.com/whiteoctober/WhiteOctoberAdminBundle

Silex
https://github.com/jmather/Simple-Silex-CMS

Cherry-picking with git and fixing a repo for proper use

so today I was found on a mess:

git remote -v
origin https://cordoval@github.com/cordoval/UserBundle.git (fetch)
origin https://cordoval@github.com/cordoval/UserBundle.git (push)
upstream https://github.com/FriendsOfSymfony/UserBundle.git (fetch)
upstream https://github.com/FriendsOfSymfony/UserBundle.git (push)

git fetch upstream

git checkout -b changePasswordCommand

This command resets state to follow the original github repository and made it in sync
git reset --hard upstream/master

To reflect that on my github repository:
git push --force origin master

Now it is time to get the sha1’s from git log -g > luis.txt

git cherry-pick 0835c58f285fcbe72f974a7f2873d57bc7233e8c
git cherry-pick a8b3b14a31f69d1deca564a4e0c0c2ccc205ace4
git cherry-pick 10c9072af14be27cacd7f05b15f4d7ea0af9a27e
git cherry-pick d173f924c591c979e5a270275a26e04ecc28b150
git cherry-pick 01ea775458d365bcf0079fa35592e7aea175317f
git cherry-pick ac8f3a8160ead930d3bc53baa35b44f9274516d6

Then moved too fast and did:
git push origin changePasswordCommand

But I forgot to squash the commits so then to squash the 6 last commits I did:
git rebase -i HEAD~6

and finally had to do again:
git push --force origin changePasswordCommand