Bug 736577 (ghc-snap-core) - Review Request: ghc-snap-core - Snap web framework core library
Summary: Review Request: ghc-snap-core - Snap web framework core library
Alias: ghc-snap-core
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Narasimhan
QA Contact: Fedora Extras Quality Assurance
Depends On: 648093 ghc-unix-compat ghc-vector ghc-attoparsec-enum 746415 746942 ghc-zlib-enum ghc-mwc-random 756386 759045
Blocks: Haskell-pkg-reviews
TreeView+ depends on / blocked
Reported: 2011-09-08 06:51 UTC by Jens Petersen
Modified: 2012-02-07 08:28 UTC (History)
5 users (show)

Fixed In Version: ghc-snap-core-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-02-07 07:48:31 UTC
Type: ---
lakshminaras2002: fedora-review+
gwync: fedora-cvs+

Attachments (Terms of Use)

Description Jens Petersen 2011-09-08 06:51:34 UTC
Spec URL: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core.spec
SRPM URL: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core-
Core definitions and types for the Snap web framework

Comment 1 Jens Petersen 2011-09-08 06:55:19 UTC
This also depends on vector - will make it block this review.

Comment 2 Michel Alexandre Salim 2011-09-08 18:21:04 UTC
Jens, could you review these two in return?


(I somehow let the previous review lapsed, sorry -- the new spec is significantly different, based on the latest cabal2spec, so it probably should be re-reviewed anyway)


(the original motivation for packaging language-c, which it depends on; there were issues compiling it earlier related to our LLVM stack)


Comment 3 Jens Petersen 2011-09-09 02:20:56 UTC
(In reply to comment #2)
> Jens, could you review these two in return?

Sure, no problem :)

Comment 4 Michel Alexandre Salim 2011-09-27 09:10:56 UTC
Jens, would you rather I review this based on the latest available unpackaged dependencies, or would you rather I wait until those are reviewed? I can do either.

Comment 5 Jens Petersen 2011-09-27 09:48:00 UTC
Thanks Michel, I think it is better to wait for the other deps.
Unfortunately those still need to be resubmitted, but I am hoping
to do that soon if someone else doesn't beat me to it. :)

Comment 6 Jens Petersen 2011-10-15 16:24:47 UTC
Update to latest 0.5.4 release.

Spec: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core.spec
Srpm: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core-0.5.4-1.fc15.src.rpm

I just submitted MonadControlIO-transformers.
With it this builds locally for me.

Comment 7 Jens Petersen 2011-10-15 16:26:00 UTC
(sorry MonadCatchIO-transformers)

Comment 8 Jens Petersen 2011-10-28 10:48:14 UTC
snap-core-0.6.0 was released as part of the snap-0.6 release.
Unfortunately it has some addtional new dependencies...

Comment 9 Jens Petersen 2011-11-08 02:46:49 UTC
Spec: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core.spec
Srpm: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core-0.5.4-2.fc15.src.rpm

This now builds in koji:

snap-core-0.5.5 needs an additional dependency on zlib-enum.

snap-core-0.6 additionally requires base16-bytestring, mwc-random, and unordered-containers.

Comment 11 Jens Petersen 2011-11-23 12:29:18 UTC
Michel, do you still have time to review this? :)

Comment 12 Jens Petersen 2011-12-16 07:24:01 UTC
Update to 0.6:

Srpm: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core.spec
Spec: http://petersen.fedorapeople.org/reviews/ghc-snap-core/ghc-snap-core-

Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=3588254

Note 0.7 requires a newer version of attoparsec than we currently have.
I guess we can update to it when moving to ghc-7.4.

Comment 14 Narasimhan 2012-01-17 03:50:28 UTC
Hi Michel,
Are you planning to review this any time soon? If no, then I can take this.

Comment 15 Narasimhan 2012-01-21 05:19:44 UTC
Hi Michel,
I will review this package.

Comment 16 Narasimhan 2012-01-21 06:04:03 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.

rpmlint  -i ghc-snap-core-  ghc-snap-core-devel-  ghc-snap-core- ../ghc-snap-core.spec 
3 packages and 1 specfiles checked; 0 errors, 0 warnings.

[+]MUST: The package must be named according to the Package Naming Guidelines.
[+]MUST: The spec file name must match the base package %{name}, in the format %{name}.spec
[+]MUST: The package must meet the Packaging Guidelines.
        Version-release - Matches
        No prebuilt external bits - OK
        Spec legibity - OK
        Package template - OK, based on cabal2spec-0.25
        Arch support - OK
        Libexecdir - OK
        rpmlint - yes
        changelogs - OK
        Source url tag  - OK, validated.
        Build Requires list - OK
        Summary and description - OK
        API documentation - OK

[+]MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .
[+]MUST: The License field in the package spec file must match the actual license.
License is BSD.
[+]MUST: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc.
LICENSE file is included.
[+]MUST: The spec file must be written in American English.
[+]MUST: The spec file for the package MUST be legible.
[+]MUST: The sources used to build the package must match the upstream source,as provided in the spec URL. Reviewers should use md5sum for this task.
md5sum snap-core- 
c686cbca157485dbef60528aca3f5dff  snap-core-

md5sum ghc-snap-core- 
c686cbca157485dbef60528aca3f5dff  ghc-snap-core-

[+]MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture.
Built on x86_64.
[+]MUST: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in ExcludeArch.
[+]MUST: All build dependencies must be listed in BuildRequires.
[+]MUST: Packages must NOT bundle copies of system libraries.
[NA]MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review.
[+]MUST: A package must own all directories that it creates.
[+]MUST: A Fedora package must not list a file more than once in the spec file's %files listings.
[+]MUST: Permissions on files must be set properly.
[+]MUST: Each package must consistently use macros.
[+]MUST: The package must contain code, or permissible content.
[+]MUST: Large documentation files must go in a -doc subpackage.
API documentation in devel package
[+]MUST: If a package includes something as %doc, it must not affect the runtime of the application.
[+]MUST: devel packages must require the base package using a fully versioned dependency: Requires: {name} = %{version}-%{release}
[NA]MUST: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section
[+]MUST: Packages must not own files or directories already owned by other packages.
[+]MUST: All filenames in rpm packages must be valid UTF-8.

Should items
[+]SHOULD: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it.
[-]SHOULD: Individual source files must mention the license at the beginning of the file.
Please request upstream to include the license at the top of each source file.
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK.


Comment 17 Narasimhan 2012-01-22 04:59:34 UTC
Just a headsup. This package depends on ghc-mwc-random 0.10.0. Rawhide has ghc-mwc-random-

Comment 18 Jens Petersen 2012-01-23 02:08:46 UTC
Thanks for reviewing! :)

(In reply to comment #17)
> This package depends on ghc-mwc-random 0.10.0. Rawhide has
> ghc-mwc-random-

I see - let me see if it builds if I patch the .cabal file?

We probably need to be increasingly careful with checking
reverse dependencies before updating libraries.
eg http://packdeps.haskellers.com/reverse/mwc-random

Comment 19 Jens Petersen 2012-01-23 03:25:28 UTC
Anyway it builds ok, after patching the .cabal file so will do that. :)

New Package SCM Request
Package Name: ghc-snap-core
Short Description: Snap web framework core library
Owners: petersen
Branches: f16 f15 el6
InitialCC: haskell-sig

Comment 20 Gwyn Ciesla 2012-01-23 13:03:27 UTC
Git done (by process-git-requests).

Comment 21 Jens Petersen 2012-01-24 02:51:27 UTC
Built for F17 rawhide.

Comment 22 Fedora Update System 2012-01-25 09:36:44 UTC
ghc-case-insensitive-,ghc-http-types-0.6.8-1.fc16.1,ghc-snap-core-,ghc-wai-0.4.3-1.fc16,ghc-wai-extra-,ghc-warp- has been submitted as an update for Fedora 16.

Comment 23 Fedora Update System 2012-01-25 22:29:44 UTC
ghc-case-insensitive-, ghc-http-types-0.6.8-1.fc16.1, ghc-snap-core-, ghc-wai-0.4.3-1.fc16, ghc-wai-extra-, ghc-warp- has been pushed to the Fedora 16 testing repository.

Comment 24 Fedora Update System 2012-01-26 00:40:21 UTC
ghc-snap-core-0.5.5-2.fc15 has been submitted as an update for Fedora 15.

Comment 25 Fedora Update System 2012-02-07 07:48:31 UTC
ghc-snap-core-0.5.5-2.fc15 has been pushed to the Fedora 15 stable repository.

Comment 26 Fedora Update System 2012-02-07 07:57:22 UTC
ghc-case-insensitive-, ghc-http-types-0.6.8-1.fc16.1, ghc-snap-core-, ghc-wai-0.4.3-1.fc16, ghc-wai-extra-, ghc-warp- has been pushed to the Fedora 16 stable repository.

Note You need to log in before you can comment on or make changes to this bug.