Commit Graph

1058 Commits

Author SHA1 Message Date
Chris Done
adafabb225 Print out new packages that'll be installed 2015-02-15 23:48:31 +01:00
Chris Done
5e089315d9 Tweak wanting 2015-02-15 23:48:31 +01:00
Chris Done
bb5952dbf9 Copy final built distro to builds/ 2015-02-15 23:48:31 +01:00
Chris Done
6da56e4f15 Remove recache 2015-02-15 23:48:31 +01:00
Chris Done
2cc33a8545 shake: Clean up broken packages 2015-02-15 23:48:31 +01:00
Chris Done
16d58d5887 shake: Clean up unused packages 2015-02-15 23:48:31 +01:00
Chris Done
20666ae7f2 shake: Small refactor 2015-02-15 23:48:31 +01:00
Chris Done
1d4b4268b3 shake: Re-jig dir positions 2015-02-15 23:48:31 +01:00
Chris Done
1abef8ff44 shake: Make package builds version-specific 2015-02-15 23:48:31 +01:00
Chris Done
e774fc15fd shake: Build haddocks 2015-02-15 23:48:31 +01:00
Chris Done
7f7250702b Style tweak 2015-02-15 23:48:31 +01:00
Chris Done
794881627e Drop cycles 2015-02-15 23:48:31 +01:00
Chris Done
585e8bd1c7 shake: Do Haddock generation 2015-02-15 23:48:31 +01:00
Chris Done
ff996e9410 Don't reconfigure if unnecessary 2015-02-15 23:48:31 +01:00
Chris Done
9d3bab31d0 Proper caching of database 2015-02-15 23:48:31 +01:00
Chris Done
127fe575e7 Small refactoring 2015-02-15 23:48:31 +01:00
Chris Done
a94ff15c59 Only unpack when necessary 2015-02-15 23:48:31 +01:00
Chris Done
c109bbaa2e Fix path relativity in package db 2015-02-15 23:48:31 +01:00
Chris Done
d944971a10 shake: Creating and using local package db 2015-02-15 23:48:31 +01:00
Chris Done
f677e8bb73 shake: unpacking, building and registering 2015-02-15 23:48:31 +01:00
Chris Done
bb6078f4f1 shake: fetching packages 2015-02-15 23:48:30 +01:00
Chris Done
64a2393ca5 Basic build test in preparation for Shake 2015-02-15 23:48:30 +01:00
Chris Done
8d523d98cf Fix typo in doc string 2015-02-15 23:48:30 +01:00
Emanuel Borsboom
f51b86e165 Add install subcommand.
Used to install a Stackage snapshot from a build plan.
2015-01-29 14:03:54 -08:00
Michael Snoyman
b4586e991e Don't die due to missing tool jgm/zip-archive#23 2015-01-23 00:09:10 +02:00
Michael Snoyman
b08210debd LTSHaskell distro name haskell/hackage-server#307 2015-01-14 08:18:30 +02:00
Michael Snoyman
fd56370e3a STACKAGE_AUTH_TOKEN environment variable 2015-01-11 10:18:39 +02:00
Michael Snoyman
548578c16b skip-check option to nightly (good for 7.10 builds) 2015-01-07 17:10:49 +02:00
Chris Done
d08d1b6248 Check for cycles when checking a build plan #375 2015-01-07 03:00:08 +01:00
Michael Snoyman
e77403edc4 upload-nightly 2015-01-06 10:54:02 +02:00
Michael Snoyman
241d5d72e2 second ==> minute 2015-01-05 17:18:47 +02:00
Michael Snoyman
cb9526b2fd Say "Still Alive" during checking for Travis 2015-01-05 17:08:23 +02:00
Chris Done
45b33ac54d Flexible tests for checkBuildPlan (#375)
@snoyberg Can you confirm that this simple test suite works for you?
I've set this up so that I can then add some cyclic dependencies and add
an occurs check for that, but figured I'd setup tests for some of the
existing invariants first.

Should be like:

    $ cabal test --ghc-options=-O0; cat dist/test/stackage-0.4.0-spec.log
    Building stackage-0.4.0...
    Preprocessing library stackage-0.4.0...
    In-place registering stackage-0.4.0...
    Preprocessing executable 'stackage' for stackage-0.4.0...
    Preprocessing test suite 'spec' for stackage-0.4.0...
    [3 of 4] Compiling Stackage.BuildPlanSpec ( test/Stackage/BuildPlanSpec.hs, dist/build/spec/spec-tmp/Stackage/BuildPlanSpec.o )
    Linking dist/build/spec/spec ...
    Running 1 test suites...
    Test suite spec: RUNNING...
    Test suite spec: PASS
    Test suite logged to: dist/test/stackage-0.4.0-spec.log
    1 of 1 test suites (1 of 1 test cases) passed.
    Test suite spec: RUNNING...

    Stackage.BuildPlan
      simple package set
      bad version range on depdendency fails
      nonexistent package fails to check
      default package set checks ok
    Stackage.CorePackages
      works
      contains known core packages
      getCoreExecutables includes known executables
    Stackage.PackageIndex
      works
      getLatestDescriptions gives reasonable results

    Finished in 14.3302 seconds
    9 examples, 0 failures
    Test suite spec: PASS
    Test suite logged to: dist/test/stackage-0.4.0-spec.log
2015-01-04 22:54:33 +01:00
Chris Done
5da6e5cfa4 Dependency injection of newBuildPlan (#375) 2015-01-04 22:54:33 +01:00
Chris Done
ee9bc2bbed Document Stackage.CheckBuildPlan 2015-01-04 22:54:33 +01:00
Michael Snoyman
243ae9c3b6 Fix a serialization bug (pinging @chrisdone) 2015-01-02 12:04:10 +02:00
Michael Snoyman
d39b7bf204 Remove all global flags, just use package flags 2015-01-02 09:11:17 +02:00
Chris Done
5712c2172a Add simple verbose mode (-v) for debugging 2014-12-31 22:17:45 +01:00
Chris Done
335fa91385 Add library profiling support #3973
* Implements --enable-library-profiling in the executable
* Adds pbEnableLibProfiling
* Adds ability to skip profiling on some packages, e.g.

skipped-profiling:
 - transformers-compat
2014-12-31 22:14:57 +01:00
Chris Done
1f2824540e Add --skip-upload flag
Easier for testing stackage the executable/library itself.
2014-12-31 19:45:29 +01:00
Chris Done
fb73435572 Split off uploading into separate finallyUpload 2014-12-31 19:43:25 +01:00
Chris Done
787db34739 Add --skip-flags and pbEnableTests (#3976) 2014-12-31 19:36:21 +01:00
Michael Snoyman
4396bed20c stackage check 2014-12-25 19:14:05 +02:00
Michael Snoyman
7dd7763dab Pre-fetch packages to catch Hackage downtime early 2014-12-25 09:24:14 +02:00
Michael Snoyman
be3221fc2c More correct progress tracking 2014-12-24 09:25:50 +02:00
Michael Snoyman
3982eee037 Give a bit more information on upload progress 2014-12-24 09:14:59 +02:00
Chris Done
cabb0812de unlines in core packages, consumer can handle #68 2014-12-23 12:04:31 +01:00
Chris Done
1d6907089c Output core packages list to "core" file #68 2014-12-23 11:59:35 +01:00
Michael Snoyman
65550f85bc Run postBuild before doc uploads 2014-12-21 15:07:59 +02:00
Michael Snoyman
18a07fa94a Use TLS manager 2014-12-18 07:31:07 +02:00