Commit Graph

40 Commits

Author SHA1 Message Date
JP Simard 660ea7c9b6 Remove Danger's 'Rules.md' check
since that's now covered by a unit test.
2017-09-09 15:16:06 -07:00
Marcelo Fabri b635d1ffa8 Escape HTML tags in oss-check 2017-08-27 18:15:17 -03:00
JP Simard 11b3765956 Remove debugging 'puts'
now that the issue it was trying to debug has been addressed.
2017-08-21 13:59:26 -07:00
JP Simard 53db881f81 Silence git warning in Danger
Fixes #1784.
2017-08-21 13:49:48 -07:00
JP Simard 0e1a636809 Fix typo in Dangerfile comment 2017-08-21 13:22:49 -07:00
Marcelo Fabri 491693fb4f Add Danger check against merge commits
Fix #1766
2017-08-14 11:39:46 +02:00
JP Simard a81b15feed print oss-check output to logs when running Danger
to debug https://github.com/danger/danger/issues/873
2017-08-07 12:52:07 -07:00
JP Simard 6a2e7ef0a3 refactor Dangerfile
no functional changes
2017-08-02 11:21:40 -07:00
JP Simard 8249062e3a run OSSCheck in verbose mode in Dangerfile 2017-07-13 13:32:45 -07:00
Marcelo Fabri 686279c1cf Fix Danger check for updated rules documentation 2017-07-13 02:42:29 +02:00
Marcelo Fabri 704352d71c Add danger check 2017-07-03 00:38:02 +02:00
JP Simard f23bdc00e0 warn not fail in Danger when changelog entry missing 2017-06-01 17:01:34 -07:00
JP Simard 14407ec3b9 don't report 'RSA host key' warning to Danger
as seen in https://github.com/realm/SwiftLint/pull/1556
2017-05-23 10:54:42 -07:00
JP Simard a09e98790f run danger when Gemfile or build-related files are updated 2017-05-19 09:50:13 -07:00
Marcelo Fabri b7cad580a1 Fix deadlock when stderr fills up OS buffer
See https://medium.com/zendesk-engineering/running-a-child-process-in-ruby-properly-febd0a2b6ec8#.p5a2j1d9l
2017-02-03 12:27:00 -08:00
JP Simard da7712b2b1 small Danger/oss-check improvements 2017-02-03 12:14:10 -08:00
Marcelo Fabri d692a783f3 Run script with a clean env 2017-02-02 22:21:22 -02:00
Marcelo Fabri 5ce8ed7cd0 Use stderr 2017-02-02 22:21:22 -02:00
Marcelo Fabri f5370c7b36 Make Danger use the script 2017-02-02 22:21:22 -02:00
Marcelo Fabri 35209910b7 Make lint duration respect repos order 2017-01-22 19:26:21 -02:00
Marcelo Fabri fd27ef8b4a Add more projects to OSS Check 2017-01-22 16:07:00 -02:00
JP Simard 4689e8891c add Swift stdlib to OSSCheck 2017-01-10 16:44:35 -08:00
JP Simard 5702ef336a disable caching, handle errors & retry if can't build for OSSCheck
fail the build if it couldn't be built even after retrying
2017-01-10 16:29:07 -08:00
JP Simard 4a9806f4c7 disable caching when running OSSCheck 2017-01-10 15:21:42 -08:00
JP Simard 27563e7963 build SwiftLint in release mode when running benchmarks
this should give us a better idea of the true performance impact
2017-01-10 12:46:27 -08:00
JP Simard 807e889b0f report lint durations in Danger when running osscheck 2017-01-06 23:02:45 -08:00
JP Simard b77343cece improve log output when running osscheck 2017-01-06 23:02:28 -08:00
JP Simard 3613cf8edd add Alamofire to osscheck 2017-01-06 23:02:18 -08:00
JP Simard 4287369914 fix a ruby style issue 2017-01-06 23:02:17 -08:00
JP Simard e5f1f32581 Danger: don't update submodules when switching branches
since `swift build` will clone them automatically if necessary.
2017-01-06 23:02:17 -08:00
JP Simard 8c985971f7 run Danger on Circle CI instead of Travis 2017-01-06 23:02:17 -08:00
JP Simard 71fae7b394 Merge pull request #1094 from realm/jp-danger-improvements
Danger improvements
2016-12-30 19:04:58 -08:00
JP Simard 68d37b834c add period after pr_title in Danger comment about changelog entries
since most PRs don't have a period at the end
2016-12-30 18:41:52 -08:00
JP Simard 2a64f0377b link to GitHub when reporting violations in Danger 2016-12-30 12:08:58 -08:00
JP Simard 29aa8e4f65 make function to extract non-empty lines 2016-12-30 12:08:09 -08:00
JP Simard 5e1686042a add more sectional comments to osscheck code 2016-12-30 12:06:49 -08:00
JP Simard ec15a6706f add Moya and Aerial to osscheck 2016-12-30 12:06:10 -08:00
JP Simard d4b4b007b9 perform OSSCheck in Dangerfile 2016-12-24 15:11:16 -08:00
Marcelo Fabri 986dcb8457 PR feedback 2016-12-24 20:22:38 -02:00
Marcelo Fabri 00c5ba0e39 Initial Danger integration
Fixes #843
2016-12-24 20:03:51 -02:00