Commit Graph

169 Commits

Author SHA1 Message Date
Sibi Prabakaran
ede332fea4
Fix typo: /s/preforms/performs 2017-09-04 22:16:23 +05:30
Sibi Prabakaran
bcf31c2cf5
Add hspec tests for both the scenarios 2017-09-04 22:16:00 +05:30
Sibi Prabakaran
798f6ccba8
Add better explanation 2017-08-30 03:43:49 +05:30
Sibi Prabakaran
4494a11f83
Fix typo 2017-08-30 03:29:35 +05:30
Sibi Prabakaran
08b85c9fe3
Update README.md with instruction 2017-08-30 03:29:13 +05:30
Sibi Prabakaran
72b3784749
Play the scripts in the local machine (localhost) 2017-08-30 03:26:00 +05:30
Sibi Prabakaran
27567327ec
Add run_locally command section
This will allow programs to be run on local machine before Hap get's
started up.
2017-08-30 03:24:37 +05:30
Sibi Prabakaran
9b2f9b8aa2
Add playScriptLocally function
Modifies the Hapistrano monad to the local machine environment which
enables the command to run locally.
2017-08-30 03:22:42 +05:30
Juan Paucar
72d4ccca7a Merge pull request #78 from stackbuilders/loose_more_constraints
Loose package constraints
2017-08-08 17:35:34 -05:00
Juan Carlos Paucar
a82d8d5f84 Loose package constraints 2017-08-08 17:22:43 -05:00
Juan Paucar
5cdced4c6f Merge pull request #77 from stackbuilders/loose_constraint_for_path_io
Loose constraint for `path-io`
2017-08-08 16:03:07 -05:00
Juan Carlos Paucar
ff2d5eb76d Loose constraint for path-io 2017-08-08 15:49:38 -05:00
Juan Paucar
d5f56a0675 Merge pull request #72 from javcasas/optparse-applicative-version-bump
Allow version 0.15 for optparse-applicative
2017-06-13 20:56:24 +02:00
Javier Casas
4f2d174595 Version bump 2017-06-13 13:03:52 -05:00
Javier Casas
8c3825320c Allow version 0.15 2017-06-13 12:47:45 -05:00
Juan Paucar
2439b17991 Merge pull request #71 from stackbuilders/bump_version
Version bump (0.3.2.1)
2017-05-17 14:41:52 -05:00
Juan Carlos Paucar
916f675523 Version bump (0.3.2.1) 2017-05-17 14:29:47 -05:00
Juan Paucar
1b71c3add5 Merge pull request #70 from vmchale/master
Generate help for subcommands
2017-05-16 09:25:38 -05:00
Vanessa McHale
1b714978fe Generate help for subcommands 2017-05-15 21:38:22 -05:00
mrkkrp
eed3009a64 Allow ‘aeson-1.2.0.0’ 2017-04-16 22:13:20 +03:00
mrkkrp
0b8644ae29 Version bump (0.3.2.0) 2017-04-05 21:12:34 +03: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
847493ec87 Fix a typo 2017-03-12 00:58:16 +03:00
mrkkrp
94c2bf6324 Enable caching on Travis 2017-03-05 16:44:28 +03:00
mrkkrp
a15e36390e Don't test with GHC and Cabal HEAD on Travis 2017-03-03 01:06:28 +03:00
mrkkrp
89e965af96 Version bump (0.3.1.0)
[skip ci]
2017-03-02 00:45:02 +03:00
Mark Karpov
728799da0c Merge pull request #62 from stackbuilders/various-corrections
Various corrections
2017-03-02 01:44:14 +04:00
mrkkrp
9d933ac71d Drop no-longer useful completion tokens 2017-03-02 00:24:35 +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
Mark Karpov
ff938a3c71 Fix the problem with fetching not updating repos (#61) 2017-03-01 21:01:54 +04:00
mrkkrp
4a64328bf0 Version bump (0.3.0.1) 2017-02-21 21:10:27 +03:00
Mark Karpov
754f0f6c98 Merge pull request #59 from stackbuilders/fix-some-issues
Fix some issues
2017-02-21 22:07:57 +04:00
mrkkrp
5801ba5b9c Update the ‘CHANGELOG.md’ file to mention recent fixes 2017-02-21 20:54:52 +03: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
3ce20a127f Fix a typo: ‘-P’ flag sets SSH port of ‘scp’ command 2017-02-21 19:45:28 +03:00
mrkkrp
ca396d19eb Restart command should be run after release activation 2017-02-21 19:44:54 +03:00
mrkkrp
91b7ad3ecf Reduce verbosity of some command to make reading logs easier 2017-02-21 19:43:47 +03:00
mrkkrp
5201b3eb9b Version bump (0.3.0.0)
[skip ci]
2017-02-20 21:06:34 +03:00
mrkkrp
494134e702 Mention the ability to copy files and dirs in changelog
[skip ci]
2017-02-20 20:56:55 +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
mrkkrp
7c65c4c2bc Infer, refresh the change log 2017-01-29 17:54:22 +03:00
Mark Karpov
d66bb9b0db Use a different Travis script plus more (#51)
We should test with Cabal, not stack, because it allows to test in more
adverse environment, test with GHC versions that are not yet in snapshorts,
and generally improve compatibility.

This script tests with Cabal 1.24, as it's compatible with all GHC versions
of interest and has a better dependency resolution algorithm that allows to
avoid some problems with builds.

I also would like to impose 100% Haddock coverage here.
2017-01-29 18:25:02 +04:00
mrkkrp
d62161e5d7 Refresh ‘stack.yaml’ 2017-01-28 16:45:47 +03:00
Cristhian Motoche
c6dd1bc640 Parse env variable PORT (#39) 2017-01-28 17:43:45 +04:00
Juan Paucar
8c760cff32 Support comments and empty lines (#44) 2017-01-28 17:08:37 +04:00