Ian Duncan | 1 Apr 02:42 2009
Picon

Haskell Platform Volunteers

Hi, reddit pointed me this way if I wanted to help out with maintaining the Haskell Platform. I'm perfectly willing to help out, but I've never been involved in anything like this before. Where am I needed, and how do I get started?


Ian Duncan
_______________________________________________
Haskell-platform mailing list
Haskell-platform@...
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform
haskell-platform | 1 Apr 02:47 2009

Re: #7: Installer/package for OSX

#7: Installer/package for OSX
-------------------+--------------------------------------------------------
Reporter:  duncan  |        Owner:  gregorycollins     
    Type:  task    |       Status:  assigned           
Priority:  major   |    Milestone:  Release 1: 2008.0.0
 Version:          |   Resolution:                     
Keywords:          |  
-------------------+--------------------------------------------------------
Comment (by duncan):

 Thanks Gregory, looks good. Does that mean we'd have a separate framework
 for each package? I presume we can still have a single installer that
 bundles all of them together?

 Can you give us a rough overview of how you envisage things working?
 Perhaps make a page here in the wiki (eg [wiki:OSX]). How will it work
 overall? What will the thing consist of? How will it be built etc. That'd
 be great and it'll make it easier for other people to help you or make
 suggestions.

--

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/7#comment:2>
haskell-platform <http://haskell.org/haskellwiki/Haskell_Platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
Duncan Coutts | 1 Apr 02:51 2009
Picon
Picon

Re: Haskell Platform: status update and call for volunteers

On Tue, 2009-03-31 at 12:34 +0000, Mikhail Glushenkov wrote:
> Hi,
> 
> I can volunteer as a Windows installer maintainer.

Great.

> Unfortunately, I won't be able to meet the April 19 deadline (exams),
> but I will with high probability roll out the beta (or rc) installer
> by April 30.

Right'o, hopefully get more volunteers and you can help out when you're
ready.

> I have some experience with NSIS and plan to use it for the
> installer.

Ok. The other option we've been considering is InnoSetup because that's
what GHC uses currently (and because I was familiar with it) but whoever
does the work gets to decide! :-)

Duncan
Joe Thornber | 1 Apr 12:14 2009
Picon

Volunteering

Hi,

I have a couple of hours per week to spare that I could use to help
with the OS X release.

- Joe
Gregory Collins | 1 Apr 16:52 2009
Picon

Re: Volunteering

Joe Thornber <joe.thornber@...> writes:

> Hi,
>
> I have a couple of hours per week to spare that I could use to help
> with the OS X release.

Hi Joe,

I would appreciate some help, for sure. You can download my
work-in-progress here:

    http://github.com/gregorycollins/cabal2macpkg/tree

Duncan asked for some information re: how this tool will work; I'll dash
off some quick thoughts here and also will update the ticket & wiki.

The "cabal2macpkg" program will take a .cabal package and turn it into a
mac installer file. I envision it having two modes: 

    1. take a single .cabal library and make a .pkg file

    2. read a .cabal file, turn all of its dependencies into .pkg files,
       and package those up together into an .mpkg file.

I've gotten most of the way through the first part; the process goes:

    1. find a .cabal file in the current working directory

    2. run "cabal build; cabal haddock" into a staging area

    3. run "cabal register --gen-pkg-config" and postprocess the results
       to generate a registration script that will be run by the OS X
       installer

    4. turn the staging area into a mac package file using the OS X
       developer tools

Progress on this project has been slow-going, Apple's documentation for
this stuff is horrible. Right now I'm using the old (10.4) interface to
the packagemaker tool because I can't find enough authoritative
information about the inputs to the Leopard version.

If anyone wants to discuss this project with me, I'll try to be on
#haskell; my nick is "gcollins". This project has been on my backburner
for a while but I intend to invest some time in it to try to make the
deadline.

G.
--

-- 
Gregory Collins <greg@...>
haskell-platform | 1 Apr 16:54 2009

Re: #7: Installer/package for OSX

#7: Installer/package for OSX
-------------------+--------------------------------------------------------
Reporter:  duncan  |        Owner:  gregorycollins     
    Type:  task    |       Status:  assigned           
Priority:  major   |    Milestone:  Release 1: 2008.0.0
 Version:          |   Resolution:                     
Keywords:          |  
-------------------+--------------------------------------------------------
Comment (by gregorycollins):

 The "cabal2macpkg" program will take a .cabal package and turn it into a
 mac installer file. I envision it having two modes:

     1. take a single .cabal library and make a .pkg file

     2. read a .cabal file, turn all of its dependencies into .pkg files,
        and package those up together into an .mpkg file.

 I've gotten most of the way through the first part; the process goes:

     1. find a .cabal file in the current working directory

     2. run "cabal build; cabal haddock" into a staging area

     3. run "cabal register --gen-pkg-config" and postprocess the results
        to generate a registration script that will be run by the OS X
        installer

     4. turn the staging area into a mac package file using the OS X
        developer tools

--

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/7#comment:3>
haskell-platform <http://haskell.org/haskellwiki/Haskell_Platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
Gregory Collins | 1 Apr 20:57 2009
Picon

Announce: first (semi-working) version of cabal2macpkg

Hi all,

The "cabal2macpkg" tool
(http://github.com/gregorycollins/cabal2macpkg/tree/master) is far
enough along now that you can build .pkg files from .cabal libraries.

I'd appreciate some feedback; if any OSX users who are reading this
could please take some time to try out the tool, I'd appreciate it. It's
intended to be used as follows (using "kmeans" library as an example):

    $ tar xvzf ~/.cabal/packages/hackage.haskell.org/kmeans/0.1.1/kmeans-0.1.1.tar.gz 

    $ cd kmeans-0.1.1

    $ sudo /path/to/cabal2macpkg          # needs to be run as root unfortunately

    $ ls -ld *pkg
    drwxr-xr-x  3 root  wheel  102  1 Apr 14:54 kmeans-0.1.1.pkg

    $ open kmeans-0.1.1.pkg

G.
--

-- 
Gregory Collins <greg@...>
haskell-platform | 2 Apr 16:39 2009

#10: Make platform installer checklist

#10: Make platform installer checklist
-------------------+--------------------------------------------------------
Reporter:  duncan  |       Owner:     
    Type:  task    |      Status:  new
Priority:  major   |   Milestone:     
 Version:          |    Keywords:     
-------------------+--------------------------------------------------------
 Make a list of things to check to see if the installer works. As many as
 possible of these should be automated, eg using scripts + HUnit or
 something.

 eg:

   * compile hello world
   * ghci -package blah
   * ghc-pkg check ([http://www.haskell.org/pipermail/glasgow-haskell-
 users/2009-April/017012.html see for example what could go wrong])
   * run full ghc testsuite perhaps

--

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/10>
haskell-platform <http://haskell.org/haskellwiki/Haskell_Platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
Duncan Coutts | 2 Apr 18:46 2009
Picon
Picon

Re: Haskell Platform Volunteers

On Tue, 2009-03-31 at 19:42 -0500, Ian Duncan wrote:
> Hi, reddit pointed me this way if I wanted to help out with
> maintaining the Haskell Platform. I'm perfectly willing to help out,
> but I've never been involved in anything like this before. Where am I
> needed, and how do I get started?

Hi Ian,

What platform are you interested in? Or perhaps you're good with making
nice simple websites?

So far I don't think anyone is working on the generic unix tarball
release.

Duncan
Duncan Coutts | 2 Apr 18:46 2009
Picon
Picon

Re: Volunteering

On Wed, 2009-04-01 at 11:14 +0100, Joe Thornber wrote:
> Hi,
> 
> I have a couple of hours per week to spare that I could use to help
> with the OS X release.

Thanks Joe, that's great. Gregory is definitely the person to coordinate
with for OSX stuff.

Duncan

Gmane