Commit graph

77 commits

Author SHA1 Message Date
WhiteTrefoil 08875eebec Supporting port config of SFTP 2014-01-18 21:55:50 +08:00
Cecile Veneziani 11860dd930 Refactoring
- Create a class per method
- Create a class per git strategy
- Extract USAGE into a file
- Refactor git and ftp/sftp methods
2014-01-16 16:52:52 +01:00
Cecile Veneziani 23c6b8c1f6 Add strategy option to git method
- Set force push as default strategy (avoid breaking change)
- Add submodule strategy
2013-11-30 21:28:35 +01:00
Tom Vaughan b0f7cde56a bump 2013-11-23 17:17:25 -03:00
Tom Vaughan 26f2e43a52 Add new rsync flags option to error message. 2013-11-19 20:36:02 -03:00
Jason Semko 5b1723ab34 adding a flags option to override default rsync flags 2013-11-18 17:42:55 -08:00
Sebastian Daniel 36785eb98f fix for quotes not woking when comitting on a windows machine. + comment since change didn't show up on github 2013-10-01 20:14:23 +02:00
Sebastian Daniel 273174f427 fix for quotes not woking when comitting on a windows machine. 2013-10-01 19:43:02 +02:00
Tom Vaughan d845e9f42d Bump. 2013-09-21 12:33:45 -03:00
Tom Vaughan 268ddb1a14 Add username and password are optional to sftp docs. 2013-09-21 12:06:25 -03:00
Tom Vaughan 2f8d236ee4 Make username optional for sftp deployment. Like rsync. 2013-09-21 12:05:56 -03:00
Martin Schürrer 6eed387731 Make password optional for sftp deployment
Some people use public key authentication
2013-09-12 20:33:06 +02:00
Tom Vaughan 336fcd3c0e Catch specific exception. Fixes #38 (I think). 2013-08-24 11:16:22 -04:00
Tom Vaughan a738143f3e bump 2013-08-08 19:46:10 -04:00
Tom Vaughan c9d44ba5e7 Comment and separate default options. 2013-08-08 19:44:03 -04:00
Tom Vaughan 6cb77153d4 Add port to list of possible options. 2013-08-08 19:41:46 -04:00
Tom Vaughan d749a99fbe Let user be optional in the rsync method. 2013-08-08 19:39:10 -04:00
Ryan McGeary 81fd3ad4c5 Removed use of global constants (VERSION and PACKAGE)
Fixes #33
2013-08-03 18:06:38 -04:00
Tom Vaughan a5d8d9c4f3 bump 2013-07-29 19:58:39 -04:00
Tom Vaughan e1c44aa9d3 Call middleman build to work-around a problem in middleman. 2013-07-23 21:43:15 -04:00
Tom Vaughan 9c925ff0e5 some ftp/sftp related clean-ups 2013-07-16 22:25:06 -04:00
Tom Vaughan c0a974d6a0 bump 2013-07-16 22:08:33 -04:00
Tom Vaughan 8cb0500c0d remove the --clean command-line option 2013-07-16 21:53:11 -04:00
Tom Vaughan 62248cb099 update tagline and ensure required settings are provided for sftp 2013-07-16 21:43:00 -04:00
Tom Vaughan 757272d6af whitespace clean-up 2013-07-16 21:40:33 -04:00
Tom Vaughan f0a60edf29 work-around a problem with running build in an extension 2013-07-16 21:24:45 -04:00
Tom Vaughan 3b9b8093d3 Rename to build_before and add corresponding command-line option. 2013-06-11 00:42:12 -04:00
Tom Vaughan 8c9b79688a Remove the after_build option. This never made much sense. 2013-06-11 00:14:34 -04:00
Tom Vaughan 264f1082b2 Merge pull request #24 from jm3/force-build
(optionally) force a build before any deploy
2013-06-10 21:03:06 -07:00
tobiaswerner a1ae241553 Added SFTP deployment 2013-06-08 22:46:43 +02:00
Ryan McGeary e854adb5a6 Fixed branch selection logic for git deploys
* Before, because the logic was revered (see
  c0e46393c6), a brand new deploy would
  result in assuming that the deploy branch existed when it actually
  did not. This would cause initial deploys to fail.
* This new logic is more concise, more readable, and still backwards
  compatible with ruby 1.8.
2013-05-30 10:25:03 -04:00
John Manoogian III 92e7724a1a (optionally) force a build before any deploy 2013-05-06 16:39:19 -07:00
Tom Vaughan 5931dfc748 bump 2013-05-05 20:14:12 -04:00
Tom Vaughan 41f33b69d2 Fix #23. use build_dir as specified in config.rb 2013-05-05 20:13:14 -04:00
Tom Vaughan 46286a2729 bump 2013-03-15 22:57:41 -03:00
Fabien Piuzzi c0e46393c6 Fixing deploy for ruby 1.8
.keep_if is not present in Ruby 1.8, using delete_if and reversing the test should be equivalent and more universal.
2013-03-01 18:07:33 +01:00
Tom Vaughan 7f2b18b2de bump 2013-01-20 10:56:03 -03:00
Tom Vaughan 8c6bbae53a Display help on config.rb when ftp method is not setup correctly. Update printf's. 2013-01-20 10:51:22 -03:00
Daniel Bayerlein fd926b183d [deploy_ftp] Add support for hidden files. 2013-01-13 19:41:58 +01:00
Tom Vaughan 73258f3c5c bump 2013-01-05 13:43:18 -03:00
Benjamin Knofe 6b6f928e75 git: remove origin fetching, fixes #9 2013-01-02 22:38:24 +01:00
Tom Vaughan 1877938c8a bump 2012-12-01 20:52:53 -03:00
Tom Vaughan 95a796ab41 Merge pull request #8 from benben/git-deploy
Better git deployment.

 * Remove outdated git gem.
 * Support git remotes other than "origin".
 * Use "build" directory as tmp git repo.
2012-11-28 04:27:32 -08:00
Benjamin Knofe 327a41fd05 refactored the whole git deploy process, fixes #7 2012-11-28 11:17:24 +01:00
Tom Vaughan d4ae8de561 bump 2012-11-13 20:33:45 -03:00
Tom Vaughan 2137e353f3 whoa! three deploy methods! sweet! exclamation points!!! 2012-11-13 20:33:13 -03:00
Benjamin Knofe 963971bb15 added ftp to error message 2012-11-08 16:53:45 +01:00
Benjamin Knofe 817ac132c0 added FTP deployment 2012-11-08 16:45:57 +01:00
Tom Vaughan 2b33d3d409 call deploy via middleman's built-in after_build hook
TODO: pass "--clean" or "--no-clean" to deploy as passed to build
2012-10-31 17:49:30 -03:00
Tom Vaughan aa59736914 bump 2012-10-05 00:44:18 -03:00