You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file. Changes not
20
20
21
21
## Added
22
22
- A new `CHANGELOG.md` to keep track of changes in the project. ([#385](https://github.com/httpswift/swifter/pull/385)) by [@Vkt0r](https://github.com/Vkt0r)
23
+
- Added [Danger](https://danger.systems/ruby/) and Swiftlint to the project. ([#398](https://github.com/httpswift/swifter/pull/398)) by [@Vkt0r](https://github.com/Vkt0r)
23
24
24
25
## Fixed
25
26
- An issue in the `HttpRouter` causing issues to handle routes with overlapping in the tail. ([#379](https://github.com/httpswift/swifter/pull/359), [#382](https://github.com/httpswift/swifter/pull/382)) by [@Vkt0r](https://github.com/Vkt0r)
warn("PR is classed as Work in Progress.")ifgithub.pr_title.include?"[WIP]"
6
+
7
+
# Warn when there is a big PR
8
+
warn("Big PR")ifgit.lines_of_code > 500
9
+
10
+
# ensure there is a summary for a PR
11
+
fail"Please provide a summary in the Pull Request description."ifgithub.pr_body.length < 5
12
+
13
+
# Changelog entries are required for changes to library files.
14
+
fail("Please include a CHANGELOG entry. You can find it at [CHANGELOG.md](https://github.com/httpswift/swifter/blob/stable/CHANGELOG.md).")unlessgit.modified_files.include?("CHANGELOG.md") || git.added_files.include?("CHANGELOG.md")
15
+
16
+
# Don't accept PR on master for now
17
+
fail"Please re-submit this PR to stable, you're trying to merge the PR on master."ifgithub.branch_for_base == "master"
18
+
19
+
# If these are all empty something has gone wrong, better to raise it in a comment
warn("It seems like you've added new tests to the library. If that's the case, please update the [XCTestManifests.swift](https://github.com/httpswift/swifter/blob/stable/XCode/Tests/XCTestManifests.swift) file running in your terminal the command `swift test --generate-linuxmain`.")
33
+
34
+
# This is a temporary warning to remove the entry for the failed test until we solve the issue in Linux
35
+
warn("If you ran the command `swift test --generate-linuxmain` in your terminal, please remove the line `testCase(IOSafetyTests.__allTests__IOSafetyTests),` from `public func __allTests() -> [XCTestCaseEntry]` in the bottom of the file. For more reference see [#366](https://github.com/httpswift/swifter/issues/366).")
0 commit comments