Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit 9d0fc44

Browse files
authored
Update URLs after move to haskell github org (#950)
1 parent 27b4250 commit 9d0fc44

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ More details in [bench/README](bench/README.md)
351351

352352
The teams behind this project and the [`haskell-ide-engine`](https://github.com/haskell/haskell-ide-engine#readme) have agreed to join forces under the [`haskell-language-server` project](https://github.com/haskell/haskell-language-server), see the [original announcement](https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-them-all.html). The technical work is ongoing, with the likely model being that this project serves as the core, while plugins and integrations are kept in the [`haskell-language-server` project](https://github.com/haskell/haskell-language-server).
353353

354-
The code behind `ghcide` was originally developed by [Digital Asset](https://digitalasset.com/) as part of the [DAML programming language](https://github.com/digital-asset/daml). DAML is a smart contract language targeting distributed-ledger runtimes, based on [GHC](https://www.haskell.org/ghc/) with custom language extensions. The DAML programming language has [an IDE](https://webide.daml.com/), and work was done to separate off a reusable Haskell-only IDE (what is now `ghcide`) which the [DAML IDE then builds upon](https://github.com/digital-asset/daml/tree/master/compiler/damlc). Since that time, there have been various [non-Digital Asset contributors](https://github.com/digital-asset/ghcide/graphs/contributors), in addition to continued investment by Digital Asset. The project has been handed over to Haskell.org as of September 2020.
354+
The code behind `ghcide` was originally developed by [Digital Asset](https://digitalasset.com/) as part of the [DAML programming language](https://github.com/digital-asset/daml). DAML is a smart contract language targeting distributed-ledger runtimes, based on [GHC](https://www.haskell.org/ghc/) with custom language extensions. The DAML programming language has [an IDE](https://webide.daml.com/), and work was done to separate off a reusable Haskell-only IDE (what is now `ghcide`) which the [DAML IDE then builds upon](https://github.com/digital-asset/daml/tree/master/compiler/damlc). Since that time, there have been various [non-Digital Asset contributors](https://github.com/haskell/ghcide/graphs/contributors), in addition to continued investment by Digital Asset. The project has been handed over to Haskell.org as of September 2020.
355355

356356
The Haskell community [has](https://github.com/DanielG/ghc-mod) [various](https://github.com/chrisdone/intero) [IDE](https://github.com/rikvdkleij/intellij-haskell) [choices](http://leksah.org/), but the one that had been gathering momentum is [`haskell-ide-engine`](https://github.com/haskell/haskell-ide-engine#readme). Our project owes a debt of gratitude to the `haskell-ide-engine`. We reuse libraries from their ecosystem, including [`hie-bios`](https://github.com/mpickering/hie-bios#readme) (a likely future environment setup layer in `haskell-ide-engine`), [`haskell-lsp`](https://github.com/alanz/haskell-lsp#readme) and [`lsp-test`](https://github.com/bubba/lsp-test#readme) (the `haskell-ide-engine` [LSP protocol](https://microsoft.github.io/language-server-protocol/) pieces). We make heavy use of their contributions to GHC itself, in particular the work to make GHC take string buffers rather than files.
357357

docs/Setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ This can happen if you have a GHC compiled without GHC library support. This se
115115

116116
## Symbol’s value as variable is void: capability
117117

118-
As described [here](https://github.com/emacs-lsp/lsp-mode/issues/770#issuecomment-483540119) and [here](https://github.com/emacs-lsp/lsp-mode/issues/517#issuecomment-445448700), the default installation of `lsp-mode`, `lsp-ui`, `lsp-ui-mode` and `lsp-haskell` as described in [ghcide's "Using with Emacs" section](https://github.com/digital-asset/ghcide/#using-with-emacs) may result in the following error message:
118+
As described [here](https://github.com/emacs-lsp/lsp-mode/issues/770#issuecomment-483540119) and [here](https://github.com/emacs-lsp/lsp-mode/issues/517#issuecomment-445448700), the default installation of `lsp-mode`, `lsp-ui`, `lsp-ui-mode` and `lsp-haskell` as described in [ghcide's "Using with Emacs" section](https://github.com/haskell/ghcide/#using-with-emacs) may result in the following error message:
119119

120120
```
121121
Symbol’s value as variable is void: capability
@@ -132,7 +132,7 @@ find ~/.emacs.d -name '*.elc' -exec rm {} \;
132132

133133
## Docker stack builds
134134

135-
You're likely to see `ghcide: (ExitFailure 1,"","")`. Because ghcide can't get at the ghc installed inside Docker, your best bet is to `stack exec ghcide` and make sure `ghcide` is installed within the container. Full details at [issue 221](https://github.com/digital-asset/ghcide/issues/221).
135+
You're likely to see `ghcide: (ExitFailure 1,"","")`. Because ghcide can't get at the ghc installed inside Docker, your best bet is to `stack exec ghcide` and make sure `ghcide` is installed within the container. Full details at [issue 221](https://github.com/haskell/ghcide/issues/221).
136136

137137
## stty error on Windows + Stack
138138

exe/Main.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ main = do
126126
hSetEncoding stderr utf8
127127

128128
putStrLn $ "Ghcide setup tester in " ++ dir ++ "."
129-
putStrLn "Report bugs at https://github.com/digital-asset/ghcide/issues"
129+
putStrLn "Report bugs at https://github.com/haskell/ghcide/issues"
130130

131131
putStrLn $ "\nStep 1/4: Finding files to test in " ++ dir
132132
files <- expandFiles (argFiles ++ ["." | null argFiles])

session-loader/Development/IDE/Session.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ loadSessionWithOptions SessionLoadingOptions{..} dir = do
123123
res <- findCradle v
124124
-- Sometimes we get C:, sometimes we get c:, and sometimes we get a relative path
125125
-- try and normalise that
126-
-- e.g. see https://github.com/digital-asset/ghcide/issues/126
126+
-- e.g. see https://github.com/haskell/ghcide/issues/126
127127
res' <- traverse makeAbsolute res
128128
return $ normalise <$> res'
129129

session-loader/Development/IDE/Session/VersionCheck.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
-- | This module exists to circumvent a compile time exception on Windows with
44
-- Stack and GHC 8.10.1. It's just been pulled out from Development.IDE.Session.
5-
-- See https://github.com/digital-asset/ghcide/pull/697
5+
-- See https://github.com/haskell/ghcide/pull/697
66
module Development.IDE.Session.VersionCheck (ghcVersionChecker) where
77

88
import Data.Maybe

src/Development/IDE/Core/FileExists.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fileExistsRules :: ClientCapabilities -> VFSHandle -> Rules ()
151151
fileExistsRules ClientCapabilities{_workspace} vfs = do
152152
-- Create the global always, although it should only be used if we have fast rules.
153153
-- But there's a chance someone will send unexpected notifications anyway,
154-
-- e.g. https://github.com/digital-asset/ghcide/issues/599
154+
-- e.g. https://github.com/haskell/ghcide/issues/599
155155
addIdeGlobal . FileExistsMapVar =<< liftIO (newVar [])
156156

157157
extras <- getShakeExtrasRules

src/Development/IDE/Core/Rules.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ priorityFilesOfInterest = Priority (-2)
260260
-- We currently parse the module both with and without Opt_Haddock, and
261261
-- return the one with Haddocks if it -- succeeds. However, this may not work
262262
-- for hlint, and we might need to save the one without haddocks too.
263-
-- See https://github.com/digital-asset/ghcide/pull/350#discussion_r370878197
263+
-- See https://github.com/haskell/ghcide/pull/350#discussion_r370878197
264264
-- and https://github.com/mpickering/ghcide/pull/22#issuecomment-625070490
265265
getParsedModuleRule :: Rules ()
266266
getParsedModuleRule = defineEarlyCutoff $ \GetParsedModule file -> do
@@ -651,7 +651,7 @@ loadGhcSession = do
651651
let cutoffHash =
652652
case optShakeFiles opts of
653653
-- optShakeFiles is only set in the DAML case.
654-
-- https://github.com/digital-asset/ghcide/pull/522#discussion_r428622915
654+
-- https://github.com/haskell/ghcide/pull/522#discussion_r428622915
655655
Just {} -> ""
656656
-- Hash the HscEnvEq returned so cutoff if it didn't change
657657
-- from last time

src/Development/IDE/Core/Shake.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ shakeRestart IdeState{..} acts =
541541
)
542542
-- It is crucial to be masked here, otherwise we can get killed
543543
-- between spawning the new thread and updating shakeSession.
544-
-- See https://github.com/digital-asset/ghcide/issues/79
544+
-- See https://github.com/haskell/ghcide/issues/79
545545
(\() -> do
546546
(,()) <$> newSession shakeExtras shakeDb acts)
547547

src/Development/IDE/Plugin/CodeAction.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ ghcExtensions :: Map.HashMap T.Text Extension
549549
ghcExtensions = Map.fromList . filter notStrictFlag . map ( ( T.pack . flagSpecName ) &&& flagSpecFlag ) $ xFlags
550550
where
551551
-- Strict often causes false positives, as in Data.Map.Strict imports.
552-
-- See discussion at https://github.com/digital-asset/ghcide/pull/638
552+
-- See discussion at https://github.com/haskell/ghcide/pull/638
553553
notStrictFlag (name, _) = name /= "Strict"
554554

555555
suggestModuleTypo :: Diagnostic -> [(T.Text, [TextEdit])]

src/Development/IDE/Spans/Documentation.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ getDocumentationsTryGhc env mod sources names = do
8787
unwrap _ n = mkSpanDocText n
8888

8989
mkSpanDocText name =
90-
pure (SpanDocText (getDocumentation sources name)) <*> getUris name
90+
SpanDocText (getDocumentation sources name) <$> getUris name
9191

9292
-- Get the uris to the documentation and source html pages if they exist
9393
getUris name = do

test/exe/Main.hs

+4-4
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ safeTests :: TestTree
25722572
safeTests =
25732573
testGroup
25742574
"SafeHaskell"
2575-
[ -- Test for https://github.com/digital-asset/ghcide/issues/424
2575+
[ -- Test for https://github.com/haskell/ghcide/issues/424
25762576
testSessionWait "load" $ do
25772577
let sourceA =
25782578
T.unlines
@@ -2601,7 +2601,7 @@ thTests :: TestTree
26012601
thTests =
26022602
testGroup
26032603
"TemplateHaskell"
2604-
[ -- Test for https://github.com/digital-asset/ghcide/pull/212
2604+
[ -- Test for https://github.com/haskell/ghcide/pull/212
26052605
testSessionWait "load" $ do
26062606
let sourceA =
26072607
T.unlines
@@ -2647,7 +2647,7 @@ thTests =
26472647
_ <- createDoc "B.hs" "haskell" sourceB
26482648
return ()
26492649
, thReloadingTest
2650-
-- Regression test for https://github.com/digital-asset/ghcide/issues/614
2650+
-- Regression test for https://github.com/haskell/ghcide/issues/614
26512651
, thLinkingTest
26522652
, testSessionWait "findsTHIdentifiers" $ do
26532653
let sourceA =
@@ -3454,7 +3454,7 @@ simpleMultiTest2 = testCase "simple-multi-test2" $ runWithExtraFiles "multi" $ \
34543454

34553455
ifaceTests :: TestTree
34563456
ifaceTests = testGroup "Interface loading tests"
3457-
[ -- https://github.com/digital-asset/ghcide/pull/645/
3457+
[ -- https://github.com/haskell/ghcide/pull/645/
34583458
ifaceErrorTest
34593459
, ifaceErrorTest2
34603460
, ifaceErrorTest3

0 commit comments

Comments
 (0)