By | fr33domlover |
At | 2015-12-19 |
Title | merge request announcements mention repo name |
Description |
Edit file NEWS.md 33188 → 33188
12 12 13 13 New UIs, features and enhancements:
14 14 15 15 * Send history-on-join as a notice
16 16 * Log web source errors into a file instead of stdout
+ 17 * Merge request announcements mention repo name
17 18 18 19 Bug fixes:
19 20 20 21 * (None)
21 22 22 23 Dependency changes:
23 24 24 25 * Add -
- 25 * Require irc-fun-bot >= 0.5.1
+ 26 * Require irc-fun-bot >= 0.5.1
+ 27 vcs-web-hook-parse >= 0.2
26 28 27 29 28 30 29 31 30 32 … … … … Edit file funbot.cabal 33188 → 33188
91 91 , time-interval
92 92 , time-units
93 93 , transformers
94 94 , unordered-containers >=0.2.5
95 95 , utf8-string >=1
- 96 , vcs-web-hook-parse
+ 96 , vcs-web-hook-parse >=0.2
97 97 hs-source-dirs: src
98 98 default-language: Haskell2010
… … … … Edit file src/FunBot/ExtHandlers.hs 33188 → 33188
68 68 encode $
69 69 Green #> Pure author <> " " <>
70 70 Purple #> Pure repo <> " " <>
71 71 Teal #> Pure ref
72 72 - 73 formatMR (MergeRequest author iid _repo _owner title url action) =
+ 73 formatMR (MergeRequest author iid repo _owner title url action) =
74 74 encode $
75 75 Green #> Pure author <> " " <>
76 76 Maroon #> Pure action <> " " <>
- 77 Purple #> Pure ('#' : show iid) <> " | " <>
+ 77 Orange #> Pure ('#' : show iid) <> " " <>
+ 78 Purple #> Pure repo <> " | " <>
78 79 Teal #> Pure title <> " " <>
79 80 Gray #> Pure url
80 81 81 82 formatNews item fields =
82 83 let -- Filtered fields
… … … …