Wednesday, December 10, 2008

Ignore files in SVN

The file you want to ignore is located in svn repository. Before you start backup your file. To ignore it set the property to project directory.

svn propedit svn:ignore /path/to/project

In opened text editor specify filenames that you want to ignore by locations from project directory each in a new line. Save. Remove file from svn. And commit. Restore file from backup.

Example:

1. Backup ignoring file

$ cp application/config/database.php application/config/database.php.back

2. In command line

$ svn propedit svn:ignore .

3. In a text editor insert

application/config/database.php

See message "Set new value for property 'svn:ignore' on '.'"
4. In command line

$ svn remove application/config/database.php
D application/config/database.php

5. In command line

$ svn commit -m "Ignoring database config"
Sending .
Deleting application/config/database.php

6. Restore file

$ mv application/config/database.php.back application/config/database.php


Now "svn status" will return nothing.

Tuesday, September 9, 2008

XSL   equivalent


<xsl:text> </xsl:text>

Monday, September 8, 2008

Installation xsl extension for php5 on ubuntu


apt-get install php5-xsl

Thursday, August 14, 2008

Let's Run a Poll

By now I selected several top PHP frameworks:
-CakePHP
-CodeIgniter
-Zend Framework
-Symphony

Please comment here your ideas about PHP frameworks.