eZ Tags extension upgrade instructions
======================================

Upgrade from 1.2(.1) to 1.2.2
====================================

 1. Unpack/unzip

    Unpack the downloaded package into the 'extension' directory of your eZ Publish installation

 2. Regenerate autoload array

    Run the following from your eZ Publish root folder

    php bin/php/ezpgenerateautoloads.php --extension

    Or go to Setup -> Extensions and click the "Regenerate autoload arrays" button

 3. Run SQL upgrade script

    Use the following command from your eZ Publish root folder, replacing "user", "password",
    "host" and "database" with correct values and removing double quotes

    mysql -u "user" -p"password" -h"host" "database" < extension/eztags/update/database/mysql/1.2/eztags-dbupdate-1.1-to-1.2.2.sql

 4. Clear caches

    Clear all caches (from admin 'Setup' tab or from command line).

Upgrade from 1.1 to 1.2
====================================

 1. Unpack/unzip

    Unpack the downloaded package into the 'extension' directory of your eZ Publish installation

 2. Regenerate autoload array

    Run the following from your eZ Publish root folder

    php bin/php/ezpgenerateautoloads.php --extension

    Or go to Setup -> Extensions and click the "Regenerate autoload arrays" button

 3. Clear caches

    Clear all caches (from admin 'Setup' tab or from command line).


Upgrade from 1.0 to 1.1
====================================

 1. Unpack/unzip

    Unpack the downloaded package into the 'extension' directory of your eZ Publish installation

 2. Regenerate autoload array

    Run the following from your eZ Publish root folder

    php bin/php/ezpgenerateautoloads.php --extension

    Or go to Setup -> Extensions and click the "Regenerate autoload arrays" button

 3. Run SQL upgrade script

    Use the following command from your eZ Publish root folder, replacing "user", "password",
    "host" and "database" with correct values and removing double quotes

    mysql -u "user" -p"password" -h"host" "database" < extension/eztags/update/database/mysql/1.1/eztags-dbupdate-1.0-to-1.1.sql

 4. Clear caches

    Clear all caches (from admin 'Setup' tab or from command line).

 5. Run PHP upgrade script

    Use the following command from your eZ Publish root folder:

    php extension/eztags/update/common/scripts/updatetagsdepth.php

 6. Read doc/bc/1.1/changes-1.1.txt as there are some braking changes introduced with eZ Tags 1.1
    and update your templates accordingly


Upgrade from 1.0beta/1.0alpha to 1.0
====================================

 1. Unpack/unzip

    Unpack the downloaded package into the 'extension' directory of your eZ Publish installation

 2. Regenerate autoload array

    Run the following from your eZ Publish root folder

    php bin/php/ezpgenerateautoloads.php --extension

    Or go to Setup -> Extensions and click the "Regenerate autoload arrays" button

 3. Run SQL upgrade script

    Use the following command from your eZ Publish root folder, replacing "user", "password",
    "host" and "database" with correct values and removing double quotes

    mysql -u "user" -p"password" -h"host" "database" < extension/eztags/update/database/mysql/1.0/unstable/eztags-dbupdate-1.0beta-to-1.0.sql

 4. Clear caches

    Clear all caches (from admin 'Setup' tab or from command line).

 5. Run PHP upgrade script

    Use the following command from your eZ Publish root folder:

    php extension/eztags/update/common/scripts/updatetagspathstring.php
