Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add showFullInstalledPackageInfo #4979

Merged
merged 2 commits into from
Dec 28, 2017

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Dec 27, 2017

@hvr I chose to go more BC way, I'm afraid we will out of run to test ghc-pkg changes properly.
showFullInstalledPackageInfo could be removed for next Cabal / GHC-8.6 when we have better time.


showInstalledPackageInfo uses full variant, but with pkgroot set to
Nothing. This way we field descriptions have roundtrip property (wo it's
simpler to proceed with reworking the parsing using parsec framework).

We introduce new name, so no (coordinated) changes to ghc-pkg are needed.

Please include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.

Please also shortly describe how you tested your change. Bonus points for added tests!

showInstalledPackageInfo uses full variant, but with pkgroot set to
Nothing. This way we field descriptions have roundtrip property (wo it's
simpler to proceed with reworking the parsing using parsec framework).

We introduce new name, so no (coordinated) changes to ghc-pkg are needed.
@phadej phadej requested a review from hvr December 27, 2017 12:40
Copy link
Member

@23Skidoo 23Skidoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -359,8 +360,16 @@ parseInstalledPackageInfo =
-- -----------------------------------------------------------------------------
-- Pretty-printing

-- | Pretty print 'InstalledPackageInfo'.
--
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/it' s/it/

@23Skidoo
Copy link
Member

Test failure is #4957.

@23Skidoo 23Skidoo merged commit d7a88c6 into haskell:master Dec 28, 2017
@23Skidoo
Copy link
Member

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants