changelogged-0.2.0: Changelog manager for Git projects.

Safe HaskellNone
LanguageHaskell2010

Changelogged.CheckLog.Common

Synopsis

Documentation

changelogIsUp :: WarningFormat -> Bool -> Text -> Text -> Mode -> Text -> FilePath -> IO Bool Source #

Check if commit/pr is present in changelog. Return '@True@' if present.

noMarkdown :: Text -> IO Bool Source #

Ignore commits which only affect '.md' files

prLink :: Text -> Text -> Text Source #

>>> prLink "https://github.com/GetShopTV/changelogged" "#13"
"https://github.com/GetShopTV/changelogged/pull/13"

commitLink :: Text -> Text -> Text Source #

>>> commitLink "https://github.com/GetShopTV/changelogged" "9e14840"
"https://github.com/GetShopTV/changelogged/commit/9e14840"

addMissing :: Text -> Text -> Mode -> Text -> FilePath -> IO () Source #

Add generated suggestion directly to changelog.

commitMessage :: Mode -> Text -> IO Text Source #

Get commit message for any entry in history.