diff options
author | Takenobu Tani <takenobu.hs@gmail.com> | 2019-03-21 16:06:39 +0900 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-25 14:02:29 -0400 |
commit | 3769e3a829f4514f82ce7f7d218867f1d69d3d38 (patch) | |
tree | fdb7a6352c32368f1d80e370c46fe4159507ec4f /compiler/main | |
parent | 8e07368faf5090a5ac803f0e4fa3a5a2a4aba05c (diff) | |
download | haskell-3769e3a829f4514f82ce7f7d218867f1d69d3d38.tar.gz |
Update Wiki URLs to point to GitLab
This moves all URL references to Trac Wiki to their corresponding
GitLab counterparts.
This substitution is classified as follows:
1. Automated substitution using sed with Ben's mapping rule [1]
Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...
New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...
2. Manual substitution for URLs containing `#` index
Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz
New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz
3. Manual substitution for strings starting with `Commentary`
Old: Commentary/XxxYyy...
New: commentary/xxx-yyy...
See also !539
[1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
Diffstat (limited to 'compiler/main')
-rw-r--r-- | compiler/main/DynFlags.hs | 4 | ||||
-rw-r--r-- | compiler/main/HscTypes.hs | 2 | ||||
-rw-r--r-- | compiler/main/Plugins.hs | 2 | ||||
-rw-r--r-- | compiler/main/TidyPgm.hs | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index fdc83fa94e..0783189aaf 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -322,7 +322,7 @@ import Foreign (Ptr) -- needed for 2nd stage -- * Adding the flag to the GHC Wiki -- -- There is a change log tracking language extension additions and removals --- on the GHC wiki: https://ghc.haskell.org/trac/ghc/wiki/LanguagePragmaHistory +-- on the GHC wiki: https://gitlab.haskell.org/ghc/ghc/wikis/language-pragma-history -- -- See #4437 and #8176. @@ -5549,7 +5549,7 @@ picCCOpts dflags = pieOpts ++ picOpts -- otherwise things like stub.c files don't get compiled -- correctly. They need to reference data in the Haskell -- objects, but can't without -fPIC. See - -- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode + -- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/position-independent-code | gopt Opt_PIC dflags || WayDyn `elem` ways dflags -> ["-fPIC", "-U__PIC__", "-D__PIC__"] -- gcc may be configured to have PIC on by default, let's be diff --git a/compiler/main/HscTypes.hs b/compiler/main/HscTypes.hs index add0ee95d2..6772668420 100644 --- a/compiler/main/HscTypes.hs +++ b/compiler/main/HscTypes.hs @@ -2404,7 +2404,7 @@ noDependencies :: Dependencies noDependencies = Deps [] [] [] [] [] -- | Records modules for which changes may force recompilation of this module --- See wiki: http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +-- See wiki: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance -- -- This differs from Dependencies. A module X may be in the dep_mods of this -- module (via an import chain) but if we don't use anything from X it won't diff --git a/compiler/main/Plugins.hs b/compiler/main/Plugins.hs index 585eab1e45..93297522db 100644 --- a/compiler/main/Plugins.hs +++ b/compiler/main/Plugins.hs @@ -120,7 +120,7 @@ data Plugin = Plugin { -- is supported by most build environment. -- -- For the full discussion, check the full proposal at: --- https://ghc.haskell.org/trac/ghc/wiki/ExtendedPluginsProposal +-- https://gitlab.haskell.org/ghc/ghc/wikis/extended-plugins-proposal data PluginWithArgs = PluginWithArgs { paPlugin :: Plugin diff --git a/compiler/main/TidyPgm.hs b/compiler/main/TidyPgm.hs index 6e84530193..ba9cd79e3d 100644 --- a/compiler/main/TidyPgm.hs +++ b/compiler/main/TidyPgm.hs @@ -234,8 +234,8 @@ Plan B: include pragmas, make interfaces Note [Choosing external Ids] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See also the section "Interface stability" in the -RecompilationAvoidance commentary: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +recompilation-avoidance commentary: + https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance First we figure out which Ids are "external" Ids. An "external" Id is one that is visible from outside the compilation |