Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SourceKitten to 0.26.0 #2894

Merged
merged 2 commits into from
Oct 8, 2019
Merged

Update SourceKitten to 0.26.0 #2894

merged 2 commits into from
Oct 8, 2019

Conversation

marcelofabri
Copy link
Collaborator

Fixes #2874?

Also should fix the CI failures on the pod lib lint.

@SwiftLintBot
Copy link

SwiftLintBot commented Oct 8, 2019

8 Warnings
⚠️ Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
⚠️ This PR may need tests.
⚠️ This PR introduced a violation in Swift: /Users/vsts/agent/2.158.0/work/1/s/osscheck/Swift/stdlib/public/core/SIMDVector.swift:54:10: warning: Attributes Violation: Attributes should be on their own lines in functions and types, but on the same line as variables and imports. (attributes)
⚠️ This PR introduced a violation in Swift: /Users/vsts/agent/2.158.0/work/1/s/osscheck/Swift/stdlib/public/core/SIMDVector.swift:490:10: warning: Attributes Violation: Attributes should be on their own lines in functions and types, but on the same line as variables and imports. (attributes)
⚠️ This PR introduced a violation in Swift: /Users/vsts/agent/2.158.0/work/1/s/osscheck/Swift/stdlib/public/core/SIMDVector.swift:548:10: warning: Attributes Violation: Attributes should be on their own lines in functions and types, but on the same line as variables and imports. (attributes)
⚠️ This PR introduced a violation in Swift: /Users/vsts/agent/2.158.0/work/1/s/osscheck/Swift/stdlib/public/core/Substring.swift:127:10: warning: Attributes Violation: Attributes should be on their own lines in functions and types, but on the same line as variables and imports. (attributes)
⚠️ This PR introduced a violation in Swift: /Users/vsts/agent/2.158.0/work/1/s/osscheck/Swift/stdlib/public/core/StringProtocol.swift:186:10: warning: Attributes Violation: Attributes should be on their own lines in functions and types, but on the same line as variables and imports. (attributes)
⚠️ This PR introduced a violation in Swift: /Users/vsts/agent/2.158.0/work/1/s/osscheck/Swift/stdlib/public/core/StringProtocol.swift:231:10: warning: Attributes Violation: Attributes should be on their own lines in functions and types, but on the same line as variables and imports. (attributes)
12 Messages
📖 Linting Aerial with this PR took 4.32s vs 3.04s on master (42% slower)
📖 Linting Alamofire with this PR took 8.25s vs 6.0s on master (37% slower)
📖 Linting Firefox with this PR took 20.2s vs 15.06s on master (34% slower)
📖 Linting Kickstarter with this PR took 39.61s vs 33.76s on master (17% slower)
📖 Linting Moya with this PR took 4.08s vs 2.76s on master (47% slower)
📖 Linting Nimble with this PR took 3.76s vs 2.32s on master (62% slower)
📖 Linting Quick with this PR took 1.52s vs 0.84s on master (80% slower)
📖 Linting Realm with this PR took 7.43s vs 4.56s on master (62% slower)
📖 Linting SourceKitten with this PR took 2.88s vs 1.64s on master (75% slower)
📖 Linting Sourcery with this PR took 7.51s vs 4.9s on master (53% slower)
📖 Linting Swift with this PR took 49.98s vs 37.6s on master (32% slower)
📖 Linting WordPress with this PR took 44.29s vs 42.07s on master (5% slower)

Here's an example of your CHANGELOG entry:

* Update SourceKitten to 0.26.0.  
  [marcelofabri](https://github.com/marcelofabri)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 Danger

@marcelofabri marcelofabri merged commit 2dcaf3e into master Oct 8, 2019
@marcelofabri marcelofabri deleted the mf-update-sourcekitten branch October 8, 2019 16:50
@@ -195,15 +195,15 @@ def build(branch)
perform("git fetch && git worktree add --detach #{dir} #{target}")
end

Dir.chdir(dir) do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this moved? This will slow down OSSCheck by preventing incremental builds.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was getting build failures all the time IIRC

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately CI has deleted the build, but you can see that OSSCheck had failed before 956ea6f: https://github.com/realm/SwiftLint/runs/251739677

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't compile on Linux with Swift 5.1
3 participants