Nov 242011
 

It’s easy, change your deps to :


[symfony]
    git=http://github.com/symfony/symfony.git
    version=v2.0.6

[twig]
    git=http://github.com/fabpot/Twig.git
    version=v1.1.2

[monolog]
    git=http://github.com/Seldaek/monolog.git
    version=1.0.2

[doctrine-common]
    git=http://github.com/doctrine/common.git
    version=2.1.2

[doctrine-dbal]
    git=http://github.com/doctrine/dbal.git
    version=2.1.3

[doctrine]
    git=http://github.com/doctrine/doctrine2.git
    version=2.1.2

[swiftmailer]
    git=http://github.com/swiftmailer/swiftmailer.git
    version=v4.1.3

[assetic]
    git=http://github.com/kriswallsmith/assetic.git
    version=v1.0.2

[twig-extensions]
    git=http://github.com/fabpot/Twig-extensions.git

[metadata]
    git=http://github.com/schmittjoh/metadata.git
    version=1.0.0

[SensioFrameworkExtraBundle]
    git=http://github.com/sensio/SensioFrameworkExtraBundle.git
    target=/bundles/Sensio/Bundle/FrameworkExtraBundle

[JMSSecurityExtraBundle]
    git=http://github.com/schmittjoh/JMSSecurityExtraBundle.git
    target=/bundles/JMS/SecurityExtraBundle
    version=origin/1.0.x

[SensioDistributionBundle]
    git=http://github.com/sensio/SensioDistributionBundle.git
    target=/bundles/Sensio/Bundle/DistributionBundle
    version=origin/1.0

[SensioGeneratorBundle]
    git=http://github.com/sensio/SensioGeneratorBundle.git
    target=/bundles/Sensio/Bundle/GeneratorBundle

[AsseticBundle]
    git=http://github.com/symfony/AsseticBundle.git
    target=/bundles/Symfony/Bundle/AsseticBundle
    version=v1.0.1

change your deps.lock to

symfony b55a43813e8fbcf4facd19ce1da0cd7acc67ce9b
twig 396435ecd05556adb0a8bd05b14641cb4f8a8aa5
monolog b704c49a3051536f67f2d39f13568f74615b9922
doctrine-common b385ca770888248241bd3086a40d5b3bd082a706
doctrine-dbal e0b69790ab1ffd646fd70a04fdb91e5dfbb3ccf1
doctrine 144d0de0ab61dffc738d7fb590cff8d77919f553
swiftmailer daaff2b8515390fbb10882647311f476b89a67e6
assetic f829ad23d23c87480151a21faad49fefe7c09e5d
twig-extensions d5851b96f06442e74590e5540a4209e9e3946243
metadata 8717ad2a5689480765d9ffafe925cd8a2457e582
SensioFrameworkExtraBundle dcd40eb4e2fff2d82fad644bb44fc2a40ccaf381
JMSSecurityExtraBundle b8b7eb294ed83d83ca7260ac018e701f08003538
SensioDistributionBundle 20b66a408084ad8752f98e50f10533f5245310bf
SensioGeneratorBundle c6af9719ae9e81fa4e086f40697d35e7090921cc
AsseticBundle 41b5913b5086a0909af92adcb4a6005ee0051b16

Is it enouth? No, another two part need to add to your deps:

[JMSAopBundle]
    git=https://github.com/schmittjoh/JMSAopBundle.git
    target=/bundles/JMS/AopBundle

[CGLibrary]
    git=http://github.com/schmittjoh/cg-library.git
    target=cg-library

At last, do not forget:

$bin/vendors install

$php app/console cache:clear
Nov 172011
 

After a long talking about voicens, we made the first plan of voicens project. Maybe God planed everything, I met this article written by a great programmer who is on the way to his own business.

Yes, production is very important, prototype is another important part, operation is kernel? Maybe not. I must share this story to my partners, then I must tell them, it’s time to share everything we need to share, because a good schedule is a good encourage.

All right, do it tomorrow morning.

 Posted by at 00:10
Nov 162011
 

When I update files on my server via git, I got the following:

error: Untracked working tree file ‘……[snip]/apps.php’ would be overwritten by merge. Aborting

OK, I do not like it, it’s easy, $git clean -dqfx, now it works.

Do not forget to backup your repository if you do not have a safe .gitignore file.

Other way, just[code]$git checkout -f filename[/code]

More details, refer to git manual.

 Posted by at 16:46  Tagged with: