Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Dec 15, 2018
2 parents daa5a44 + 49b2a13 commit caf032b
Show file tree
Hide file tree
Showing 30 changed files with 44 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# use cabal without any Stackage snapshots.
#
language: generic
sudo: false
dist: xenial

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion doc/GUIDE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# User guide

Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# The Haskell Tool Stack

Expand Down
2 changes: 1 addition & 1 deletion doc/SIGNING_KEY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Signing key

Expand Down
2 changes: 1 addition & 1 deletion doc/build_command.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Build command

Expand Down
2 changes: 1 addition & 1 deletion doc/coverage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Code Coverage

Expand Down
2 changes: 1 addition & 1 deletion doc/custom_snapshot.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Custom Snapshots

Expand Down
2 changes: 1 addition & 1 deletion doc/dependency_visualization.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Dependency visualization

Expand Down
2 changes: 1 addition & 1 deletion doc/docker_integration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

Docker integration
===============================================================================
Expand Down
2 changes: 1 addition & 1 deletion doc/faq.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# FAQ

Expand Down
2 changes: 1 addition & 1 deletion doc/ghci.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# GHCi

Expand Down
2 changes: 1 addition & 1 deletion doc/ghcjs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# GHCJS (experimental)

Expand Down
2 changes: 1 addition & 1 deletion doc/install_and_upgrade.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Install/upgrade

Expand Down
2 changes: 1 addition & 1 deletion doc/maintainers/ghc.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Adding a new GHC version

Expand Down
2 changes: 1 addition & 1 deletion doc/maintainers/msys.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Upgrading msys

Expand Down
4 changes: 2 additions & 2 deletions doc/maintainers/releases.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Releases

## Upcoming release tasks:

* Add back support for building static Linux binaries (by popular demand), and update `get-stack.sh` to use it (see [#4088](https://github.com/commercialhaskell/stack/issues/4088)).
* Check whether `persistent` still needs `monad-logger`; remove dependency if not
* Check if workaround for https://github.com/commercialhaskell/stack/issues/3922 still needed in stack.yaml
* Eventually remove the Ubuntu, Debian, CentOS, Arch packages from our S3 bucket. This was announced with the 1.9.x release, so can do this around time of 1.11.x. Directories, and last Stack version uploaded:
Expand All @@ -20,6 +19,7 @@
* Look through https://fpcomplete.slack.com/files/U9U8HDGUC/FCM7UN5NJ/notes_on_doc_maintainers_releases_md.txt for hints on how to make this document more clear.
* If `store` is no longer a dependency, likely can remove from stackage build constraints' `expected-test-failures`


## Iterating on release process

**IMPORTANT: all bindists for a given release should be built from a consistent git commit** (this can be relaxed a bit for release candidates, but still should be maintained as much as possible).
Expand Down
2 changes: 1 addition & 1 deletion doc/maintainers/team_process.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Stack Maintainer Team Process

Expand Down
2 changes: 1 addition & 1 deletion doc/nix_integration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Nix integration

Expand Down
2 changes: 1 addition & 1 deletion doc/nonstandard_project_init.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Non-standard project initialization

Expand Down
2 changes: 1 addition & 1 deletion doc/shell_autocompletion.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Shell Auto-completion

Expand Down
2 changes: 1 addition & 1 deletion doc/stack_yaml_vs_cabal_package_file.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# stack.yaml vs cabal package file

Expand Down
2 changes: 1 addition & 1 deletion doc/travis_ci.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# Travis CI

Expand Down
2 changes: 1 addition & 1 deletion doc/yaml_configuration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://rawgit.com/commercialhaskell/stack/master/doc/img/hidden-warning.svg"></a></div>
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# YAML Configuration

Expand Down
2 changes: 1 addition & 1 deletion etc/dockerfiles/stack-build/lts-11.22/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM fpco/stack-build:lts-11.6
ARG STACK_VERSION=1.9.1
ARG STACK_VERSION=1.9.3
RUN wget -qO- https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C /usr/local/bin '*/stack'
14 changes: 14 additions & 0 deletions etc/dockerfiles/stack-build/lts-12.15/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM fpco/stack-build:lts-12.0
ARG STACK_VERSION=1.9.1
ARG GHC_VERSION=8.4.4
RUN apt-get update && \
apt-get install -y \
ghc-$GHC_VERSION \
ghc-$GHC_VERSION-dyn \
ghc-$GHC_VERSION-htmldocs \
ghc-$GHC_VERSION-prof && \
rm -rf /var/lib/apt/lists/*
RUN wget -qO- https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C /usr/local/bin '*/stack'
RUN ln -s ghc-$GHC_VERSION /opt/ghc/$GHC_VERSION/share/doc/ghc
ARG CUDA_VERSION=8.0
ENV PATH=/root/.cabal/bin:/root/.local/bin:/usr/local/cuda-$CUDA_VERSION/bin:/opt/ghc/$GHC_VERSION/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
3 changes: 3 additions & 0 deletions etc/dockerfiles/stack-build/lts-12.21/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM fpco/stack-build:lts-12.15
ARG STACK_VERSION=1.9.3
RUN wget -qO- https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C /usr/local/bin '*/stack'
3 changes: 1 addition & 2 deletions etc/scripts/vagrant-releases.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
set -xe

cd "$(dirname "$0")/../.."
#TODO: set up gpg-agent forwarding for package signing (see http://superuser.com/questions/161973/how-can-i-forward-a-gpg-key-via-ssh-agent).
gpg --export-secret-keys --armor "${STACK_RELEASE_GPG_KEY:-0x575159689BEFB442}" >"gpg-secret-key.asc~"
gpg --export-secret-keys --armor "${STACK_RELEASE_GPG_KEY:-0x575159689BEFB442}" >"$(dirname "$0")/../../gpg-secret-key.asc~"

"$(dirname "$0")/with-vagrant.sh" debian-7-amd64 "$* release"
"$(dirname "$0")/with-vagrant.sh" centos-6-x86_64 "--binary-variant=gmp4 $* upload"
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/with-vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ vagrant up

vagrant provision
vagrant rsync
vagrant ssh -c "set -xe; $3 export GITHUB_AUTH_TOKEN=$GITHUB_AUTH_TOKEN; export STACK_RELEASE_GPG_KEY=${STACK_RELEASE_GPG_KEY:-0x575159689BEFB442}; gpg --import /vagrant/gpg-secret-key.asc~ || true; cd /vagrant-build; for x in CONTRIBUTING ChangeLog; do rm -f doc/\$x.md; ln -s ../\$x.md doc/\$x.md; done; stack /vagrant/etc/scripts/release.hs --no-test-haddocks $2"
vagrant ssh -c "set -xe; $3 export GITHUB_AUTH_TOKEN=$GITHUB_AUTH_TOKEN; export STACK_RELEASE_GPG_KEY=${STACK_RELEASE_GPG_KEY:-0x575159689BEFB442}; gpg --import /vagrant/gpg-secret-key.asc~ || true; rm -f /vagrant/gpg-secret-key.asc~; cd /vagrant-build; for x in CONTRIBUTING ChangeLog; do rm -f doc/\$x.md; ln -s ../\$x.md doc/\$x.md; done; stack /vagrant/etc/scripts/release.hs --no-test-haddocks $2"
vagrant halt || vagrant halt -f
15 changes: 0 additions & 15 deletions etc/vagrant/debian-7-amd64/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,5 @@ Vagrant.configure(2) do |config|
chmod +x get_stack.sh
./get_stack.sh
fi
if ! which fpm; then
apt-get install -y ruby-dev libffi-dev make build-essential
apt-get install -y rubygems || true
gem install json --version '< 1.8.0'
gem install fpm --version '< 1.4.0'
fi
if ! which deb-s3; then
gem install deb-s3
fi
if ! which aws; then
apt-get install -y python2.7
curl -O https://bootstrap.pypa.io/get-pip.py
sudo python2.7 get-pip.py
sudo pip install awscli
fi
SHELL
end
15 changes: 0 additions & 15 deletions etc/vagrant/debian-7-i386/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,5 @@ Vagrant.configure(2) do |config|
./get_stack.sh
fi
chmod a+x /usr/local/bin/stack
if ! which fpm; then
apt-get install -y ruby-dev libffi-dev make build-essential
apt-get install -y rubygems || true
gem install json --version '< 1.8.0'
gem install fpm --version '< 1.4.0'
fi
if ! which deb-s3; then
gem install deb-s3
fi
if ! which aws; then
apt-get install -y python2.7
curl -O https://bootstrap.pypa.io/get-pip.py
sudo python2.7 get-pip.py
sudo pip install awscli
fi
SHELL
end

0 comments on commit caf032b

Please sign in to comment.