on master help sign in
Merge pull request #4326 from qrilka/new-curator-check

New curator check

commit9a58db5f741b6b56f13b2089f89e97412da4590e authorMichael Snoyman <michael@snoyman.com> dateMon 28 Jan 2019, 17:46 (8 years ago) parent9f68cec4c84c41
3 files changed+422−1
.travis.yml+6−1 build-constraints.yaml+396 etc/curator-2-check.sh+20
.travis.yml+6−1
@@ -10,9 +10,14 @@ addons:
1010 packages:
1111 - libgmp-dev
1212
13+matrix:
14+ include:
15+ - env: CHECK_SCRIPT="./etc/ci-script.sh"
16+ - env: CHECK_SCRIPT="./etc/curator-2-check.sh"
17+
1318# Edit etc/ci-script.sh to change GHC version
1419script:
15−- ./etc/ci-script.sh
20+- $CHECK_SCRIPT
1621
1722# Caching doesn't work with sudo: true
1823#cache:
build-constraints.yaml+396
@@ -1,4 +1,6 @@
11ghc-major-version: "8.6"
2+# new curator is supposed to use exact GHC version
3+ghc-version: "8.6.3"
24
35# This affects which version of the Cabal file format we allow. We
46# should ensure that this is always no greater than the version
@@ -3801,6 +3803,400 @@ packages:
38013803 - ucam-webauth
38023804 - ucam-webauth-types
38033805
3806+ "Grandfathered dependencies":
3807+ - Boolean
3808+ - ChasingBottoms
3809+ - Decimal
3810+ - Diff
3811+ - FloatingHex
3812+ - GenericPretty
3813+ - Glob
3814+ - HDBC
3815+ - HDBC-session
3816+ - HTTP
3817+ - HsOpenSSL
3818+ - HsYAML
3819+ - ListLike
3820+ - MemoTrie
3821+ - NumInstances
3822+ - Only
3823+ - ParsecTools
3824+ - QuickCheck
3825+ - RSA
3826+ - X11
3827+ - alsa-mixer
3828+ - ansi-terminal
3829+ - appar
3830+ - asn1-encoding
3831+ - asn1-parse
3832+ - asn1-types
3833+ - attoparsec
3834+ - authenticate
3835+ - auto-update
3836+ - base64-bytestring
3837+ - base64-string
3838+ - bimap
3839+ - binary-parser
3840+ - bindings-DSL
3841+ - bitarray
3842+ - blaze-builder
3843+ - blaze-svg
3844+ - blaze-textual
3845+ - buffer-builder
3846+ - byteable
3847+ - bytestring-builder
3848+ - bytestring-strict-builder
3849+ - bytestring-tree-builder
3850+ - bzlib
3851+ - call-stack
3852+ - casing
3853+ - cassava-megaparsec
3854+ - cborg
3855+ - cereal
3856+ - cereal-text
3857+ - cereal-vector
3858+ - checkers
3859+ - chunked-data
3860+ - cipher-aes128
3861+ - cipher-blowfish
3862+ - cipher-camellia
3863+ - cipher-des
3864+ - classy-prelude
3865+ - classy-prelude-conduit
3866+ - clientsession
3867+ - cmark-gfm
3868+ - colour
3869+ - concurrent-extra
3870+ - conduit
3871+ - config-ini
3872+ - configurator
3873+ - contravariant-extras
3874+ - control-monad-free
3875+ - control-monad-omega
3876+ - convertible
3877+ - cookie
3878+ - cpphs
3879+ - crypto-api
3880+ - crypto-api-tests
3881+ - crypto-cipher-tests
3882+ - crypto-cipher-types
3883+ - crypto-numbers
3884+ - crypto-pubkey
3885+ - crypto-pubkey-openssh
3886+ - crypto-random
3887+ - cryptohash-cryptoapi
3888+ - cryptohash-sha256
3889+ - cryptohash-sha512
3890+ - css-text
3891+ - csv
3892+ - cubicbezier
3893+ - data-binary-ieee754
3894+ - data-bword
3895+ - data-checked
3896+ - data-default
3897+ - data-default-class
3898+ - data-default-instances-containers
3899+ - data-default-instances-dlist
3900+ - data-default-instances-old-locale
3901+ - data-dword
3902+ - data-endian
3903+ - data-inttrie
3904+ - data-lens-light
3905+ - data-memocombinators
3906+ - data-msgpack-types
3907+ - data-reify
3908+ - data-serializer
3909+ - data-textual
3910+ - deepseq-generics
3911+ - deferred-folds
3912+ - dense-linear-algebra
3913+ - deque
3914+ - dictionary-sharing
3915+ - direct-sqlite
3916+ - discount
3917+ - dlist
3918+ - dlist-instances
3919+ - dotgen
3920+ - double-conversion
3921+ - dual-tree
3922+ - easy-file
3923+ - easytest
3924+ - ed25519
3925+ - enclosed-exceptions
3926+ - entropy
3927+ - erf
3928+ - errors
3929+ - exception-mtl
3930+ - exception-transformers
3931+ - expiring-cache-map
3932+ - extensible-exceptions
3933+ - fail
3934+ - fast-logger
3935+ - fast-math
3936+ - file-embed
3937+ - file-embed-lzma
3938+ - filemanip
3939+ - fingertree
3940+ - fmlist
3941+ - generic-arbitrary
3942+ - ghc-paths
3943+ - ghc-prof
3944+ - gi-gdk
3945+ - gi-gdkpixbuf
3946+ - gi-pango
3947+ - groom
3948+ - groups
3949+ - guarded-allocation
3950+ - hackage-security
3951+ - haskell-gi-overloading
3952+ - haskell-lexer
3953+ - haskell-lsp-types
3954+ - haskell-src
3955+ - haskell-src-exts
3956+ - haskell-src-meta
3957+ - heap
3958+ - hex
3959+ - hint
3960+ - hmatrix
3961+ - hmatrix-gsl
3962+ - hostname
3963+ - hourglass
3964+ - hsc2hs
3965+ - hscolour
3966+ - hslogger
3967+ - hsp
3968+ - hspec-attoparsec
3969+ - hspec-contrib
3970+ - hspec-expectations
3971+ - hspec-expectations-lifted
3972+ - hspec-meta
3973+ - hspec-smallcheck
3974+ - html
3975+ - html-conduit
3976+ - html-entities
3977+ - http-client-tls
3978+ - http-date
3979+ - http-reverse-proxy
3980+ - http-types
3981+ - http2
3982+ - httpd-shed
3983+ - hw-string-parse
3984+ - hxt
3985+ - hxt-charproperties
3986+ - hxt-http
3987+ - hxt-regex-xmlschema
3988+ - hxt-unicode
3989+ - iconv
3990+ - ieee754
3991+ - infer-license
3992+ - inspection-testing
3993+ - io-streams-haproxy
3994+ - ip
3995+ - ixset-typed
3996+ - json
3997+ - json-alt
3998+ - language-haskell-extract
3999+ - lapack
4000+ - largeword
4001+ - lazy-csv
4002+ - libyaml
4003+ - lifted-async
4004+ - lifted-base
4005+ - loch-th
4006+ - lockfree-queue
4007+ - logging-facade
4008+ - lrucache
4009+ - lzma
4010+ - mainland-pretty
4011+ - managed
4012+ - math-functions
4013+ - mersenne-random-pure64
4014+ - mfsolve
4015+ - mmap
4016+ - mmorph
4017+ - mockery
4018+ - monad-control
4019+ - monad-logger
4020+ - monad-loops
4021+ - monads-tf
4022+ - mono-traversable-instances
4023+ - monoid-transformer
4024+ - multiset
4025+ - mwc-random
4026+ - names-th
4027+ - nanospec
4028+ - nettle
4029+ - network-byte-order
4030+ - network-info
4031+ - network-ip
4032+ - network-uri
4033+ - newtype
4034+ - nicify-lib
4035+ - old-locale
4036+ - old-time
4037+ - one-liner
4038+ - operational
4039+ - optional-args
4040+ - options
4041+ - optparse-applicative
4042+ - parallel
4043+ - path-pieces
4044+ - pcg-random
4045+ - persistable-record
4046+ - pipes-bytestring
4047+ - pipes-group
4048+ - placeholders
4049+ - poll
4050+ - polyparse
4051+ - postgresql-libpq
4052+ - postgresql-simple
4053+ - pretty-hex
4054+ - pretty-show
4055+ - prettyprinter-convert-ansi-wl-pprint
4056+ - primes
4057+ - primitive
4058+ - process-extras
4059+ - product-isomorphic
4060+ - project-template
4061+ - protobuf
4062+ - pureMD5
4063+ - quickcheck-instances
4064+ - quickcheck-io
4065+ - quickcheck-simple
4066+ - quickcheck-unicode
4067+ - random
4068+ - random-shuffle
4069+ - raw-strings-qq
4070+ - readable
4071+ - rebase
4072+ - regex-pcre-builtin
4073+ - regex-tdfa-text
4074+ - relapse
4075+ - relational-schemas
4076+ - rerebase
4077+ - resource-pool
4078+ - resourcet
4079+ - rfc5051
4080+ - rio
4081+ - rio-orphans
4082+ - safecopy
4083+ - scientific
4084+ - securemem
4085+ - serialise
4086+ - servant-client-core
4087+ - setenv
4088+ - shakespeare
4089+ - shell-escape
4090+ - silently
4091+ - simple-reflect
4092+ - simple-sendfile
4093+ - singleton-nats
4094+ - size-based
4095+ - skein
4096+ - skylighting-core
4097+ - snap-core
4098+ - special-values
4099+ - splice
4100+ - split
4101+ - sql-words
4102+ - srcloc
4103+ - stateref
4104+ - statistics
4105+ - stm-delay
4106+ - storable-complex
4107+ - storable-tuple
4108+ - store-core
4109+ - strict
4110+ - string-qq
4111+ - stringbuilder
4112+ - sundown
4113+ - syb
4114+ - symbol
4115+ - system-fileio
4116+ - system-filepath
4117+ - tabular
4118+ - tar
4119+ - tasty-th
4120+ - temporary
4121+ - temporary-rc
4122+ - temporary-resourcet
4123+ - test-framework
4124+ - test-framework-hunit
4125+ - test-framework-quickcheck2
4126+ - test-framework-smallcheck
4127+ - test-framework-th
4128+ - testing-feat
4129+ - testing-type-modifiers
4130+ - text-builder
4131+ - text-icu
4132+ - text-latin1
4133+ - text-postgresql
4134+ - text-printer
4135+ - text-short
4136+ - text-zipper
4137+ - tf-random
4138+ - th-extras
4139+ - th-lift-instances
4140+ - th-utilities
4141+ - threads
4142+ - thyme
4143+ - time-locale-compat
4144+ - timeit
4145+ - tls-session-manager
4146+ - token-bucket
4147+ - tonatona
4148+ - transformers-base
4149+ - tuple-th
4150+ - type-fun
4151+ - type-hint
4152+ - uglymemo
4153+ - unbounded-delays
4154+ - unix-compat
4155+ - unix-time
4156+ - url
4157+ - utf8-light
4158+ - utf8-string
4159+ - uuid-types
4160+ - vault
4161+ - vector
4162+ - vector-algorithms
4163+ - vector-binary-instances
4164+ - vector-builder
4165+ - vector-space
4166+ - vector-th-unbox
4167+ - vty
4168+ - wai
4169+ - wai-app-static
4170+ - wai-conduit
4171+ - wai-eventsource
4172+ - wai-extra
4173+ - wai-handler-launch
4174+ - wai-logger
4175+ - wai-session
4176+ - warp
4177+ - wcwidth
4178+ - with-location
4179+ - wizards
4180+ - word-wrap
4181+ - word8
4182+ - x509
4183+ - x509-store
4184+ - x509-system
4185+ - x509-validation
4186+ - xml
4187+ - xml-conduit
4188+ - xml-conduit-writer
4189+ - xml-hamlet
4190+ - xml-types
4191+ - xss-sanitize
4192+ - yeshql-core
4193+ - yeshql-hdbc
4194+ - yesod-core
4195+ - yesod-form
4196+ - yesod-persistent
4197+ - zlib
4198+ - zlib-bindings
4199+
38044200 # If you stop maintaining a package you can move it here.
38054201 # It will then be disabled if it starts causing problems.
38064202 # See https://github.com/fpco/stackage/issues/1056
etc/curator-2-check.shnew file+20
@@ -0,0 +1,20 @@
1+#!/usr/bin/env bash
2+
3+set -euxo pipefail
4+
5+mkdir -p ~/.local/bin
6+export PATH=$HOME/.local/bin:$PATH
7+
8+# Get new Stackage curator
9+CURATOR2=stackage-curator-2-9132b4b184f1f7f27c4c80ec0609460cea22ae75
10+wget "https://s3.amazonaws.com/www.snoyman.com/stackage-curator-2/$CURATOR2.bz2"
11+bunzip2 "$CURATOR2.bz2"
12+chmod +x $CURATOR2
13+mv $CURATOR2 ~/.local/bin/stackage-curator-2
14+
15+# New curator check
16+stackage-curator-2 update &&
17+ stackage-curator-2 constraints &&
18+ stackage-curator-2 snapshotincomplete &&
19+ stackage-curator-2 snapshot &&
20+ stackage-curator-2 checksnapshot