Commit Graph

17 Commits

Author SHA1 Message Date
Sibi Prabakaran
72b3784749
Play the scripts in the local machine (localhost) 2017-08-30 03:26:00 +05:30
Vanessa McHale
1b714978fe Generate help for subcommands 2017-05-15 21:38:22 -05:00
Sibi
2636cc5c06 Add ability to make version control related activities optional (#66) 2017-04-05 20:57:50 +03:00
Sibi
b2311466a3 Fix version display (#64)
The old way of seeing the version of the program was by doing
something like this:

hap deploy -v

This patch makes it viewable by doing like this (which I feel is a
proper way to do):

hap -v
2017-03-30 13:56:54 +03:00
mrkkrp
fd40572c90 Print newline after the final “Success.” message 2017-03-01 23:59:17 +03:00
Mark Karpov
e4790b3619 Implement concurrent multihost deployment (#60)
* Implement concurrent multi-host deployment
* Fix a couple of typos/obsolete info in ‘CHANGELOG.md’
2017-03-02 00:40:08 +04:00
mrkkrp
01a30ee43d Ensure that target directories for ‘scp’ actually exist
This is necessary because ‘scp’ has fewer options than normal ‘cp’ and so it
lacks flags that would prevent failing because of missing target location.
We add there these commands to ensure that copying of files always succeeds.
2017-02-21 19:45:56 +03:00
mrkkrp
ca396d19eb Restart command should be run after release activation 2017-02-21 19:44:54 +03:00
Mark Karpov
d791dd164e Add support for copying files and directories (#58) 2017-02-20 19:09:21 +04:00
Mark Karpov
e8b1d7a8d9 Use ‘hap.yaml’ to store configuration (#57) 2017-02-20 18:33:12 +04:00
Mark Karpov
7727061493 Add verification before rollbacks (#53) 2017-02-08 20:16:53 +04:00
Mark Karpov
72a1b75e70 Refactor/rewrite all the code (#52)
* Refactor/rewrite all the code

The change prepares solid ground for further improvements. This also fixes
at least two bugs:

* Proper support for empty lines and comments in build scripts.

* Previously switching to new releases was not atomic despite messing with
  symlinks. This is because it deleted the current link before creating the
  new one, but it should have created a new link and then use ‘mv’ to
  replace the old one atomically. The code has been changed to work properly
  now.

* Refresh the test suite as well

* Fix the build for older GHCs

* Use subshell for ‘cd’ commands
2017-02-06 19:04:00 +04:00
Cristhian Motoche
c6dd1bc640 Parse env variable PORT (#39) 2017-01-28 17:43:45 +04:00
Cristhian Motoche
64dd271aa5 Add optparse-applicative for parsing args (#46) 2017-01-28 17:05:37 +04:00
Juan Pedro Villa Isaza
e5b2a83cb2 Handle missing environment variables 2015-09-24 18:01:25 -05:00
Juan Pedro Villa Isaza
d4c623b45a Handle command line options with GetOpt (Close #33) 2015-09-24 16:18:00 -05:00
Juan Pedro Villa Isaza
c6fb4becfc Clean up (Cabal) package 2015-09-09 14:05:20 -05:00