Snap web framework - not in ArchHaskell?

Hi all,
I noticed that neither the snap, nor the yesod web frameworks are in the
arch-haskell repo - is there a specific reason for this?
What would you recommend is the best way to install and use snap?
(since it has been made clear that cabal is not a package manager, yet
snap recommends installing it via cabal... :-S )
kind regards,
--
Dawid Loubser

If you don't mind using happstack instead as a web framework, there is my
repository [haskell-happstack]. It also contains many packages that are in
common with snap and yesod.
On Tue, Oct 8, 2013 at 11:54 AM, Dawid Loubser
Hi all,
I noticed that neither the snap, nor the yesod web frameworks are in the arch-haskell repo - is there a specific reason for this?
What would you recommend is the best way to install and use snap? (since it has been made clear that cabal is not a package manager, yet snap recommends installing it via cabal... :-S )
kind regards,
-- Dawid Loubser
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

On 2013-10-08 11:54, Dawid Loubser wrote:
Hi all,
I noticed that neither the snap, nor the yesod web frameworks are in the arch-haskell repo - is there a specific reason for this?
What would you recommend is the best way to install and use snap? (since it has been made clear that cabal is not a package manager, yet snap recommends installing it via cabal... :-S )
Well, it's not *really* a package manager, but it seems to be growing in that direction... :) Anyway, any users of Snap are probably going to be developers, and I think it's pretty par for the course for developers to install libraries they're using from Hackage. I would recommend using "hsenv" for keeping per-project Cabal environments. (The new Cabal will have support for similar isolation, but I don't think it's really been released yet.) Regards, Bárður

Thanks for tha, Bárður! It's a bit of a pity that I would have to duplicate many libraries aready installed via arch-haskell / pacman with cabal natively (and I agree, needs to be fully-isolated - I'll look into hsenv, thanks!). I'm curious - I thought the goal of arch-haskell was to ultimately contain all hackage packages. Snap is in hackage - what makes it difficult to get into arch-haskell? I am not trying to complain - just trying to establish the situation. I am very new to the haskell world, but passionate about it beyond belief. I am happy to help where I can. kind regards, Dawid Loubser Op Di, 2013-10-08 om 19:43 +0200 skryf Bardur Arantsson:
On 2013-10-08 11:54, Dawid Loubser wrote:
Hi all,
I noticed that neither the snap, nor the yesod web frameworks are in the arch-haskell repo - is there a specific reason for this?
What would you recommend is the best way to install and use snap? (since it has been made clear that cabal is not a package manager, yet snap recommends installing it via cabal... :-S )
Well, it's not *really* a package manager, but it seems to be growing in that direction... :)
Anyway, any users of Snap are probably going to be developers, and I think it's pretty par for the course for developers to install libraries they're using from Hackage.
I would recommend using "hsenv" for keeping per-project Cabal environments. (The new Cabal will have support for similar isolation, but I don't think it's really been released yet.)
Regards,
Bárður
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

Getting packages into arch-haskell just requires someone to put in the time
and maintenance effort.
There's a section at
https://wiki.archlinux.org/index.php/Haskell_package_guidelines on
improving Arch Haskell.
If you get familiar with cblrepo and start a haskell-snap repository, that
would be the first step towards getting Snap into arch-haskell.
You might want to build on Nicola's haskell-happstack repository (in case
many of the dependencies are shared), or at least use it for inspiration.
On Wed, Oct 9, 2013 at 9:29 AM, Dawid Loubser
Thanks for tha, Bárður!
It's a bit of a pity that I would have to duplicate many libraries aready installed via arch-haskell / pacman with cabal natively (and I agree, needs to be fully-isolated - I'll look into hsenv, thanks!).
I'm curious - I thought the goal of arch-haskell was to ultimately contain all hackage packages. Snap is in hackage - what makes it difficult to get into arch-haskell?
I am not trying to complain - just trying to establish the situation. I am very new to the haskell world, but passionate about it beyond belief. I am happy to help where I can.
kind regards, Dawid Loubser
On 2013-10-08 11:54, Dawid Loubser wrote:
Hi all,
I noticed that neither the snap, nor the yesod web frameworks are in
Op Di, 2013-10-08 om 19:43 +0200 skryf Bardur Arantsson: the
arch-haskell repo - is there a specific reason for this?
What would you recommend is the best way to install and use snap? (since it has been made clear that cabal is not a package manager, yet snap recommends installing it via cabal... :-S )
Well, it's not *really* a package manager, but it seems to be growing in that direction... :)
Anyway, any users of Snap are probably going to be developers, and I think it's pretty par for the course for developers to install libraries they're using from Hackage.
I would recommend using "hsenv" for keeping per-project Cabal environments. (The new Cabal will have support for similar isolation, but I don't think it's really been released yet.)
Regards,
Bárður
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

I should also mention explicitly that we'd be very happy to help on this
mailing list and/or on the IRC channel.
Ask whatever questions you like, and eventually the results of this
discussion can be put on the wiki to make it easier to package things up in
the future.
On Wed, Oct 9, 2013 at 10:31 AM, Ramana Kumar
Getting packages into arch-haskell just requires someone to put in the time and maintenance effort. There's a section at https://wiki.archlinux.org/index.php/Haskell_package_guidelines on improving Arch Haskell. If you get familiar with cblrepo and start a haskell-snap repository, that would be the first step towards getting Snap into arch-haskell. You might want to build on Nicola's haskell-happstack repository (in case many of the dependencies are shared), or at least use it for inspiration.
On Wed, Oct 9, 2013 at 9:29 AM, Dawid Loubser
wrote: Thanks for tha, Bárður!
It's a bit of a pity that I would have to duplicate many libraries aready installed via arch-haskell / pacman with cabal natively (and I agree, needs to be fully-isolated - I'll look into hsenv, thanks!).
I'm curious - I thought the goal of arch-haskell was to ultimately contain all hackage packages. Snap is in hackage - what makes it difficult to get into arch-haskell?
I am not trying to complain - just trying to establish the situation. I am very new to the haskell world, but passionate about it beyond belief. I am happy to help where I can.
kind regards, Dawid Loubser
On 2013-10-08 11:54, Dawid Loubser wrote:
Hi all,
I noticed that neither the snap, nor the yesod web frameworks are in
Op Di, 2013-10-08 om 19:43 +0200 skryf Bardur Arantsson: the
arch-haskell repo - is there a specific reason for this?
What would you recommend is the best way to install and use snap? (since it has been made clear that cabal is not a package manager, yet snap recommends installing it via cabal... :-S )
Well, it's not *really* a package manager, but it seems to be growing in that direction... :)
Anyway, any users of Snap are probably going to be developers, and I think it's pretty par for the course for developers to install libraries they're using from Hackage.
I would recommend using "hsenv" for keeping per-project Cabal environments. (The new Cabal will have support for similar isolation, but I don't think it's really been released yet.)
Regards,
Bárður
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

Thank you kindly, Ramana. I have to put quite a lot of work (learning) into Haskell before I would be of any real use, I was simply interested in playing around with snap as one of the avenues of learning. I quite like the philosophy of snap. I'll certainly be in contact once I can meaningfully contribute (or meaningfully ask questions!). D. Op Wo, 2013-10-09 om 10:33 +0100 skryf Ramana Kumar:
I should also mention explicitly that we'd be very happy to help on this mailing list and/or on the IRC channel.
Ask whatever questions you like, and eventually the results of this discussion can be put on the wiki to make it easier to package things up in the future.
On Wed, Oct 9, 2013 at 10:31 AM, Ramana Kumar
wrote: Getting packages into arch-haskell just requires someone to put in the time and maintenance effort. There's a section at https://wiki.archlinux.org/index.php/Haskell_package_guidelines on improving Arch Haskell. If you get familiar with cblrepo and start a haskell-snap repository, that would be the first step towards getting Snap into arch-haskell.
You might want to build on Nicola's haskell-happstack repository (in case many of the dependencies are shared), or at least use it for inspiration.
On Wed, Oct 9, 2013 at 9:29 AM, Dawid Loubser
wrote: Thanks for tha, Bárður! It's a bit of a pity that I would have to duplicate many libraries aready installed via arch-haskell / pacman with cabal natively (and I agree, needs to be fully-isolated - I'll look into hsenv, thanks!).
I'm curious - I thought the goal of arch-haskell was to ultimately contain all hackage packages. Snap is in hackage - what makes it difficult to get into arch-haskell?
I am not trying to complain - just trying to establish the situation. I am very new to the haskell world, but passionate about it beyond belief. I am happy to help where I can.
kind regards, Dawid Loubser
Op Di, 2013-10-08 om 19:43 +0200 skryf Bardur Arantsson: > On 2013-10-08 11:54, Dawid Loubser wrote: > > Hi all, > > > > I noticed that neither the snap, nor the yesod web frameworks are in the > > arch-haskell repo - is there a specific reason for this? > > > > What would you recommend is the best way to install and use snap? > > (since it has been made clear that cabal is not a package manager, yet > > snap recommends installing it via cabal... :-S ) > > > > Well, it's not *really* a package manager, but it seems to be growing in > that direction... :) > > Anyway, any users of Snap are probably going to be developers, and I > think it's pretty par for the course for developers to install libraries > they're using from Hackage. > > I would recommend using "hsenv" for keeping per-project Cabal > environments. (The new Cabal will have support for similar isolation, > but I don't think it's really been released yet.) > > Regards, > > Bárður > > _______________________________________________ > arch-haskell mailing list > arch-haskell@haskell.org > http://www.haskell.org/mailman/listinfo/arch-haskell
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

On Wed, Oct 09, 2013 at 10:29:08AM +0200, Dawid Loubser wrote:
Thanks for tha, Bárður!
It's a bit of a pity that I would have to duplicate many libraries aready installed via arch-haskell / pacman with cabal natively (and I agree, needs to be fully-isolated - I'll look into hsenv, thanks!).
I'm curious - I thought the goal of arch-haskell was to ultimately contain all hackage packages. Snap is in hackage - what makes it difficult to get into arch-haskell?
The issue is one of resources. Every package that's added adds to the work of keeping [haskell-core] up-to-date. Especially packages that have *lots* of dependencies can be a bit problematic; they tend to hold back the updating of their dependencies, especially if the upstream developers aren't as interested as we are in tracking the latest and greatest on Hackage.
I am not trying to complain - just trying to establish the situation. I am very new to the haskell world, but passionate about it beyond belief. I am happy to help where I can.
As was mentioned in another branch on this thread, please do contribute by packaging stuff and if you have any problems or suggestions for improvements please post on this list. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus When the people fear their government, there is tyranny; when the government fears the people, there is liberty. -- Thomas Jefferson
participants (5)
-
Bardur Arantsson
-
Dawid Loubser
-
Magnus Therning
-
Nicola Squartini
-
Ramana Kumar