forked from haskell/haskell-ide-engine
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use cabal-helper 1.0 #26
Merged
Merged
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
52940fb
Use cabal-helper 1.0
fendor 26d0ddd
Update .gitmodules to use DanielG's cabal-helper
fendor a1bac07
Re-implement cabal-helper cradle
fendor 294c401
Update hie-bios
fendor 52b60ba
Fix builds for stack
fendor ae844a0
Change HaRe submodule to use different remote
fendor 7def514
Update .gitmodules
fendor 799bfd6
Fix multi-component support for cabal-helper cradle
fendor 408b0b5
Add real error messages
fendor 2fdcb3a
Add none-cradle if file does not belong to any package
fendor c41eed0
Fix cabal-helper multi-packages support
fendor 2ffb17e
More Documentation
fendor b72e606
Refactor functions and add Documentation
fendor 91a56b0
Improve comments
fendor b28e944
Upgrade stack version in circleci to 2.1.3
fendor c84b33f
.gitmodules, use https instead of ssh
fendor ed6d66b
Fix stack for ghc 8.6.5
fendor 83c5090
Bump cabal-helper version to latest master a1c4a37
fendor cc40b6f
Implement perfect match for c-h-h cradle discovery
fendor 7e7bd1d
Remove unused Language Pragma
fendor 92add4e
Fix stripFilePath function
fendor c45714e
Remove comments from .gitmodules
fendor 0517eaa
Implement the ancestors function
fendor 97e6617
If not package can be found, return none-cradle
fendor b775f13
Prefer canonicalisePath over normalise
fendor b4f2326
Remove redundant check for stack installation
fendor 9ceec1e
Move function relativeTo to the bottom of the file
fendor 4309653
Move utility functions to the bottom of Cradle.hs
fendor 9ee8156
Add exhautive documentation for Cabal-Helper-Helper implementation
fendor 232e7d6
Update Documentation, e.g. fix typos and add explanations
fendor 3ed7833
Fix typo in documentation of the project root discovery
fendor a19ff9c
Catch exceptions on initialisation and add explicit import list
fendor 4a80ec3
Rework comments that do not make sense
fendor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this dependency used for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ghc-project-types, which depends on c-h and hie-plugin-api depends on https://github.com/mpickering/haskell-ide-engine/blob/hie-bios/hie-plugin-api/Haskell/Ide/Engine/Ghc.hs#L301 which is exposed in
ghc-project-types
and HaRe uses this function.We need this ghc-mod dep, because c-h has a minor change in the API. The diff in
ghc-mod
has like 3 changes, like, bumping c-h version, removing unknown type and adding instances for some type.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can eventually move
ghc-project-types
into another location if needed, possibly into hie itself.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I would love that! This would actually enable us to go to hackage, once c-h version 1.0 has been published!