- Stdin is now being passed, thereby making git prompts work.
- Foreman: Add foreman support. (#71) Dan Sosedoff
- Foreman: Fix 'command not found' error. (#89, #101)
- Foreman: Fix forman stop. Andrew Rosa
- Fix
mina setupshowing an error. (#64) Anthony Hristov - Fix "broken pipe" error after deploying. (#64) Tomas Varneckas
- Fix error regarding "open4" in Windows environments. (#58)
- Fix the default script's "touch tmp/restart.txt" to work for reliably. (#77) Eugene Diachkin
- Fix errors that happen when the host string is frozen. sonots
- RVM: use 'rvm use --create'. (#81) Marcos Beirigo
- RVM: Add 'rvm:wrapper' task to create wrappers. (#81) Marcos Beirigo
- New helper method called 'capture' to capture SSH output. (#113) Naoki Ainoya
- Fix encoding errors. (#68) Faud Saud
Special thanks to all the contributors who made this release happen.
https://github.com/nadarei/mina/compare/v0.2.1...v0.3.0
This release is to fix some issues that should've been cleaned up in the previous release, but wasn't.
- Fix SSH helpers giving a 'class required' error.
- Send stdout even in term_mode = :pretty mode.
- Rbenv: Fix compatibility with Debian, Arch, Fedora. (#44)
- Supress the "--depth is ignored in local clones" warning. (#56)
- Add the
:ssh_optionssetting. (#23) - Add the
:forward_agentsetting. (#23)
- Make the
:term_modesetting accept strings, not just symbols. (eg:set :term_mode, 'exec')
This release had two pre releases:
- v0.2.0.pre2 (Aug 2, 2012)
- v0.1.3.pre1 (Jul 13, 2012)
- Allow changing
:term_modein the setup task. (#51, @alfuken) - Prevent
git logfrom using a pager. (#42, @tmak) deploy:cleanupcan now be called in a deploy script. (#50, @dariocravero)- Don't invoke bash anymore (!), assume that bash is the shell for the user. Fixes Ubuntu 12, and many other things.
- Fixed
ssh(cmd, return: true)that used to exit. (#53 from @jpascal) - [pre2] Call ssh with no double use
-tparameter. - [pre2] Fix Ruby 1.8 compatibility.
- [pre2] Fix the "undefined method > for Process::Status" error.
- [pre2] Using
force_migrate=1andforce_assets=1torails:db_migrateandrails:assets_precompilenow works well. - [pre1] Respect the
bundle_binsetting when doingbundle execin Rails commands. (#29) - [pre1] Doing
rails:assets_precompilenow properly skips asset compilation if not needed. (#25)
- Added the 'queue!' helper.
- Add support for Whenever. (#47, @jpascal)
- Add a new
:environmenttask that gets loaded on setup/deploy. - Add explicit support for rbenv/rvm. (#5, #39)
- Implement :'rvm:use[...]'. (#5, #39)
- Implement :'rbenv:load'. (#5, #39)
- Revert
rails:optimize_for_3.2from the pre2 release. (#32) - [pre2] Optimize git:clone by caching the repository. This way, updates are faster because not the entire repo is cloned everytime. (#10)
- [pre2] Show elapsed time that a deploy takes.
- [pre2] Display the git commit nicely when deploying.
- [pre2] Force quit when 2
^Cs are pressed. - [pre2] New
diehelper. - [pre2] New
report_timehelper. - [pre2] New
to_directoryhelper. (#35) - [pre2] Put optional optimizations for Rails 3.2 asset pipeline. (#32) -- reverted
- Update sample deploy script:
- [pre2] Update default deploy.rb to note :branch.
- [pre2] Add
link_shared_pathsto the sample deploy script.
- [pre1] Doing
rails:db_migratenow skips doing migrations if they're not needed. (#18) - [pre1] Added the
mina consolecommand for Rails. - [pre1] Make asset paths configurable using the
asset_pathssetting.
- Force removal of shared path destinations before linking with
deploy:link_shared_paths. Fixes symlinking oflog/in Rails projects. - Rails: speed up default asset compilation a bit by invoking
assets:precompilewithRAILS_GROUPS=assets. - Add helpful error message when there is a problem with deploy.rb or a custom Rakefile. (#37, @sge-jesse-adams)
- Update the default deploy.rb to add notes about 'mina setup' customizations.
- Make
mina run,mina rake,mina consoleuse the new:environmenttask. - Allow calling
diewithout arguments. - [pre2] Improve output of
mina init. - [pre2] Prettier output for
mina setup. Also, show a better error message for it. - [pre1] Refactor pretty printing to be simpler, cleaner, and extensible.
- [pre1] Show prettier abort messages when ^C'd.
This release had two prereleases: v0.1.2.pre1 and v0.1.2.pre2.
- Show stdout output properly on deploy.
- 'mina rake' now works.
- [.pre2] Fix
deploy:link_shared_pathsto use absolute paths. - [.pre2] Fix console logs for task init.
- [.pre1] Fixed JRuby support.
- [.pre1] Respect .bashrc. (#5)
- [.pre2] Add
:bundle_binoption. - [.pre2] Add
:sshport option.
- Refactor pretty printing to be simpler, cleaner, and extensible.
- Show prettier abort messages when ^C'd.
- Use the new error message format. (See lib/mina/output_helpers.rb)
- [.pre1] Implement
ssh("..", return: true). - [.pre1] Rename
simulate_modetosimulate_mode?. Same withverbose_mode?. - [.pre1] Show the SSH command in the simulation output.
- Check for releases_path directory in deploy script.
- mina deploy:cleanup
- Support for -f option.
- Gem description.
- deploy.rb template (domain, user, git:clone).
- Handle empty Git repository.
- Add pkg to gitignore.
Renamed to Mina from Van Helsing.
vh rails[command]andvh rake[command]tasks.- Add
vh run. -Sas an alias for--simulate.- the
#set_defaulthelper. - the
bundle_prefixsetting. - New
term_modesetting.
--simulateshow things without thesshcommand or shellescaping.
Thanks to @sosedoff for his contributions that made it to this release.
- Rubinius support.
- Ruby 1.8 support.
- Prelimenary JRuby support.
- MIT license.
- Highlight errors as red in deploy.
- Use popen4 instead of popen3. Support JRuby via IO.popen4.
- Rename
to :restarttoto :launch. - Make deploys fail if renaming the build (eg, not setup properly) fails.
- Added
rake spec(aliased as justrake) task. It tests with Rake 0.8 and 0.9 both. - Integrate with Travis CI.
- Make the SSH test more portable.
- Removed
rake spec:verbose.
- Add
--traceto thevh helpscreen. - Rake 0.8 compatibility.
- Ruby 1.8.7 compatibility.
- Use
:domaininstead of:host.
- Allow rake 0.8 testing using
rake=0.8 rspec. - Add more README examples.
--simulateswitch.--verboseswitch.- The help screen now shows command line switches (like
--verbose). - Build in
tmp/instead of inreleases/. - Use
verbose_modeandsimulate_modeinstead. Using 'verbose' causes problems. - New
#deploy_scripthelper, to make things more transparent.
- Added a test for an actual deployment.
- Make the
test_envrunnable even without a net connection. - New tests for actual deployment. Just do
rspec -t ssh. - Cleanup
git:clonecode. - A buncha code cleanups.
- A help screen. You can see it with
vh --help,vh -hor just plainvh. - Implemented
vh --version. - Sequential release versions. Yay!
- Added the
build_pathsetting, which supercedes the now-removedrelease_path.
release_pathhas been deprecated.
- Stupid critical bug fix: fix
vh:setupgiving the world access to deploy_to. - Ensure that SSH stderr output is shown properly.
- Make
#invokework with tasks with arguments (eg, :'site:scrape[ensogo]')
- Edit the default deploy.rb to have a description for the deploy task.
- Make
vh -Tshowvhinstead ofrake. - Make
vh setupensure ownership of thedeploy_topath. - Make deploy steps more explicit by echoing more statuses.
- When deploys fail, you now don't see the default Ruby backtrace. It now
behaves like Rake where you need to add
--traceto see the trace.
- Fixed the error that sometimes happens when invoking
vhwithout a deploy.rb. - Update the sample deploy.rb file to be more readable.
- The test_env/ project can now be deployed without problems, so you can try things out.
- Lots of new tests.
- rspec test order is now randomized.
- rspec output is colored (thanks to .rspec).
- Better script indentation when running in simulation mode.
- In symlinking
./current/, useln -nfsinstead ofrm -f && ln -s.
- Implement
vh initwhich creates a sample deploy.rb. - Implement 'vh setup'.
- Added the configurable
:releases_pathsetting, so you may change where to keep releases. - Added documentation via Reacco.
- Allow settings to throw errors on missing settings by adding a bang (e.g.,
bundle_path!orsettings.bundle_path!)
- Allow
bundle:installto skip having shared bundle paths if:bundle_pathis set to nil. - Rename
force_unlocktodeploy:force_unlock. - Rename
vh:link_shared_pathstodeploy:link_shared_paths. - Invoking
deploy:force_unlocknow shows the command it uses.
- The
bundle:installtask now honors thebundle_pathsetting. - Fixed
deploy:force_unlockalways throwing an error. - The
deploy:force_unlocktask now honors thelock_filesetting, so the user may change the location of the lock file. - Fixed
rails:assets_precompilenot compiling if no older assets found.
- Deprecate
#validate_set.
- Move deploy settings to deploy.rb.
- Rename the
defaultaddon todeploy.
Initial version.