Commit Graph

399 Commits

Author SHA1 Message Date
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
Cristhian Motoche
64dd271aa5 Add optparse-applicative for parsing args (#46) 2017-01-28 17:05:37 +04:00
Juan Pedro Villa Isaza
1b6e2c1010 Add version constraints to dependencies (Close #42) 2016-11-15 08:49:03 -05:00
Omar Ahmed
71e9f29e1d Fix #42 2016-11-14 19:10:34 -05:00
Juan Pedro Villa Isaza
e68b2ab052 Bump version to 0.2.1.2 [ci skip] 2016-05-30 13:32:01 -05:00
Juan Pedro Villa Isaza
d7c61a97b5 Allow base 4.9 for GHC 8 2016-05-30 13:22:41 -05:00
Juan Pedro Villa Isaza
af17611767 Merge pull request #37 from stackbuilders/change-travis
Update travis.yml to works with stack
2016-03-04 09:48:59 -05:00
CristhianMotoche
83ac8ff9d3 Update travis.yml to works with stack 2016-02-25 09:56:37 -05:00
Juan Pedro Villa Isaza
790c5f680c Merge pull request #34 from stackbuilders/handle-command-line-options/issue-33
Handle command line options with GetOpt
2016-02-24 13:15:21 -05:00
Juan Pedro Villa Isaza
01d1390036 Add README.md to extra-source-files [ci skip] 2015-09-25 10:34:57 -05:00
Juan Pedro Villa Isaza
19fbe543a1 Add a change log file (Close #23) 2015-09-25 09:58:06 -05: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
5646acc44e Bump version to 0.2.1.1 [ci skip] 2015-09-24 10:39:51 -05:00
Juan Pedro Villa Isaza
2474a5ad63 Merge pull request #32 from stackbuilders/fix-tests/issue-31
Fix Git configuration for tests
2015-09-24 10:36:57 -05:00
Juan Pedro Villa Isaza
ca5c7a28ad Configure Git to fix tests 2015-09-24 10:19:30 -05:00
Juan Pedro Villa Isaza
2574758102 Bump version to 0.2.1 [ci skip] 2015-09-23 13:21:03 -05:00
Juan Pedro Villa Isaza
1fe423f690 Merge pull request #29 from stackbuilders/fix-tests/issue-25
Fix tests on Linux
2015-09-23 10:38:00 -05:00
Juan Pedro Villa Isaza
ada5961a5f Remove unused runCommand function 2015-09-23 09:20:24 -05:00
Juan Pedro Villa Isaza
baccedde47 Enable tests 2015-09-23 09:02:44 -05:00
Juan Pedro Villa Isaza
41503107b0 Fix tests on Linux 2015-09-22 20:13:51 -05:00