Package versioning confusion

I'm currently trying to unify the darcs-all scripts for GHC/Hugs/nhc, adding a "--release" option on the way, which is inteded to retrieve fixed versions from Hackage instead of the latest & greatest stuff from darcs repos. Looking at nhc's package list, I found a few issues: * Iavor's package is called "monadLib", but the darcs repo on darcs.haskell.org is called "monad". I propose to simply rename that directory to match "monadLib". There is already an empty directory of the same name there, so somebody else was obviously confused, too. If nobody yells soon, I'll do this renaming. * Malcolm: Could you move the polyparse repository from http://www.cs.york.ac.uk/fp/darcs/polyparse to darcs.haskell.org/packages, please? This would make things more consistent. * Finally, I am utterly confused by the fps package: There is a version 0.7 on Hackage, the repo at http://www.cse.unsw.edu.au/~dons/code/fps seems to contain a 0.8 version, and we finally have a version somehow integrated into the base package, all with different APIs/#ifdefs/etc. Help!!! Which version compiles with which Haskell implementation? Which is the most current version? Will we split this from base? I know that there have been epic discussions on the libraries list, but after >20 mails I was somehow lost. If we want to keep this in base for some time, it should at least be assured that it compiles with all Haskell implementations, so we could nuke the explicit "fps" package from nhc's package list. It can be re-added later, but please in synch with the rest of the implementations. Using it currently must be a nightmare for packagers/users due to this versionitis... :-/ Cheers, S.

sven.panne:
I'm currently trying to unify the darcs-all scripts for GHC/Hugs/nhc, adding a "--release" option on the way, which is inteded to retrieve fixed versions from Hackage instead of the latest & greatest stuff from darcs repos. Looking at nhc's package list, I found a few issues:
* Iavor's package is called "monadLib", but the darcs repo on darcs.haskell.org is called "monad". I propose to simply rename that directory to match "monadLib". There is already an empty directory of the same name there, so somebody else was obviously confused, too. If nobody yells soon, I'll do this renaming.
* Malcolm: Could you move the polyparse repository from http://www.cs.york.ac.uk/fp/darcs/polyparse to darcs.haskell.org/packages, please? This would make things more consistent.
* Finally, I am utterly confused by the fps package: There is a version 0.7 on Hackage, the repo at http://www.cse.unsw.edu.au/~dons/code/fps seems to contain a 0.8 version, and we finally have a version somehow integrated into the base package, all with different APIs/#ifdefs/etc. Help!!! Which version
Version 0.7 is the last stable release. It should be compile with GHC 6.4.2 and earlier. The version in base corresponds to this version, with one or two safety tweaks (unfortunately). Version 0.8 is the unreleased darcs version, to be merged into base, in a week or two (after we replace the array fusion system).
compiles with which Haskell implementation? Which is the most current version? Will we split this from base? I know that there have been epic discussions on the libraries list, but after >20 mails I was somehow lost. If we want to keep this in base for some time, it should at least be assured
As far as I know it has not yet been decided to split it out. We'll be tagging and released fps 0.8 (only for ghc 6.4.2 and earlier), and the same code wil appear in base, in a couple of weeks, hopefully.
that it compiles with all Haskell implementations, so we could nuke the explicit "fps" package from nhc's package list. It can be re-added later, but please in synch with the rest of the implementations. Using it currently must be a nightmare for packagers/users due to this versionitis... :-/
The other compilers should be using a base package with fps in it, as hugs and ghc do. fps as a package only exists as a seperate darcs repo for those systems that don't have bytestrings in base. I.e. older GHC's, and nhc98 (not Hugs or GHC 6.6). Does that help clear things up? Effectively there is *no* fps package really -- its suppposed to be part of base, as ghc and hugs have it. -- Don

On Monday 02 April 2007 13:23, Donald Bruce Stewart wrote:
[...] The other compilers should be using a base package with fps in it, as hugs and ghc do.
fps as a package only exists as a seperate darcs repo for those systems that don't have bytestrings in base. I.e. older GHC's, and nhc98 (not Hugs or GHC 6.6).
Does that help clear things up? Effectively there is *no* fps package really -- its suppposed to be part of base, as ghc and hugs have it.
Hmmm, why does nhc98 explicitly retrieve the fps package from your repo then? It retrieves the same base package as GHC and Hugs, which should contain fps already. Malcolm? Cheers, S.

sven.panne:
On Monday 02 April 2007 13:23, Donald Bruce Stewart wrote:
[...] The other compilers should be using a base package with fps in it, as hugs and ghc do.
fps as a package only exists as a seperate darcs repo for those systems that don't have bytestrings in base. I.e. older GHC's, and nhc98 (not Hugs or GHC 6.6).
Does that help clear things up? Effectively there is *no* fps package really -- its suppposed to be part of base, as ghc and hugs have it.
Hmmm, why does nhc98 explicitly retrieve the fps package from your repo then? It retrieves the same base package as GHC and Hugs, which should contain fps already. Malcolm?
Ah yes, I remember now. nhc does use a base containing ByteString *but* it needed a couple of tweaks to compile. Those nhc patches are in the darcs repo, but not in the standard base yet. They will be on the next merge. So nhc should no longer need a seperate fps once we merge in those nhc patches to base, with the other fps 0.8 changes. -- Don

On Monday 02 April 2007 13:51, Donald Bruce Stewart wrote:
[...] nhc does use a base containing ByteString *but* it needed a couple of tweaks to compile. Those nhc patches are in the darcs repo, but not in the standard base yet.
They will be on the next merge. [...]
Could you merge just the nhc tweaks now or at least give me a hint what the problems were? Resolving this issue right now would eliminate the need to handle general URLs in darcs-all and make the whole situation a bit less confusing. No code is good code... Cheers, S.

sven.panne:
On Monday 02 April 2007 13:51, Donald Bruce Stewart wrote:
[...] nhc does use a base containing ByteString *but* it needed a couple of tweaks to compile. Those nhc patches are in the darcs repo, but not in the standard base yet.
They will be on the next merge. [...]
Could you merge just the nhc tweaks now or at least give me a hint what the problems were? Resolving this issue right now would eliminate the need to handle general URLs in darcs-all and make the whole situation a bit less confusing. No code is good code...
I'm actually submersed in ICFP paper writing for the rest of the week, so
I doubt I'll get a chance to do the merge before Saturday.
For reference, the relevant patches in fps' darcs repo are, I think:
Thu Mar 1 20:44:00 EST 2007 Don Stewart

Sven Panne
* Malcolm: Could you move the polyparse repository from http://www.cs.york.ac.uk/fp/darcs/polyparse to darcs.haskell.org/packages, please? This would make things more consistent.
Done (although with some reluctance due to the general network slowness of darcs.haskell.org). In the new darcs-all, I am very keen to retain the ability to use package repos stored elsewhere (not at darcs.haskell.org).
* Finally, I am utterly confused by the fps package: Using it currently must be a nightmare for packagers/users due to this versionitis... :-/
Yup. To reduce this confusion, I would very much like fps to remain separate from base, and that is one reason (but not the only one) why nhc98 does not build or export the version of Data.ByteString in base. Regards, Malcolm

On Monday 02 April 2007 15:44, Malcolm Wallace wrote:
Done (although with some reluctance due to the general network slowness of darcs.haskell.org). In the new darcs-all, I am very keen to retain the ability to use package repos stored elsewhere (not at darcs.haskell.org).
Thanks, that was quick. We can add general URL handling later, but initially I don't want to open too many cans of worms at once. :-)
* Finally, I am utterly confused by the fps package: Using it currently must be a nightmare for packagers/users due to this versionitis... :-/
Yup. To reduce this confusion, I would very much like fps to remain separate from base, and that is one reason (but not the only one) why nhc98 does not build or export the version of Data.ByteString in base.
:-/ That's the exact opposite of Don's intention, if I interpret today's mails correctly. So I'd like to propose that for the time being, we keep the "internal" version, fix it so it works with all implementations and leave the rest of the fps Jihad to future generations, where everything is a separate package, world hunger is solved, and all taxes are abolished... :-} Cheers, S.

sven.panne:
On Monday 02 April 2007 15:44, Malcolm Wallace wrote:
Done (although with some reluctance due to the general network slowness of darcs.haskell.org). In the new darcs-all, I am very keen to retain the ability to use package repos stored elsewhere (not at darcs.haskell.org).
Thanks, that was quick. We can add general URL handling later, but initially I don't want to open too many cans of worms at once. :-)
* Finally, I am utterly confused by the fps package: Using it currently must be a nightmare for packagers/users due to this versionitis... :-/
Yup. To reduce this confusion, I would very much like fps to remain separate from base, and that is one reason (but not the only one) why nhc98 does not build or export the version of Data.ByteString in base.
:-/ That's the exact opposite of Don's intention, if I interpret today's mails correctly. So I'd like to propose that for the time being, we keep the "internal" version, fix it so it works with all implementations and leave the rest of the fps Jihad to future generations, where everything is a separate package, world hunger is solved, and all taxes are abolished... :-}
Yes, it will be a shiny new world order! And hackage will rule us all. -- Don

Malcolm.Wallace:
Sven Panne
wrote: * Malcolm: Could you move the polyparse repository from http://www.cs.york.ac.uk/fp/darcs/polyparse to darcs.haskell.org/packages, please? This would make things more consistent.
Done (although with some reluctance due to the general network slowness of darcs.haskell.org). In the new darcs-all, I am very keen to retain the ability to use package repos stored elsewhere (not at darcs.haskell.org).
* Finally, I am utterly confused by the fps package: Using it currently must be a nightmare for packagers/users due to this versionitis... :-/
Yup. To reduce this confusion, I would very much like fps to remain separate from base, and that is one reason (but not the only one) why nhc98 does not build or export the version of Data.ByteString in base.
I too am happy to split it out -- as long as nothing in base is using PackedString or bytestring. But until it is split, and while Hugs and GHC both have it in base, hmm, nhc is playing odd man out ;-) -- Don

Sven Panne
* Iavor's package is called "monadLib", but the darcs repo on darcs.haskell.org is called "monad". I propose to simply rename that directory to match "monadLib".
s/monad/monads/ FWIW, this name change broke my overnight builds. Easily fixed, but there are other places that are impacted by the name change too, e.g. http://darcs.haskell.org/darcsweb Regards, Malcolm

On Tuesday 03 April 2007 12:54, Malcolm Wallace wrote:
Sven Panne
wrote: * Iavor's package is called "monadLib", but the darcs repo on darcs.haskell.org is called "monad". I propose to simply rename that directory to match "monadLib".
s/monad/monads/
Ooops...
FWIW, this name change broke my overnight builds. Easily fixed, but there are other places that are impacted by the name change too, e.g. http://darcs.haskell.org/darcsweb
Some minor breakage could not be avoided, I guess. I've just fixed darcsweb. Cheers, S.
participants (3)
-
dons@cse.unsw.edu.au
-
Malcolm Wallace
-
Sven Panne