Commit Graph

50 Commits (e14f90fe1df41437065e75195a2ac7481b0b15f6)

Author SHA1 Message Date
Karl Freeman e14f90fe1d cleanup 2014-08-14 11:18:58 +01: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 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 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 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 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 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 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 41f33b69d2 Fix #23. use `build_dir` as specified in config.rb 2013-05-05 20:13:14 -04: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 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
Benjamin Knofe 6b6f928e75 git: remove origin fetching, fixes #9 2013-01-02 22:38:24 +01: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 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 01eb463045 allow remotes other than "origin" in the git deploy method 2012-10-05 00:44:02 -03:00
Konstantin Gribov 62e6d4429f Added support for non-default (gh-pages) branch on github 2012-09-27 02:27:15 +04:00
Tom Vaughan 72fcf8c717 periods, periods, periods 2012-09-04 11:04:09 -07:00
Tom Vaughan a832143c87 misc clean-ups 2012-09-04 10:30:52 -07:00
Tom Vaughan 8694bb8fb2 rework how we get our extension options 2012-09-04 10:25:21 -07:00
Tom Vaughan fa123c1c70 as reported at: http://forum.middlemanapp.com/discussion/comment/177 2012-09-03 11:31:15 -07:00
Ben Cates bf8ce71a49 Update lib/middleman-deploy/commands.rb
Dumb fix
2012-08-30 00:58:44 -03:00
Ben Cates 4de34e8948 Added github pages support 2012-08-29 23:50:23 -04:00
Tom Vaughan bf914bb27a be explicit about what deploy means 2012-08-22 16:56:07 -07:00
Tom Vaughan c19f049a63 oops 2012-08-22 16:17:46 -07:00
Tom Vaughan bcba3abbdb add whitespace 2012-08-22 14:15:37 -07:00
Tom Vaughan f65564404c rename "delete" to "clean" (like middleman's build) and override on command-line (if provided) 2012-08-22 14:09:26 -07:00
Tom Vaughan c4290d9d29 less convoluted 2012-08-22 12:37:37 -07:00
Tom Vaughan 13ccf115ab this works as `middleman deploy` 2012-08-22 11:45:33 -07:00
Tom Vaughan 841192874a this needs to be checked-in so that `gem install` picks it up 2012-08-21 10:31:24 -07:00