[Hackage] #2: move TODO stuff into this tracking system
Hackage
trac at galois.com
Thu Jan 24 10:21:07 EST 2008
#2: move TODO stuff into this tracking system
---------------------+------------------------------------------------------
Reporter: ijones | Owner: ijones
Type: task | Status: closed
Priority: normal | Milestone:
Component: misc | Version: HEAD
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy
Ghcversion: 6.2.2 | Platform:
---------------------+------------------------------------------------------
Changes (by duncan):
* status: new => closed
* platform: =>
* ghcversion: => 6.2.2
* resolution: => fixed
Comment:
Here is the entire TODO file, annotated with resolution.
{{{
preConf does not have a program configuration available so we cannot run
programs! But that's often exactly what we need to do to help generate the
config. We need a Config monad.
}}}
See ticket #134.
{{{
OLD TODOS:
* Parsing
** Make the parsing functions pure.
}}}
Done. eg: {{{parsePackageDescription :: String -> ParseResult
GenericPackageDescription}}}
{{{
** Enable access to the x- extension fields, as simple [(String, String)]
name-value pairs.
}}}
Filed as ticket #210.
{{{
* Doc
** elimintate need for cpphs in haddock makefile rule.
}}}
cpphs is not mentioned in the Cabal Makefile.
{{{
** add info about deb packages to web page at least check out the
manpage for dh_haskell, section "How to package a haskell library"
}}}
Seems unwise to be encouraging everyone to make debian packages. Leave
that for the debian packing people. Perhaps some general advice on
packaging for distros on the hackage wiki would be good though.
{{{
* Misc
** SDist for windows machines, or machines without tar.
}}}
Ticket #40.
{{{
** add sanity checking / QA command?
}}}
Ticket #191 and #211.
{{{
* testing
** find a real test case that uses preprocessors: gtk2hs
}}}
This is still a good test case because it uses c2hs and that requires
dependency analysis for c2hs. See also #48.
{{{
** add a make target or command for tests we know will fail?
** setup test suite to run on --push?
** redirect non-hunit outputs to a file?
** error cases for parsing command-line args
** reading & writing configuration-dropping
** use-cases based on SimonPJ's doc
}}}
Cabal testsuite is completely bitrotted. Ticket #212.
{{{
** test / port code for Hugs
}}}
In theory it works with hugs, in practice it does not get tested much.
{{{
------------------------------------------------------------
-= Future Releases =-
* NHC Support
** look carefully at "rawSystem" and error handing stuff for nhc.
}}}
`rawSystem` is emulated via `system` in nhc98. It's rather unsavory.
{{{
** add install target for nhc
}}}
Done.
{{{
** add information for compiling w/ nhc
** nhc-pkg (see old package manager code)
** register
}}}
Compiling works. There is no registering as such, registering amounts to
installing in the right place.
{{{
* Misc
** Reorganize compiler dependent code into Distribution.Compiler.*
}}}
Hard. See #50.
{{{
** API Versioning? Libtool-style or just a major number?
}}}
The Cabal lib now follows the
[http://haskell.org/haskellwiki/Package_versioning_policy Package
Versioning Policy].
{{{
** sanity checking tool for configuration; are all the .hs files
included, etc.
}}}
See #177 and also #191 and #211.
{{{
** create a (native?) zlib library?
}}}
Done. It's on hackage and CabalInstall uses it for unpacking `.tar.gz`
files on all platforms, including Windows.
{{{
** sign flag?
}}}
Filed as ticket #214.
{{{
** for fields like data-files or extra-source-files, allow user to specify
"foo/bar/*.baz" or something to indicate all files matching that?
}}}
Filed as ticket #213.
{{{
** Get function from hmake that creates a directory based on arch.
}}}
Seems unnecessary when we have `System.Info.arch`.
{{{
** ./Setup test
- this may be something that's easy to break off and give to someone
else.
- give to John Goerzen?
}}}
Testing needs an overhaul too. Filed as #215.
{{{
** configure should check for 'ar' args + properties (see
fptools/aclocal.m4)
}}}
We seem to get along on several platforms without any extensive checking,
just by using the most common portable options.
{{{
** hat support
}}}
Does it work? I've not heard any pressure for this. If anyone wants it,
file a feature request and give us details.
{{{
** per-system source database
}}}
No idea what this means.
{{{
** rebuild for new compiler
}}}
Ticket #199.
{{{
** helium
** hbc
}}}
Would be nice perhaps. Will wait for someone who cares to file a feature
request. Should be easier with #50 completed. Probably `yhc` is more
relevant these days.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/2#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list