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

update ghc trac links to point to ghc gitlab #6940

Merged
merged 1 commit into from
Jul 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cabal/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ configure verbosity hcPath hcPkgPath conf0 = do

ghcInfo <- Internal.getGhcInfo verbosity implInfo ghcProg
let ghcInfoMap = Map.fromList ghcInfo
extensions = -- workaround https://ghc.haskell.org/ticket/11214
extensions = -- workaround https://gitlab.haskell.org/ghc/ghc/-/issues/11214
filterExt JavaScriptFFI $
-- see 'filterExtTH' comment below
filterExtTH $ extensions0
Expand Down Expand Up @@ -428,7 +428,7 @@ checkPackageDbStackPre76 verbosity rest
die' verbosity $
"With current ghc versions the global package db is always used "
++ "and must be listed first. This ghc limitation is lifted in GHC 7.6,"
++ "see http://ghc.haskell.org/trac/ghc/ticket/5977"
++ "see https://gitlab.haskell.org/ghc/ghc/-/issues/5977"
checkPackageDbStackPre76 verbosity _ =
die' verbosity $ "If the global package db is specified, it must be "
++ "specified first and cannot be specified multiple times"
Expand Down
2 changes: 1 addition & 1 deletion Cabal/Distribution/Simple/GHCJS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ checkPackageDbStack verbosity rest
| GlobalPackageDB `notElem` rest =
die' verbosity $ "With current ghc versions the global package db is always used "
++ "and must be listed first. This ghc limitation may be lifted in "
++ "future, see http://ghc.haskell.org/trac/ghc/ticket/5977"
++ "future, see https://gitlab.haskell.org/ghc/ghc/-/issues/5977"
checkPackageDbStack verbosity _ =
die' verbosity $ "If the global package db is specified, it must be "
++ "specified first and cannot be specified multiple times"
Expand Down
2 changes: 1 addition & 1 deletion Cabal/Distribution/Simple/Program/Builtin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ghcProgram :: Program
ghcProgram = (simpleProgram "ghc") {
programFindVersion = findProgramVersion "--numeric-version" id,

-- Workaround for https://ghc.haskell.org/trac/ghc/ticket/8825
-- Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/8825
-- (spurious warning on non-english locales)
programPostConf = \_verbosity ghcProg ->
do let ghcProg' = ghcProg {
Expand Down
2 changes: 1 addition & 1 deletion Cabal/Distribution/Simple/Program/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ packageDbArgsConf dbstack = case dbstack of
++ show dbstack

-- | GHC >= 7.6 uses the '-package-db' flag. See
-- https://ghc.haskell.org/trac/ghc/ticket/5977.
-- https://gitlab.haskell.org/ghc/ghc/-/issues/5977.
packageDbArgsDb :: PackageDBStack -> [String]
-- special cases to make arguments prettier in common scenarios
packageDbArgsDb dbstack = case dbstack of
Expand Down
2 changes: 1 addition & 1 deletion Cabal/Distribution/Types/CondTree.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ data CondBranch v c a = CondBranch

-- This instance is written by hand because GHC 8.0.1/8.0.2 infinite
-- loops when trying to derive it with optimizations. See
-- https://ghc.haskell.org/trac/ghc/ticket/13056
-- https://gitlab.haskell.org/ghc/ghc/-/issues/13056
instance Foldable (CondBranch v c) where
foldMap f (CondBranch _ c Nothing) = foldMap f c
foldMap f (CondBranch _ c (Just a)) = foldMap f c `mappend` foldMap f a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import qualified Distribution.Types.PackageId.Lens as L
-- 34886 KnownBranch
-- 8197 wild1_ixF0
--
-- https://ghc.haskell.org/trac/ghc/ticket/13253 might be the cause.
-- https://gitlab.haskell.org/ghc/ghc/-/issues/13253 might be the cause.
--
-- The workaround is to prevent GHC optimising the code:
infixl 4 <@>
Expand Down
2 changes: 1 addition & 1 deletion Cabal/doc/cabal-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ Advanced global configuration options
Since Cabal 3.0, defaults to ``never``. Before that, defaulted to
creating them only when compiling with GHC 8.4.4 and older (GHC
8.4.4 `is the first version
<https://ghc.haskell.org/trac/ghc/ticket/13753>`_ that supports
<https://gitlab.haskell.org/ghc/ghc/-/issues/13753>`_ that supports
the ``-package-env -`` option that allows ignoring the package
environment files).

Expand Down
4 changes: 2 additions & 2 deletions Cabal/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
extlinks = {
'issue': ('https://github.com/haskell/cabal/issues/%s', '#'),

'ghc-wiki': ('http://ghc.haskell.org/trac/ghc/wiki/%s', ''),
'ghc-ticket': ('http://ghc.haskell.org/trac/ghc/ticket/%s', 'GHC #'),
'ghc-wiki': ('https://gitlab.haskell.org/ghc/ghc/-/wikis/%s', ''),
'ghc-ticket': ('https://gitlab.haskell.org/ghc/ghc/-/issues/%s', 'GHC #'),

'hackage-pkg': ('http://hackage.haskell.org/package/%s', ''),
}
Expand Down
2 changes: 1 addition & 1 deletion Cabal/doc/hcar/Cabal-201611.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ \subsubsection*{Recent Progress}
\href{https://mail.haskell.org/pipermail/cabal-devel/2016-December/010384.html}{new
point releases} of Cabal/\texttt{cabal-install} from the 1.24
branch. Among other things, Cabal 1.24.2.0 includes a
\href{https://ghc.haskell.org/trac/ghc/ticket/12479}{fix} necessary to
\href{https://gitlab.haskell.org/ghc/ghc/-/issues/12479}{fix} necessary to
make soon-to-be-released GHC 8.0.2 work on macOS Sierra.

Almost 1500 commits were made to the \texttt{master} branch by
Expand Down
2 changes: 1 addition & 1 deletion Cabal/doc/references.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

.. _ABNF: https://tools.ietf.org/html/rfc5234

.. _Backpack: https://ghc.haskell.org/trac/ghc/wiki/Backpack
.. _Backpack: https://gitlab.haskell.org/ghc/ghc/-/wikis/backpack
2 changes: 1 addition & 1 deletion Cabal/tests/custom-setup/CabalDoctestSetup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ generateBuildModule testSuiteName flags pkg lbi = do
++ show dbstack

-- GHC >= 7.6 uses the '-package-db' flag. See
-- https://ghc.haskell.org/trac/ghc/ticket/5977.
-- https://gitlab.haskell.org/ghc/ghc/-/issues/5977
packageDbArgsDb :: [PackageDB] -> [String]
-- special cases to make arguments prettier in common scenarios
packageDbArgsDb dbstack = case dbstack of
Expand Down
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Solver/Types/Progress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data Progress step fail done = Step step (Progress step fail done)
| Done done

-- This Functor instance works around a bug in GHC 7.6.3.
-- See https://ghc.haskell.org/trac/ghc/ticket/7436#comment:6.
-- See https://gitlab.haskell.org/ghc/ghc/-/issues/7436#note_66637.
-- The derived functor instance caused a space leak in the solver.
instance Functor (Progress step fail) where
fmap f (Step s p) = Step s (fmap f p)
Expand Down