Changeset 103

Show
Ignore:
Timestamp:
06/22/07 16:10:23 (2 years ago)
Author:
mbailey
Message:

1.8.0

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1-7-stable/CHANGELOG

    r74 r103  
    33== SVN 
    44 
     5== 1.8.0 
     6 
     7* fixed scm_setup. it parses :repository if set and prompts user for values if not [Mike Bailey] 
     8* added "role :scm, domain" to generated deploy.rb [Mike Bailey] 
     9* added :trac_install, :trac_setup, :trac_start, :trac_stop  [Mike Bailey] 
     10* added :change_root_password and :change_root_password_as_root [Mike Bailey] 
     11* moved templates dir [Mike Bailey] 
     12* bugfix :db_setup now re-runnable 
     13 
    514== 1.7.1 
     15 
    616* bugfix: setup_ssh_keys() - print message and exit if ssh_options[:keys] not set 
    717 
    818== 1.7.0 
    919 
    10 * new tasks :install_memcached, :memcached_start, :memcached_stop, :memcached_restart [mbailey] 
    11 * set default shell to '/bin/bash' for new users [mbailey] 
    12 * bugfix: set default values for mongrel_user and mongrel_group 
     20* new tasks :install_memcached, :memcached_start, :memcached_stop, :memcached_restart [Mike Bailey] 
     21* set default shell to '/bin/bash' for new users [Mike Bailey] 
     22* bugfix: set default values for mongrel_user and mongrel_group [Mike Bailey] 
    1323 
    1424== 1.6.0 
    1525 
    16 * new task :install_php installs php-5.2.2 [mbailey] 
     26* new task :install_php installs php-5.2.2 [Mike Bailey] 
    1727 
    1828== 1.5.1 
    1929 
    20 * bugfix: fixed bug in su_put that was causing Windows [mbailey] 
     30* bugfix: fixed bug in su_put that was causing Windows [Mike Bailey] 
    2131 
    2232== 1.5.0 
    2333 
    24 * bugfix: :set_perms_for_mongrel_dirs [mbailey] 
     34* bugfix: :set_perms_for_mongrel_dirs [Mike Bailey] 
    2535  - now don't fail if log files do not exist (e.g initial deployment) 
    2636  - is called by :after_symlink task instead of :after_update  
     
    2939 
    3040* updated version from 1.4.x to 1.5.x due to pretty big change made 
    31   in previous version (mongrel no longer running as root) [mbailey] 
     41  in previous version (mongrel no longer running as root) [Mike Bailey] 
    3242 
    3343== 1.4.2 
    3444 
    35 * change: mongrel no longer runs as root for security reasons [mbailey] 
    36 * bugfix: install apache version 2.2.4 as previous version is no longer on their webserver [mbailey] 
    37 * bugfix: fixed install_rubygems so install_rails_stack no longer fails when first run [mbailey] 
     45* change: mongrel no longer runs as root for security reasons [Mike Bailey] 
     46* bugfix: install apache version 2.2.4 as previous version is no longer on their webserver [Mike Bailey] 
     47* bugfix: fixed install_rubygems so install_rails_stack no longer fails when first run [Mike Bailey] 
    3848 
    3949== 1.4.0 
    4050 
    41 * renamed svn commands and made svn_create_repos re-runable [mbailey] 
    42 * bugfix: Wildcard Apache NameVirtualHosts directive used be used just once [mbailey] 
     51* renamed svn commands and made svn_create_repos re-runable [Mike Bailey] 
     52* bugfix: Wildcard Apache NameVirtualHosts directive used be used just once [Mike Bailey] 
    4353 
    4454== 1.3.1 
     
    4858== 1.3.0 
    4959 
    50 * added md5sum checking to deprec.download_src [mbailey] 
    51 * new function: deprec.mkdir(path, mode=0755, group=nil, user=nil) [mbailey] 
    52 * start apache and mongrel on server boot [mbailey] 
    53 * removed deprec_dotfiles script as the Cap code it patches is now in Capistrano source. [mbailey] 
    54 * changed from LGPG to GPL licence. [mbailey] 
     60* added md5sum checking to deprec.download_src [Mike Bailey] 
     61* new function: deprec.mkdir(path, mode=0755, group=nil, user=nil) [Mike Bailey] 
     62* start apache and mongrel on server boot [Mike Bailey] 
     63* removed deprec_dotfiles script as the Cap code it patches is now in Capistrano source. [Mike Bailey] 
     64* changed from LGPG to GPL licence. [Mike Bailey] 
    5565 
    5666== 1.2.2 
    5767 
    58 * Added enable_multiverse(), disable_multiverse() tasks for ubuntu package management [mbailey] 
    59 * Removed termios as a gem requirement as it doesn't work on Windows [mbailey] 
     68* Added enable_multiverse(), disable_multiverse() tasks for ubuntu package management [Mike Bailey] 
     69* Removed termios as a gem requirement as it doesn't work on Windows [Mike Bailey] 
    6070 
    6171== 1.2.1 
    6272 
    63 * Updated railsmachine code to include SSL fix from new release [mbailey] 
     73* Updated railsmachine code to include SSL fix from new release [Mike Bailey] 
    6474 
    6575== 1.2.0 
  • branches/1-7-stable/deprec.gemspec

    r74 r103  
    55SPEC = Gem::Specification.new do |spec| 
    66  spec.name = 'deprec' 
    7   spec.version = '1.7.1
     7  spec.version = '1.8.0
    88  spec.summary = 'deployment recipes for capistrano' 
    99  spec.description = <<-EOF 
  • branches/1-7-stable/docs/README.slicehost

    r102 r103  
    1 == deprec quickstart for Slicehost 
     1== Slicehost specific notes for deprec 
    22 
    3 Here are instructions that will take a fresh install of Ubuntu Dapper (6.06.1 server), create an SVN repository and trac installation for your project and deploy the application using apache, mongrel and mysql
     3# Slicehost provides you with root login and password for your slice
    44 
    5 All commands below are run on your local host. You will *never* be requested  
    6 to log into the remote server manually. Capistrano does all the work. 
     5# Change the root password! 
     6cap change_root_password_as_root # '_as_root' means run this as 'root' user 
    77 
    8 - Mike 
     8# Create an account with sudo access 
     9cap setup_admin_account_as_root  
    910 
     11# Copy your ssh keys to remote server to avoid having to type passwords 
     12cap setup_ssh_keys 
    1013 
    11 # Install deprec on workstation 
    12 sudo gem install deprec --include-dependencies 
    13 echo 'require "deprec/recipes"'               >> ~/.caprc 
    14 echo 'ssh_options[:keys] = %w(~/.ssh/id_dsa)' >> ~/.caprc 
    15 echo 'ssh_options[:paranoid] = false'         >> ~/.caprc 
    16 echo 'ssh_options[:forward_agent] = true'     >> ~/.caprc 
    17  
    18 # Setup user account with sudo access on remote server 
    19 
    20 export HOSTS=deptest.deprecated.org 
    21 cap change_root_password_as_root # '_as_root' means run this as 'root' user 
    22 cap setup_admin_account_as_root  
    23 cap setup_ssh_keys   
    24  
    25 # Install all required software on remote server 
    26 cap install_rails_stack svn_install trac_install 
    27  
    28 # Create rails project on workstation and configure for deprec 
    29 rails example 
    30 cd example 
    31 ./script/generate scaffold_resource person name:string age:integer 
    32 deprec --apply-to . --name example --domain www.example.com 
    33  
    34 # Import application into subversion respository and setup trac 
    35 cap svn_setup 
    36 cap trac_setup 
    37 cap trac_user_add # this command allows you to create other trac users 
    38 cap trac_start # trac is now available on http://www.example.com:9000/ 
    39 cap trac_stop  # if you had the need 
    40  
    41 # Deploy application 
    42 cap setup 
    43 cap deploy_with_migrations 
    44 cap apache_restart  
    45 # application is now running on http://www.example.com/ 
     14now read README.quickstart