Commit graph

3164 commits

Author SHA1 Message Date
Oleg Grenrus
76d1e13fcc Resolve #1736: Retry fetching stack thrice 2016-02-04 10:37:40 +02:00
Michael Sloan
4d0e46d6fd Fix build on GHC 7.8 2016-02-03 22:30:36 -08:00
Michael Sloan
964db1cd38 Merge pull request #1599 from sjakobi/471-check-for-sudo
Add 'allow-different-user' flag and configuration option #471
2016-02-03 20:03:45 -08:00
Michael Sloan
0ced61dde6 Build Setup.hs with -rtsopts #1687 2016-02-03 19:29:00 -08:00
Michael Sloan
514add4807 Merge remote-tracking branch 'origin/stable' 2016-02-03 18:47:58 -08:00
Michael Sloan
355698ab6e Clarify extra-deps doc #1734 2016-02-03 18:43:42 -08:00
Simon Jakobi
2c2e15ae63 Add 'allow-different-user' flag and configuration option #471
Users other than the owner of the ~/.stack directory are now prevented
from using a stack installation in order to avoid problems with file
permissions. To disable this precaution users can pass the
--allow-different-user flag or use the 'allow-different-user'
configuration option in their ~/.stack/config.yaml.

On Windows, the new flag and configuration options have no effect.
2016-02-03 23:30:48 +01:00
Michael Sloan
8b010060b0 Merge pull request #1720 from mrkkrp/switch-to-path-io
Remove ‘Path.IO’, switch to ‘path-io’ package
2016-02-02 23:56:38 -08:00
Michael Sloan
d1aeefda66 Merge pull request #1726 from harendra-kumar/stack-init
Do not repeat printing of package flags
2016-02-02 23:43:23 -08:00
Michael Sloan
14e4ff82f9 Merge pull request #1724 from wolftune/error-message
clearer missing deps error message
2016-02-02 23:43:01 -08:00
Aaron Wolf
55cfe16f77 clearer missing deps error message 2016-02-01 23:10:49 -08:00
Harendra Kumar
0c6a9f70cd Do not repeat printing of package flags 2016-02-02 11:22:43 +05:30
mrkkrp
46a7c46310 Remove ‘Path.IO’, switch to ‘path-io’ package 2016-01-31 23:32:51 +06:00
Emanuel Borsboom
b2a182d633 Docker: pass USER and PWD environment to container
closes #1715
2016-01-30 13:59:41 -08:00
Emanuel Borsboom
0306810b86 Changelog: fix formatting 2016-01-30 12:46:56 -08:00
Emanuel Borsboom
8ca93bb827 Docker: strip suffix from docker --version
fixes #1653
2016-01-30 12:44:09 -08:00
Emanuel Borsboom
0200591988 Docker: don't create ~/.ssh if it doesn't exist 2016-01-30 12:23:06 -08:00
Emanuel Borsboom
5bbe880a79 Docker: mount ~/.ssh in container (#1358) 2016-01-30 11:59:46 -08:00
Emanuel Borsboom
cea6e03a85 Docker: pass SSH auth socket into container 2016-01-30 10:52:09 -08:00
Emanuel Borsboom
2e319cd9e9 Update MAINTAINER_GUIDE.md 2016-01-30 06:08:11 -08:00
Michael Sloan
459d649fe9 Merge pull request #1716 from narrative/master
Give mustache templates access to a 'year' tag
2016-01-29 20:35:34 -08:00
Michael Sloan
2f8f6a46ff Merge pull request #1719 from harendra-kumar/stack-init
Update changelog for stack init changes
2016-01-29 20:35:02 -08:00
Michael Sloan
36cdb5d5e3 Add "stack ghci --load-local-deps"
+ some misc refactoring
2016-01-29 20:33:54 -08:00
Harendra Kumar
c6fbbf9804 Update changelog for stack init changes 2016-01-30 09:20:14 +05:30
Michael Sloan
dd952bfdce Have "stack ghci" warn about module name aliasing 2016-01-29 19:35:00 -08:00
erik stevenson
385f7374fe Give mustache templates access to a 'year' tag 2016-01-29 15:11:50 -05:00
Michael Sloan
3933f1f00f Fix formatting of an import 2016-01-27 23:35:02 -08:00
Michael Sloan
0347cd15c3 Redownload build plan if parsing fails #1702 2016-01-27 00:02:25 -08:00
Michael Sloan
93d85ffe18 Merge pull request #1697 from kernelim/zip-archive
YAML config: support Zip archives
2016-01-26 23:45:26 -08:00
Michael Sloan
87037226d3 Fix ordering of BuildPlanCheck results
The comment said that GT was better, but for partial and failing
snapshots, LT was returned for better results. The snapshot comparison
logic was using <=, so this worked for partial and failing snapshots,
but not BuildPlanCheckOk.
2016-01-26 23:27:43 -08:00
Michael Sloan
3dd473b37a Use a function instead of Ord for BuildPlanCheck 2016-01-26 23:20:13 -08:00
Michael Sloan
c29ca4718e Merge pull request #1674 from harendra-kumar/stack-init
Stack init and solver finish up and doc update
2016-01-26 23:04:49 -08:00
Dan Aloni
99eb520bc3 YAML config: support Zip archives
Instead of assuming a URL is a tarball based on its filename extension,
we can try to various archive formats until we give up. Added exception
UnableToExtractArchive.

NOTE: This changes filenames after .stack-work/downloads, since we
should not give an arbitrary archive the extension '.tar.gz'. Instead,
it shall be '.http-archive'.

Suggested-by: Michael Sloan <mgsloan@gmail.com>
2016-01-27 08:59:24 +02:00
Michael Sloan
c6d57fd964 Add more explanation of "packages" default 2016-01-26 20:51:27 -08:00
Michael Sloan
6a6a27f42e Merge pull request #1649 from panamiga/1609-full-clean
Added option for full working dir cleanup in command clean
2016-01-26 20:51:02 -08:00
Michael Sloan
b5e6c8fdfa Merge pull request #1690 from commercialhaskell/improved-travis-caching-in-guide
Updated Travis example
2016-01-26 19:36:12 -08:00
Michael Sloan
1e0d53e91d Merge pull request #1707 from commercialhaskell/default-packages-setting
show default packages setting
2016-01-26 19:22:48 -08:00
Michael Sloan
6151397ce7 Merge pull request #1703 from sjakobi/lts-5
Bump to lts-5.0
2016-01-26 19:21:52 -08:00
Greg Weber
e1c65c1a24 show default packages setting 2016-01-26 12:30:01 -08:00
Greg Weber
cdec7d3012 move version support mention to appropriate location 2016-01-26 12:28:34 -08:00
Simon Jakobi
de524cb076 Bump to lts-5.0 2016-01-26 15:19:29 +01:00
Michael Sloan
3ea8437e47 Have ghci load info after build 2016-01-25 18:58:14 -08:00
Michael Snoyman
b599367e11 Updated Travis example
* Better caching via compiler setting
* A little more commenting
* OS X support built-in
2016-01-21 14:32:01 +02:00
Michael Sloan
71bf72899b Flush output after sticky messages #1685 2016-01-20 16:06:07 -08:00
YPares
7a212a53d9 Nix integration intent clarified in docs 2016-01-20 15:10:10 +01:00
YPares
568938da27 Added in FAQ info about TMPDIR with Nix (see issue #1640) 2016-01-20 10:05:35 +01:00
Eldar Yakupov
a11839ac8e Added cleanup of project-wide work dir.
Full clean applicable only to whole the project.
2016-01-20 14:42:34 +06:00
Michael Sloan
6256054f93 Fix running test / bench with --profile / --trace
It was passing in a flag like " +RTS ", so it got interpreted as a
normal program argument. Once this was fixed, when tracing or profiling
was off, "" was passed in as an argument, which caused an "unexpected
RTS argument:" error.
2016-01-19 22:34:43 -08:00
Michael Sloan
e89f903b89 Fix compilation on 7.8 2016-01-19 17:05:27 -08:00
Michael Sloan
de21127d5e Use Path.IO utils for parsing --stack-yaml #1671 2016-01-19 15:47:30 -08:00