Replacing the current comment with a Maintainer field

Hi guys, how do you feel about this patch to the archlinux repository? Would anyone mind if I'd make that change? Take care, Peter

On 2010/10/30 Peter Simons
Hi guys, how do you feel about this patch to the archlinux repository? Would anyone mind if I'd make that change?
I'm okay with that, you make me notice that I accidentally pushed that change to the provides list with another commit, but I wanted to ask the mailing-list about it before pushing it (it caused PKGBUILD to no longer have redundant haskell-cabal and other dependencies). I saw that you added options to personalize names of generated packages: do you plan to support packaging multiple versions of a single library? AFAIK this is perfecctly allowed by GHC and would make packaging easier for libraries depending on old packages. -- Rémy.

Hi Rémy,
I accidentally pushed that change to the provides list with another commit, but I wanted to ask the mailing-list about it before pushing it (it caused PKGBUILD to no longer have redundant haskell-cabal and other dependencies).
yes, there are both advantages and disadvantages to this change. Now that PKGBUILDs don't list the dependencies provided by GHC anymore, we no longer rely on 'provides', and any ArchLinux package manager ought to be able to handle our builds just fine. This is good, of course. On the other hand, our PKGBUILDs are now implicitly designed to be used by GHC. If there were a new production-ready Haskell compiler to emerge that would provide a different set of standard libraries, then those PKGBUILD files would no longer work correctly because of those implicit dependencies. I feel that's a theoretical problem, though, and we can worry about that later when a new major compiler actually appears, which is probably not going to happen any time soon.
I saw that you added options to personalize names of generated packages: do you plan to support packaging multiple versions of a single library?
Yes, my PKGLIST now contains both package names from ArchLinux and Cabal: http://github.com/peti/arch-haskell/blob/master/PKGLIST. This allows us to include multiple versions of the same package in the distribution, i.e. like this: # # ArchLinx pkgname Cabal pkgname Version Release # haskell-pandoc1 pandoc 1.6 1 haskell-pandoc pandoc 2.0 1 I'm also planning to augment PKGLIST with a set of options that are to be applied in the conversion, for example: # # ArchLinx pkgname Cabal pkgname Version Release Flags # haskell-pandoc pandoc 1.6 1 haskell-pandoc-full pandoc 1.6 1 -fhighlighting -fciteproc I'm not quite there yet, and this change is going to require further genereralization of the archhaskell library API, but IMHO that feature would be worthwile to have. Take care Peter

On 2010/10/30 Peter Simons
Yes, my PKGLIST now contains both package names from ArchLinux and Cabal: http://github.com/peti/arch-haskell/blob/master/PKGLIST. This allows us to include multiple versions of the same package in the distribution, i.e. like this:
# # ArchLinx pkgname Cabal pkgname Version Release # haskell-pandoc1 pandoc 1.6 1 haskell-pandoc pandoc 2.0 1
I'm also planning to augment PKGLIST with a set of options that are to be applied in the conversion, for example:
# # ArchLinx pkgname Cabal pkgname Version Release Flags # haskell-pandoc pandoc 1.6 1 haskell-pandoc-full pandoc 1.6 1 -fhighlighting -fciteproc
I'm not quite there yet, and this change is going to require further genereralization of the archhaskell library API, but IMHO that feature would be worthwile to have.
I also think so: in this case we should probably adapt cabal2pkg to output a provides line, so that other PKGBUILD can safely depend on the traditional package name. -- Rémy.
participants (2)
-
Peter Simons
-
Rémy Oudompheng