This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 22 Aug, 2008 3 commits
  2. 21 Aug, 2008 1 commit
    • Duncan Coutts's avatar
      Rearrange config settings and global command line settings · 0a2fb235
      Duncan Coutts authored
      The intention here is to have the config file content and parser
      be derivied from the command line types and flags. Now instead
      of having a saved config type that contains additional
      information to that kept in command line parameters we now put
      all the information in the command line settings type and make
      the saved config just the aggregation of the settings for
      various key commands like configure, install, upload. There's
      also an extended GlobalFlags type with the things like repos,
      cache dir etc. When we generate the initial config file we put
      in commented out versions of all (non-deprecated) valid fields,
      along with their default values. The aim is to make the config
      file self-documenting.
      0a2fb235
  3. 15 Aug, 2008 1 commit
  4. 14 Aug, 2008 4 commits
    • Duncan Coutts's avatar
      Always print the message about nothing to install · 0324845a
      Duncan Coutts authored
      Not just if the user specified -v or --dry-run. Otherwise
      it's rather confusing. Also clarify that the reason there
      is nothing to install is because the latest versions are
      installed already. Also mention the --reinstall flag:
        Resolving dependencies...
        No packages to be installed. All the requested packages
        are already installed. If you want to reinstall anyway
        then use the --reinstall flag.
      0324845a
    • Duncan Coutts's avatar
    • Duncan Coutts's avatar
      Add cabal install --reinstall flag · 9f72f58c
      Duncan Coutts authored
      to force reinstall of package where we have the exact same
      version already installed. Ordinarily we would say that
      there is nothing to do as the exact same package version
      is already installed. There are some cases where you might
      want to do this, eg to rebuild with different compiler
      options, or adding/removing components (since we do not
      track those indifidually yet, eg docs, profiling libs).
      9f72f58c
    • Duncan Coutts's avatar
      Fetch packages even if they happen to already be installed · 49eb8ee3
      Duncan Coutts authored
      Though obviously not if they have already been fetched.
      This lets people study the source for core packages that
      came with their compiler say, so they did not get have the
      sources downloaded via cabal-install. Fixes ticket #297.
      49eb8ee3
  5. 12 Aug, 2008 7 commits
  6. 10 Aug, 2008 3 commits
  7. 08 Aug, 2008 12 commits
  8. 07 Aug, 2008 4 commits
  9. 06 Aug, 2008 3 commits
  10. 05 Aug, 2008 2 commits
    • Duncan Coutts's avatar
      Initial support for building haddock docs · 031ca344
      Duncan Coutts authored
      No flag to turn it on/off yet.
      031ca344
    • Duncan Coutts's avatar
      Refactor BuildResult type and related types · 113a7d25
      Duncan Coutts authored
      Split BuildResult into Either BuildFailure BuildSuccess
      Make BuildSuccess contain info for docs and tests.
      Make PlanPackage use BuildSuccess and BuildFailure directly
      rather than being parameterised by any build result type.
      This has a knock on effect on lots of other types which
      were parameterised just because PlanPackage was.
      113a7d25