Just upgraded to 2.5.11 and it seems a few things broke with
deployments. deploy:migrate now attempts to execute the migration in
the oldest release directory (rather than the newest), and
deploy:cleanup deletes all but the oldest 5 directories, basically the
opposite of what you want. It all works fine in 2.5.10. This is on
Ubuntu 9.10.
-Josh
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
--
> > capistrano+...@googlegroups.com<capistrano%2Bunsubscribe@googlegrou ps.com>For more options, visit this group at
> >http://groups.google.com/group/capistrano?hl=en
I am using the default timestamped ones,
-Josh
On Jan 4, 3:39 am, Lee Hambley <lee.hamb...@gmail.com> wrote:
> Josh,
>
> Thanks for the report, we have a number of problems in this area in the
> latest release. Are you using customised release names, or the default
> timestamped ones?
>
> -- Lee Hambley
>
> Twitter: @leehambley | @capistranorb
> Blog:http://lee.hambley.name/
> Working with Rails:http://is.gd/1s5W1
>
> 2010/1/3 Josh Perfetto <j...@snowrise.com>
>
> > Hi,
>
> > Just upgraded to 2.5.11 and it seems a few things broke with
> > deployments. deploy:migrate now attempts to execute the migration in
> > the oldest release directory (rather than the newest), and
> > deploy:cleanup deletes all but the oldest 5 directories, basically the
> > opposite of what you want. It all works fine in 2.5.10. This is on
> > Ubuntu 9.10.
>
> > -Josh
>
> > --
> > * You received this message because you are subscribed to the Google Groups
> > "Capistrano" group.
> > * To post to this group, send email to capis...@googlegroups.com
> > * To unsubscribe from this group, send email to
> > capistrano+...@googlegroups.com<capistrano%2Bunsu...@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/capistrano?hl=en
>
>
I'm having the same issues.
- deploy:migrate executes migrations not in the release_directory
- deploy:cleanup deletes the newest release, not the oldest one
Cheers,
Florian
Sorry for the inconvenience, regards
--
Rafa
I arrived late. There's a fix about it and will be in next release.
While you can try a provisional fix proposed by Christopher Rigor:
"
Until this gets fixed, you can add this to deploy.rb
set :releases, lambda { capture("ls -x
#{releases_path}").split.sort }
"
Read:
https://capistrano.lighthouseapp.com/projects/8716/tickets/88-getting-the-newest-directory
--
Rafa
Tim Jones
Barbary Codes and Data
www.barbarycodes.com