Bumping "extralib" library versions

All, There is unfortunately some synchronisation between ghc releases and the releases of various common libraries, the so-called "extralibs" collection. So I'd like to look briefly at what the version numbers of theses packages should be. It is important that we do increase the version numbers if there are changes since the last releases. In cases where the package's HEAD repo is maintained somewhere other than darcs.haskell.org/packages/$pkg that we do not break the version scheme used by the package maintainer. The current set of "extralibs" packages is: ALUT arrows cgi fgl GLUT haskell-src HGL html HUnit mtl network ObjectIO OpenAL OpenGL parallel parsec QuickCheck regex-base regex-compat regex-posix stm time X11 xhtml For each one I'd like to identify where the HEAD repo is, what the last released version was, what the current version number in the darcs version is, if there are any changes since that release and if so what the new release number ought to be. These version number bumps are based on existing versioning practise for these libraries rather than the proposed package versioning policy. http://haskell.org/haskellwiki/Package_versioning_policy#Version_numbers I have also listed for each package what the next version number would be under the proposed package versioning policy.They are marked as "PVP next version". If you think I've got any of these details wrong, please say so. ========== ALUT HEAD repo: http://darcs.haskell.org/packages/ALUT Released version: 2.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.0.1 Changes since release: minor build system changes Suggested next version: 2.0.2 PVP next version: 2.0.1.1 ========== arrows HEAD repo: http://darcs.haskell.org/packages/arrows Released version: 0.3 (on hackage) Current version: 0.3 Changes since release: none Suggested next version: not needed PVP next version: not needed Notes: The latest version of this package depends on Stream which is not currently in the extralibs collection. This anomaly will need to be sorted out. ========== cgi HEAD repo: http://darcs.haskell.org/packages/cgi Released version: 3001.1.5 (on hackage) Current version: 3001.1.5 Changes since release: comments and build system changes Suggested next version: 3001.1.6 PVP next version: 3001.1.5.1 Notes: requires .cabal changes to build with older base versions ========== fgl HEAD repo: http://darcs.haskell.org/packages/fgl Released version: 5.4.1 (in ghc-6.6.1 extralibs tarball) Current version: 5.4.1 Changes since release: build system changes Suggested next version: 5.4.2 PVP next version: 5.4.1.1 Notes: requires .cabal changes to build with older base versions ========== GLUT HEAD repo: http://darcs.haskell.org/packages/GLUT Released version: 2.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.1.1 Changes since release: build system changes Suggested next version: 2.1.2 PVP next version: 2.1.1.1 ========== haskell-src HEAD repo: http://darcs.haskell.org/packages/haskell-src Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since release: build system and portability changes (same api) Suggested next version: 1.0.2 PVP next version: 1.0.1.1 Notes: requires .cabal changes to build with older base versions ========== HGL HEAD repo: http://darcs.haskell.org/packages/HGL Released version: 3.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 3.1.1 Changes since: build system changes Suggested next version: 3.1.2 PVP next version: 3.1.1.1 Notes: requires .cabal changes to build with older base versions ========== html HEAD repo: http://darcs.haskell.org/packages/html Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: build system changes Suggested next version: 1.0.2 PVP next version: 1.0.1.1 ========== HUnit HEAD repo: http://darcs.haskell.org/packages/HUnit Released version: 1.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.1.1 Changes since: some code changes, not obvious if api changed Suggested next version: 1.1.2 PVP next version: 1.1.2 ========== mtl HEAD repo: http://darcs.haskell.org/packages/mtl Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: added more module re-exports and docs Suggested next version: 1.0.2 PVP next version: 1.0.2 Note: does not build with ghc-6.4.x as base-1.0 ========== network HEAD repo: http://darcs.haskell.org/packages/network Released version: 2.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.0.1 Changes since: IPV6 support added, api extended not changed Suggested next version: 2.0.2 PVP next version: 2.0.2 Note: needs a patch to build with ghc-6.4.x and base-1.0 ========== ObjectIO HEAD repo: http://darcs.haskell.org/packages/ObjectIO Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: Setup.hs changes only Suggested next version: 1.0.2 PVP next version: 1.0.1.1 ========== OpenAL HEAD repo: http://darcs.haskell.org/packages/OpenAL Released version: 1.3.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.3.1 Changes since: build system changes Suggested next version: 1.3.2 PVP next version: 1.3.1.1 ========== OpenGL HEAD repo: http://darcs.haskell.org/packages/OpenGL Released version: 2.2.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.2.1 Changes since: build system changes Suggested next version: 2.2.2 PVP next version: 2.2.1.1 ========== parallel HEAD repo: http://darcs.haskell.org/packages/parallel Released version: none Current version: 1.0 Changes since: n/a Suggested next version: 1.0 PVP next version: 1.0 Note: cannot build with older ghc/base versions as it exposes modules provided by base-2.x. ========== parsec HEAD repo: http://darcs.haskell.org/packages/parsec Released version: 2.0 (hackage and ghc-6.6.1 extralibs tarball) Current version: 2.0 Changes since: api additions (extended, not changed) Suggested next version: 2.0.1 PVP next version: 2.0.1 ========== QuickCheck HEAD repo: http://darcs.haskell.org/QuickCheck 1.x repo: http://darcs.haskell.org/packages/QuickCheck Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: build system Suggested next version: 1.0.2 PVP next version: 1.0.1.1 Note: we seem to be including QuickCheck 1.x rather than 2.x. ========== regex-base HEAD repo: http://darcs.haskell.org/packages/regex-unstable/regex-base 0.72 repo: http://darcs.haskell.org/packages/regex-base Released version: 0.72 (in ghc-6.6.1 extralibs tarball) 0.92 (on hackage) Current version: 0.72 (in ghc-6.8 extralibs) 0.92 (upstream) Changes since: build system changes Suggested next version: 0.72.1 PVP next version: 0.72.0.1 Note: we seem to be including regex-base 0.72 when the latest upstream version is 0.92. ========== regex-compat HEAD repo: http://darcs.haskell.org/packages/regex-unstable/regex-compat 0.71 repo: http://darcs.haskell.org/packages/regex-compat Released version: 0.71 (hackage and ghc-6.6.1 extralibs tarball) 0.90 (on hackage) Current version: 0.71 (in ghc-6.8 extralibs) 0.90 (upstream) Changes since: trivial code change and build system changes Suggested next version: 0.71.1 PVP next version: 0.71.0.1 Note: Setup.lhs needs fixing to be trivial. Again, we seem to be including regex-base 0.71 when the latest upstream version is 0.90. ========== regex-posix HEAD repo: http://darcs.haskell.org/packages/regex-unstable/regex-posix 0.72 repo: http://darcs.haskell.org/packages/regex-posix Released version: 0.71 (hackage and ghc-6.6.1 extralibs tarball) 0.91 (on hackage) Current version: 0.72 (in ghc-6.8 extralibs) 0.91 (upstream) Changes since: compatible code changes and build system changes Suggested next version: 0.72.1 PVP next version: 0.72.0.1 Note: will need patching to build with base-2.0. Again, we seem to be including regex-base 0.72 when the latest upstream version is 0.91. ========== stm HEAD repo: http://darcs.haskell.org/packages/stm Released version: 2.1 (hackage and ghc-6.6.1 extralibs tarball) Current version: 2.1 Changes since: two new new functions and build system changes Suggested next version: 2.1.1 PVP next version: 2.1.1 Note: will not currently build with base-2.0. It's not clear if this is a problem, or if stm is tightly tied to the base/ghc version anyway. ========== time HEAD repo: http://darcs.haskell.org/packages/time Released version: 1.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.1.1 Changes since: minor behaviour changes (bug fixes) Suggested next version: 1.1.2 PVP next version: 1.1.2 ========== X11 HEAD repo: http://darcs.haskell.org/packages/X11 Released version: 1.2.3 (on hackage) Current version: 1.2.3 Changes since: none Suggested next version: not needed PVP next version: not needed ========== xhtml HEAD repo: http://darcs.haskell.org/packages/xhtml Released version: 3000.0.2 (in ghc-6.6.1 extralibs tarball) Current version: 3000.0.2 Changes since: minor build system changes Suggested next version: 3000.0.3 PVP next version: 3000.0.2.1 Additionally, there are some core libs that could be usable with older versions of other libs, like base and so could be used with older releases of ghc or other implementations: bytestring Cabal filepath haskell98 readline unix Win32 ========== bytestring HEAD repo: http://darcs.haskell.org/bytestring Released version: 0.9 (on hackage) Current version: 0.9 Changes since: none Suggested next version: not needed PVP next version: not needed ========== Cabal HEAD repo: http://darcs.haskell.org/cabal Released version: 1.2.1 (on hackage) Current version: 1.2.1 Changes since: some minor changes Suggested next version: 1.2.2 PVP next version: 1.2.2 ========== filepath HEAD repo: http://darcs.haskell.org/packages/filepath 1.1 repo: http://darcs.haskell.org/ghc-6.8/packages/filepath Released version: 1.0 (on hackage) Current version: 1.1 Changes since: api additions, bug fixes Suggested next version: 1.1 PVP next version: 1.0.1 Note: filepath head branch is marked as version 1.0 while the version included with ghc-6.8 is marked as 1.1. ========== haskell98 HEAD repo: http://darcs.haskell.org/packages/haskell98 Released version: 1.0 (hackage and ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: build system changes Suggested next version: ??? PVP next version: 1.0.0.1 Note: If the version number identifies the api to some degree, then the H98 api never changes so it's version number should never increment, except in the micro revision for build system changes. ========== readline HEAD repo: http://darcs.haskell.org/packages/readline Released version: 1.0 (ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: api additions, build system changes Suggested next version: 1.0.1 PVP next version: 1.0.1 ========== unix HEAD repo: http://darcs.haskell.org/packages/unix Released version: 2.1 (ghc-6.6.1 extralibs tarball) Current version: 2.2 Changes since: many api additions Suggested next version: 2.2 PVP next version: 2.1.1 Note: will not currently build with base-2.0. ========== Win32 HEAD repo: http://darcs.haskell.org/packages/Win32 Released version: 2.1 (hackage and ghc-6.6.1 extralibs tarball) Current version: 2.1.1 Changes since: api additions Suggested next version: 2.1.1 PVP next version: 2.1.1 Note: will not currently build with base-2.0. Duncan

Ian pointed out that most of these extralibs already have had releases via hugs with greater version numbers than those we were proposing. http://cvs.haskell.org/Hugs/downloads/2006-09/packages/ For example ALUT-2.0.20060921 which means we cannot use ALUT-2.0.2 as we had been thinking. We'll have to use at least 2.1, and to prevent similar future problems we should really use 2.1.0.0. Then if anyone makes snapshots they will not be higher than the next minor release 2.1.0.1 that preserves the same api. Again, these are the numbers suggested by the proposed package versioning policy: http://haskell.org/haskellwiki/Package_versioning_policy Duncan

On Mon, Oct 22, 2007 at 12:43:05PM +0100, Duncan Coutts wrote:
For each one I'd like to identify where the HEAD repo is, what the last released version was, what the current version number in the darcs version is, if there are any changes since that release and if so what the new release number ought to be.
These version number bumps are based on existing versioning practise for these libraries rather than the proposed package versioning policy. http://haskell.org/haskellwiki/Package_versioning_policy#Version_numbers I have also listed for each package what the next version number would be under the proposed package versioning policy.They are marked as "PVP next version".
If you think I've got any of these details wrong, please say so.
We've discussed this in #ghc, and we think it's best to use 4 component version numbers so Cabal's snapshot (== append $date) version numbers do what we want and fit in with us following the proposed policy. If anyone sees any problems with my suggested version numbers below, please shout. I've CCed all addresses listed as Cabal maintainers of extralibs; please let us know if you disagree with the versions we propose to use for your packages.
========== ALUT
HEAD repo: http://darcs.haskell.org/packages/ALUT Released version: 2.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.0.1 Changes since release: minor build system changes Suggested next version: 2.0.2 PVP next version: 2.0.1.1
Latest version I can find is 2.0.20060921 http://cvs.haskell.org/Hugs/downloads/2006-09/packages/ALUT-2.0.20060921.tar... so I think 2.1.0.0 should be the next release.
========== arrows
HEAD repo: http://darcs.haskell.org/packages/arrows Released version: 0.3 (on hackage) Current version: 0.3 Changes since release: none Suggested next version: not needed PVP next version: not needed
There have been some patches to the repo, so I think it would be nice to make a new tarball, and it's not that expensive, so I'd suggest 0.3.0.1.
========== cgi
HEAD repo: http://darcs.haskell.org/packages/cgi Released version: 3001.1.5 (on hackage) Current version: 3001.1.5 Changes since release: comments and build system changes Suggested next version: 3001.1.6 PVP next version: 3001.1.5.1
3001.1.5.1 looks good to me.
========== fgl
HEAD repo: http://darcs.haskell.org/packages/fgl Released version: 5.4.1 (in ghc-6.6.1 extralibs tarball) Current version: 5.4.1 Changes since release: build system changes Suggested next version: 5.4.2 PVP next version: 5.4.1.1
5.4.1.1 looks good to me.
========== GLUT
HEAD repo: http://darcs.haskell.org/packages/GLUT Released version: 2.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.1.1 Changes since release: build system changes Suggested next version: 2.1.2 PVP next version: 2.1.1.1
2.1.1.1 looks good to me.
========== haskell-src
HEAD repo: http://darcs.haskell.org/packages/haskell-src Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since release: build system and portability changes (same api) Suggested next version: 1.0.2 PVP next version: 1.0.1.1
1.0.1.1 looks good to me.
========== HGL
HEAD repo: http://darcs.haskell.org/packages/HGL Released version: 3.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 3.1.1 Changes since: build system changes Suggested next version: 3.1.2 PVP next version: 3.1.1.1
Largest known is 3.1.20060921: http://cvs.haskell.org/Hugs/downloads/2006-09/packages/HGL-3.1.20060921.tar.... so I think 3.2.0.0 should be the next release.
========== html
HEAD repo: http://darcs.haskell.org/packages/html Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: build system changes Suggested next version: 1.0.2 PVP next version: 1.0.1.1
1.0.1.1 looks good to me.
========== HUnit
HEAD repo: http://darcs.haskell.org/packages/HUnit Released version: 1.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.1.1 Changes since: some code changes, not obvious if api changed Suggested next version: 1.1.2 PVP next version: 1.1.2
Largest known is 1.1.20060921: http://cvs.haskell.org/Hugs/downloads/2006-09/packages/HUnit-1.1.20060921.ta... so I think 1.2.0.0 should be the next release.
========== mtl
HEAD repo: http://darcs.haskell.org/packages/mtl Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: added more module re-exports and docs Suggested next version: 1.0.2 PVP next version: 1.0.2
Largest known is 1.0.20060921: http://cvs.haskell.org/Hugs/downloads/2006-09/packages/mtl-1.0.20060921.tar.... so I think 1.1.0.0 should be the next release.
========== network
HEAD repo: http://darcs.haskell.org/packages/network Released version: 2.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.0.1 Changes since: IPV6 support added, api extended not changed Suggested next version: 2.0.2 PVP next version: 2.0.2
Largest known is 2.0.20060921: http://cvs.haskell.org/Hugs/downloads/2006-09/packages/network-2.0.20060921.... so I think 2.1.0.0 should be the next release.
========== ObjectIO
HEAD repo: http://darcs.haskell.org/packages/ObjectIO Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: Setup.hs changes only Suggested next version: 1.0.2 PVP next version: 1.0.1.1
1.0.1.1 looks good to me.
========== OpenAL
HEAD repo: http://darcs.haskell.org/packages/OpenAL Released version: 1.3.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.3.1 Changes since: build system changes Suggested next version: 1.3.2 PVP next version: 1.3.1.1
1.3.1.1 looks good to me.
========== OpenGL
HEAD repo: http://darcs.haskell.org/packages/OpenGL Released version: 2.2.1 (in ghc-6.6.1 extralibs tarball) Current version: 2.2.1 Changes since: build system changes Suggested next version: 2.2.2 PVP next version: 2.2.1.1
2.2.1.1 looks good to me.
========== parallel
HEAD repo: http://darcs.haskell.org/packages/parallel Released version: none Current version: 1.0 Changes since: n/a Suggested next version: 1.0 PVP next version: 1.0
1.0.0.0
========== parsec
HEAD repo: http://darcs.haskell.org/packages/parsec Released version: 2.0 (hackage and ghc-6.6.1 extralibs tarball) Current version: 2.0 Changes since: api additions (extended, not changed) Suggested next version: 2.0.1 PVP next version: 2.0.1
Largest known is 2.0.20060921: http://cvs.haskell.org/Hugs/downloads/2006-09/packages/parsec-2.0.20060921.t... so I think 2.1.0.0 should be the next release.
========== QuickCheck
HEAD repo: http://darcs.haskell.org/QuickCheck 1.x repo: http://darcs.haskell.org/packages/QuickCheck Released version: 1.0.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.0.1 Changes since: build system Suggested next version: 1.0.2 PVP next version: 1.0.1.1
Largest known is 1.0.20060921: http://cvs.haskell.org/Hugs/downloads/2006-09/packages/QuickCheck-1.0.200609... so I think 1.1.0.0 should be the next release.
Note: we seem to be including QuickCheck 1.x rather than 2.x.
I don't know why this is. I don't understand the status of the various QuickChecks.
========== regex-base
HEAD repo: http://darcs.haskell.org/packages/regex-unstable/regex-base 0.72 repo: http://darcs.haskell.org/packages/regex-base Released version: 0.72 (in ghc-6.6.1 extralibs tarball) 0.92 (on hackage) Current version: 0.72 (in ghc-6.8 extralibs) 0.92 (upstream) Changes since: build system changes Suggested next version: 0.72.1 PVP next version: 0.72.0.1
0.72.0.1 looks good to me.
========== regex-compat
HEAD repo: http://darcs.haskell.org/packages/regex-unstable/regex-compat 0.71 repo: http://darcs.haskell.org/packages/regex-compat Released version: 0.71 (hackage and ghc-6.6.1 extralibs tarball) 0.90 (on hackage) Current version: 0.71 (in ghc-6.8 extralibs) 0.90 (upstream) Changes since: trivial code change and build system changes Suggested next version: 0.71.1 PVP next version: 0.71.0.1
0.71.0.1 looks good to me.
========== regex-posix
HEAD repo: http://darcs.haskell.org/packages/regex-unstable/regex-posix 0.72 repo: http://darcs.haskell.org/packages/regex-posix Released version: 0.71 (hackage and ghc-6.6.1 extralibs tarball) 0.91 (on hackage) Current version: 0.72 (in ghc-6.8 extralibs) 0.91 (upstream) Changes since: compatible code changes and build system changes Suggested next version: 0.72.1 PVP next version: 0.72.0.1
0.72.0.1 looks good to me.
========== stm
HEAD repo: http://darcs.haskell.org/packages/stm Released version: 2.1 (hackage and ghc-6.6.1 extralibs tarball) Current version: 2.1 Changes since: two new new functions and build system changes Suggested next version: 2.1.1 PVP next version: 2.1.1
2.1.1.0
========== time
HEAD repo: http://darcs.haskell.org/packages/time Released version: 1.1.1 (in ghc-6.6.1 extralibs tarball) Current version: 1.1.1 Changes since: minor behaviour changes (bug fixes) Suggested next version: 1.1.2 PVP next version: 1.1.2
1.1.2.0
========== X11
HEAD repo: http://darcs.haskell.org/packages/X11 Released version: 1.2.3 (on hackage) Current version: 1.2.3 Changes since: none Suggested next version: not needed PVP next version: not needed
1.2.3.1
========== xhtml
HEAD repo: http://darcs.haskell.org/packages/xhtml Released version: 3000.0.2 (in ghc-6.6.1 extralibs tarball) Current version: 3000.0.2 Changes since: minor build system changes Suggested next version: 3000.0.3 PVP next version: 3000.0.2.1
3000.0.2.1 looks good to me. I believe all the core library version numbers are OK, except I will append .0's until they become 4-component. Thanks Ian

On Mon, 2007-10-22 at 14:11 +0100, Ian Lynagh wrote:
If anyone sees any problems with my suggested version numbers below, please shout.
I've CCed all addresses listed as Cabal maintainers of extralibs; please let us know if you disagree with the versions we propose to use for your packages.
Only two minor points...
========== arrows
HEAD repo: http://darcs.haskell.org/packages/arrows Released version: 0.3 (on hackage) Current version: 0.3 Changes since release: none Suggested next version: not needed PVP next version: not needed
There have been some patches to the repo, so I think it would be nice to make a new tarball, and it's not that expensive, so I'd suggest 0.3.0.1.
There are no patches since the one that increased the version number from 0.2.1 to 0.3. No new release is needed at the moment. cc'ing Ross who is maintainer of this package.
========== X11
HEAD repo: http://darcs.haskell.org/packages/X11 Released version: 1.2.3 (on hackage) Current version: 1.2.3 Changes since: none Suggested next version: not needed PVP next version: not needed
1.2.3.1
Again, there are no patches since the patch that tagged version 1.2.3, so no new release is needed. cc'ing Don who is maintainer of this package. All your other version suggestions look fine to me. Since we're moving to a model where extralibs is just a bundling of existing releases rather than necessarily fresh releases itself, then we do not need to re-release existing packages where there have been no changes, we can just use the existing packages as is. Indeed, as I've said I'd like to see all these packages go up on hackage soon and not necessarily synchronised with the release of ghc. For example, I've already released Cabal-1.2.1 and binary-0.9. Ross and Don have already released arrows-0.3 and X11-1.2.3. I expect ghc-6.8.1 will come with a later minor revision of Cabal (Solaris fixes etc) but it'll most probably use exactly the bytestring-0.9 that I've already released. Not that there is anything stopping us from doing a 0.9.0.1 release if we do need to make more changes, just that it's not essential that we do so if we make no changes.
I believe all the core library version numbers are OK, except I will append .0's until they become 4-component.
Right. Duncan

On Mon, Oct 22, 2007 at 03:00:42PM +0100, Duncan Coutts wrote:
On Mon, 2007-10-22 at 14:11 +0100, Ian Lynagh wrote:
If anyone sees any problems with my suggested version numbers below, please shout.
I've CCed all addresses listed as Cabal maintainers of extralibs; please let us know if you disagree with the versions we propose to use for your packages.
Only two minor points...
========== arrows
HEAD repo: http://darcs.haskell.org/packages/arrows Released version: 0.3 (on hackage) Current version: 0.3 Changes since release: none Suggested next version: not needed PVP next version: not needed
There have been some patches to the repo, so I think it would be nice to make a new tarball, and it's not that expensive, so I'd suggest 0.3.0.1.
There are no patches since the one that increased the version number from 0.2.1 to 0.3. No new release is needed at the moment.
Ah, sorry, my mistake, I hadn't pulled the latest patch. OK, so in principle I'd be fine with 0.3, except if we want to move to 4-component version numbers then we need to use 0.3.0.1 anyway (I don't think having both 0.3 and 0.3.0.0 which don't compare equal is a good idea. We'll just get confused).
========== X11
HEAD repo: http://darcs.haskell.org/packages/X11 Released version: 1.2.3 (on hackage) Current version: 1.2.3 Changes since: none Suggested next version: not needed PVP next version: not needed
1.2.3.1
Again, there are no patches since the patch that tagged version 1.2.3, so no new release is needed.
Again, this is just for the version number length. Thanks Ian

On Mon, 2007-10-22 at 15:42 +0100, Ian Lynagh wrote:
Ah, sorry, my mistake, I hadn't pulled the latest patch. OK, so in principle I'd be fine with 0.3, except if we want to move to 4-component version numbers then we need to use 0.3.0.1 anyway (I don't think having both 0.3 and 0.3.0.0 which don't compare equal is a good idea. We'll just get confused).
========== X11
HEAD repo: http://darcs.haskell.org/packages/X11 Released version: 1.2.3 (on hackage) Current version: 1.2.3 Changes since: none Suggested next version: not needed PVP next version: not needed
1.2.3.1
Again, there are no patches since the patch that tagged version 1.2.3, so no new release is needed.
Again, this is just for the version number length.
Ah yes. Fair enough. If we agree in the end that we are going with the package versioning policy then we should do it consistently for the core libs and those included in the extralibs distribution. I agree with the package versioning policy but I don't think we've heard enough of a consensus yet to be confident that people agree that it is the right thing to do. Duncan

duncan.coutts:
On Mon, 2007-10-22 at 14:11 +0100, Ian Lynagh wrote:
If anyone sees any problems with my suggested version numbers below, please shout.
I've CCed all addresses listed as Cabal maintainers of extralibs; please let us know if you disagree with the versions we propose to use for your packages.
Only two minor points...
========== arrows
HEAD repo: http://darcs.haskell.org/packages/arrows Released version: 0.3 (on hackage) Current version: 0.3 Changes since release: none Suggested next version: not needed PVP next version: not needed
There have been some patches to the repo, so I think it would be nice to make a new tarball, and it's not that expensive, so I'd suggest 0.3.0.1.
There are no patches since the one that increased the version number from 0.2.1 to 0.3. No new release is needed at the moment.
cc'ing Ross who is maintainer of this package.
========== X11
HEAD repo: http://darcs.haskell.org/packages/X11 Released version: 1.2.3 (on hackage) Current version: 1.2.3 Changes since: none Suggested next version: not needed PVP next version: not needed
1.2.3.1
Again, there are no patches since the patch that tagged version 1.2.3, so no new release is needed.
cc'ing Don who is maintainer of this package.
Yes, it seems unnecessary to update this. Consider the X11 package the first that has been updated for ghc 6.8 on hackage :)
Since we're moving to a model where extralibs is just a bundling of existing releases rather than necessarily fresh releases itself, then we do not need to re-release existing packages where there have been no changes, we can just use the existing packages as is. Indeed, as I've said I'd like to see all these packages go up on hackage soon and not necessarily synchronised with the release of ghc.
Right, exactly the model we want, I think.
For example, I've already released Cabal-1.2.1 and binary-0.9. Ross and Don have already released arrows-0.3 and X11-1.2.3. I expect ghc-6.8.1 will come with a later minor revision of Cabal (Solaris fixes etc) but it'll most probably use exactly the bytestring-0.9 that I've already released. Not that there is anything stopping us from doing a 0.9.0.1 release if we do need to make more changes, just that it's not essential that we do so if we make no changes.
-- Don

On Mon, Oct 22, 2007 at 02:11:03PM +0100, Ian Lynagh wrote:
On Mon, Oct 22, 2007 at 12:43:05PM +0100, Duncan Coutts wrote:
========== arrows
HEAD repo: http://darcs.haskell.org/packages/arrows Released version: 0.3 (on hackage) Current version: 0.3 Changes since release: none Suggested next version: not needed PVP next version: not needed
There have been some patches to the repo, so I think it would be nice to make a new tarball, and it's not that expensive, so I'd suggest 0.3.0.1.
There have been no changes to the repo since that release, but as Duncan pointed out it now depends on a package outside extralibs (Stream), so I guess it should be dropped.

On Mon, Oct 22, 2007 at 03:04:15PM +0100, Ross Paterson wrote:
On Mon, Oct 22, 2007 at 02:11:03PM +0100, Ian Lynagh wrote:
On Mon, Oct 22, 2007 at 12:43:05PM +0100, Duncan Coutts wrote:
========== arrows
There have been no changes to the repo since that release, but as Duncan pointed out it now depends on a package outside extralibs (Stream), so I guess it should be dropped.
Do you mean you think arrows should be dropped from extralibs? Thanks Ian

On Mon, Oct 22, 2007 at 03:43:38PM +0100, Ian Lynagh wrote:
On Mon, Oct 22, 2007 at 03:04:15PM +0100, Ross Paterson wrote:
On Mon, Oct 22, 2007 at 02:11:03PM +0100, Ian Lynagh wrote:
On Mon, Oct 22, 2007 at 12:43:05PM +0100, Duncan Coutts wrote:
========== arrows
There have been no changes to the repo since that release, but as Duncan pointed out it now depends on a package outside extralibs (Stream), so I guess it should be dropped.
Do you mean you think arrows should be dropped from extralibs?
Yes (unless Stream is added).

On Mon, Oct 22, 2007 at 02:11:03PM +0100, Ian Lynagh wrote:
We've discussed this in #ghc, and we think it's best to use 4 component version numbers so Cabal's snapshot (== append $date) version numbers do what we want and fit in with us following the proposed policy.
Just to clarify, what I meant by this is: Given we are going to use the a.b.c.d scheme where a.b is the major API, we should use version numbers like 2.1.0.0 rather than 2.1 (I wasn't aware of anyone being against the a.b.c.d scheme when I wrote the original mail). If instead we decide to use a.b.c where a is the major API, then we should use 2.1.0 instead rather than 2.1. We do actually need to pick one or the other really quite quickly for the GHC 6.8.1 release, although I don't think getting it wrong and changing our minds later will cause any major problems. My impression from those opinions I've read is that 4-component is more likely to be the concensus. Thanks Ian

Ian Lynagh wrote:
We do actually need to pick one or the other really quite quickly for the GHC 6.8.1 release, although I don't think getting it wrong and changing our minds later will cause any major problems. My impression from those opinions I've read is that 4-component is more likely to be the concensus.
FWIW, I prefer the 4-component becoming the standard one. I wonder if the notions of API version and code version ought to be separable... Isaac
participants (5)
-
Don Stewart
-
Duncan Coutts
-
Ian Lynagh
-
Isaac Dupree
-
Ross Paterson