Bug 1816920

Summary: Provide also the Stack package
Product: [Fedora] Fedora Reporter: Anton Kochkov <anton.kochkov>
Component: haskell-platformAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: petersen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: haskell-platform-2020.1-2.fc32 haskell-platform-2019.2-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-25 02:22:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anton Kochkov 2020-03-25 06:30:09 UTC
Stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.

It features:

- Installing GHC automatically, in an isolated location.
- Installing packages needed for your project.
- Building your project.
- Testing your project.
- Benchmarking your project.


https://docs.haskellstack.org/en/stable/README/

https://docs.haskellstack.org/en/stable/install_and_upgrade/

There is no official Fedora package, which is quite a setback. See the good example of Arch Linux which has on:

- https://copr.fedorainfracloud.org/coprs/petersen/stack/
- https://www.archlinux.org/packages/community/x86_64/stack/

Comment 1 Jens Petersen 2020-03-25 09:42:46 UTC
Thanks for the request - yes I would like to add stack to Fedora - there are quite a few dependencies missing currently:

filelock-0.1.1.4 in Stackage lts-14
hi-file-parser-0.1.0.0 in Stackage lts-14
hpack-0.31.2 in Stackage lts-14
  needs: infer-license
http-download-0.1.0.1 in Stackage lts-14
  needs: path-io retry rio-prettyprint
mintty-0.1.2 in Stackage lts-14
mustache-2.3.1 in Stackage lts-14
neat-interpolation-0.3.2.6 in Stackage lts-14
open-browser-0.2.1.0 in Stackage lts-14
pantry-0.1.1.2 in Stackage lts-14
  needs: (filelock) (hpack) (http-download) (path-io) rio-orphans (rio-prettyprint) th-utilities
project-template-0.2.0.1 in Stackage lts-14
regex-applicative-text-0.1.0.1 in Stackage lts-14

But maybe building it initially inside haskell-platform initially is an interesting idea...

(In reply to Anton Kochkov from comment #0)
> - https://copr.fedorainfracloud.org/coprs/petersen/stack/

Yeah that is mine.

Comment 2 Fedora Update System 2020-04-10 02:41:06 UTC
FEDORA-2020-bda7e531a9 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bda7e531a9

Comment 3 Jens Petersen 2020-04-10 03:36:49 UTC
> (In reply to Anton Kochkov from comment #0)
> > - https://copr.fedorainfracloud.org/coprs/petersen/stack/

Though you would want the newer copr:

https://copr.fedorainfracloud.org/coprs/petersen/stack2

Comment 4 Fedora Update System 2020-04-11 18:51:21 UTC
FEDORA-2020-bda7e531a9 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bda7e531a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bda7e531a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-04-14 16:50:41 UTC
FEDORA-2020-bbd711f90d has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bbd711f90d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bbd711f90d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-04-24 02:37:12 UTC
FEDORA-2020-affd5e1ab5 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-affd5e1ab5

Comment 7 Fedora Update System 2020-04-25 02:22:20 UTC
FEDORA-2020-bbd711f90d has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-04-25 04:18:53 UTC
FEDORA-2020-affd5e1ab5 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-affd5e1ab5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-affd5e1ab5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-05-27 03:02:07 UTC
FEDORA-2020-affd5e1ab5 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.