on master help sign in
Merge pull request #258 from bergmark/patch-3
a3c02ccMichael Snoyman
Stackage/Config.hs+2−3
@@ -484,10 +484,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
484 Just range' -> tell $ PackageMap $ Map.singleton (PackageName package) (range', Maintainer maintainer)
484 Just range' -> tell $ PackageMap $ Map.singleton (PackageName package) (range', Maintainer maintainer)
485
485
486-- | Replacement Github users. This is useful when a project is owned by an
486-- | Replacement Github users. This is useful when a project is owned by an
487−-- organization, and you'd like to ping either an individual or a team in that
487+-- organization. It also lets you ping multiple users.
488−-- organization. See:
489--
488--
490−-- https://github.com/fpco/stackage/issues/226#issuecomment-45644142
489+-- Note that cross organization team mentions aren't allowed by Github.
491convertGithubUser :: String -> [String]
490convertGithubUser :: String -> [String]
492convertGithubUser x =
491convertGithubUser x =
493 fromMaybe [x] $ Map.lookup (map toLower x) pairs
492 fromMaybe [x] $ Map.lookup (map toLower x) pairs