Changeset 459

Show
Ignore:
Timestamp:
05/14/08 01:51:26 (8 months ago)
Author:
mbailey
Message:

deprecation notice and instructions for using deprec-1 when deprec-2 is installed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.9/CHANGELOG

    r115 r459  
    11deprec changelog (check the timeline at http://trac.deprecated.org/trac.cgi/timeline) 
    22 
    3 == SVN 
    43 
    5 * bugfix :setup_svn no longer stomps on :repository config item 
    6 * new task :generate_database_yml creates shared/config/database.yml on server [Mike Bailey] 
    7 * new config item :database_yml_in_scm causes shared/config/database.yml to be symlinked after deploy if set to false [Mike Bailey] 
    8 * added defaults to prompt-> Capistrano::CLI.prompt('Enter database host', 'localhost') [Mike Bailey] 
     4 
     5== 1.9.3 
     6 
     7I recommend using deprec-2 for new installations but understand that some people will want to continue using deprec-1 for legacy systems. 
     8In preparation for release of deprec-2.0.0 I've some minor modifications so that deprec1 and deprec2 can be installed on the same machine.  
     9 
     10To continue using deprec-1.x, install deprec-1.9.3: 
     11 
     12        sudo gem install --version 1.9.3 deprec 
     13         
     14Update your projects deploy.rb: 
     15 
     16        require 'rubygems' 
     17        gem 'deprec', '< 1.99'  
     18        require 'deprec' 
     19         
     20Adding the following to your .caprc will load the correct version of deprec 
     21based on the version of Capistrano you're using: 
     22 
     23        require 'rubygems' 
     24        gem 'deprec', '< 1.99' unless respond_to?(:namespace) 
     25        gem 'deprec', '>= 2.0.0' if respond_to?(:namespace) 
     26        require 'deprec' 
     27 
     28You can call capistrano 1 with the command: 
     29 
     30cap _1.4.2_ show_tasks 
     31 
     32or create an alias by putting the following in your .profile: 
     33 
     34alias cap1="`which cap` _1.4.2_" 
     35 
     36This will allow you to use the following: 
     37 
     38cap1 show_tasks 
     39 
     40If everything's working you'll see the deprec tasks listed. 
     41 
     42  
    943 
    1044== 1.8.0 
  • branches/1.9/README

    r114 r459  
    22deprec - Deployment Recipes for Capistrano 
    33------------------------------------------ 
     4 
     5*************************************************************************** 
     6Note: This version has been deprecated by deprec-2.x 
     7      It's recommended that you use version 2 for new installations however 
     8      I won't force you to change. - Mike 
     9*************************************************************************** 
    410 
    511QUICKSTART