Commit Graph

126 Commits

Author SHA1 Message Date
Danny Mösch 6de2cc9587 Use SwiftSyntax 6.4 pre-release 2026-01-20 (#6447) 2026-01-21 00:00:37 +01:00
Danny Mösch b7f706391f Update dependencies (#6384) 2025-12-17 21:49:29 +01:00
Danny Mösch 2d0725aca9 Use SwiftSyntax 6.4 pre-release 2025-12-15 (#6383) 2025-12-16 11:41:47 +01:00
Danny Mösch ac701c088c Improve performance of excluded files filter (#6342)
The current algorithm is like "collect all included files and subtract all excluded files".
Collecting all included and all excluded files relies on the file system. This can become slow
when the patterns used to exclude files resolve to a large number of files.

The new approach only collects all lintable files and checks them against the exclude patterns.
This can be done by in-memory string-regex-match and does therefore not require file system accesses.
The new implementation also no longer traverses directories that already match an exclude pattern.

(cherry picked from commit 152355e36f)
2025-12-07 15:58:23 +01:00
Danny Mösch ede316d453 Use SwiftSyntax 6.3 pre-release 2025-10-30 (#6330) 2025-11-01 13:34:08 +01:00
dependabot[bot] d2a869f142 Bump github.com/apple/swift-argument-parser from 1.6.1 to 1.6.2 (#6295)
Bumps [github.com/apple/swift-argument-parser](https://github.com/apple/swift-argument-parser) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/apple/swift-argument-parser/releases)
- [Commits](https://github.com/apple/swift-argument-parser/compare/1.6.1...1.6.2)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-argument-parser
  dependency-version: 1.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 23:20:33 +02:00
dependabot[bot] 967adaf05c Bump github.com/jpsim/yams from 6.1.0 to 6.2.0 (#6294)
Bumps [github.com/jpsim/yams](https://github.com/jpsim/Yams) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/jpsim/Yams/releases)
- [Commits](https://github.com/jpsim/Yams/compare/6.1.0...6.2.0)

---
updated-dependencies:
- dependency-name: github.com/jpsim/yams
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 14:03:04 -04:00
Danny Mösch 7348cf0f4a Use SwiftSyntax 6.3 pre-release 2025-09-15 (#6206) 2025-09-29 14:59:47 +02:00
Danny Mösch 81e99e973f Use SwiftSyntax 6.2 pre-release 2025-08-11 (#6185) 2025-08-24 14:16:01 +02:00
dependabot[bot] 6cea88fec9 Bump github.com/jpsim/yams from 6.0.2 to 6.1.0 (#6186)
Bumps [github.com/jpsim/yams](https://github.com/jpsim/Yams) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/jpsim/Yams/releases)
- [Commits](https://github.com/jpsim/Yams/compare/6.0.2...6.1.0)

---
updated-dependencies:
- dependency-name: github.com/jpsim/yams
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 22:09:17 +03:00
Danny Mösch 8229f45de4 Update dependencies (#6162) 2025-07-11 23:40:08 +02:00
Danny Mösch 66930722ad Update dependencies and harmonize Bazel build modes (#6097) 2025-06-17 10:22:49 +02:00
Scott Hoyt 348800b007 Update SwiftSyntax to 601.0.1 (#6093) 2025-06-15 13:39:39 -04:00
Danny Mösch 2578cb3862 Use SwiftSyntax version 601.0.0 (#6003) 2025-04-03 21:27:57 +02:00
Danny Mösch 9710148f76 Replace Sourcery with internal implementation (#6034)
Tasks we perform with Sourcery are rather simple and can be replaced
with a basic collection of files and the generation of lists in the
new `swiftlint-dev` command. This spares contributors from installing
either Sourcery or Bazel.
2025-03-26 20:38:53 +00:00
Danny Mösch 4cab6e7948 Update dependencies (#6004)
* Yams 5.3.0
* SourceKitten 0.37.0
2025-02-22 16:24:42 -05:00
Danny Mösch fcdc98a52d Revert "Improve performance of excluded files filter" (#5962)
This reverts commit 152355e36f from #5157.

# Conflicts:
#	tools/oss-check
2025-01-15 19:15:44 +01:00
Danny Mösch 152355e36f Improve performance of excluded files filter (#5157)
The current algorithm is like "collect all included files and subtract all excluded files".
Collecting all included and all excluded files relies on the file system. This can become slow
when the patterns used to exclude files resolve to a large number of files.

The new approach only collects all lintable files and checks them against the exclude patterns.
This can be done by in-memory string-regex-match and does therefore not require file system accesses.
2024-12-25 17:33:33 -05:00
Danny Mösch 4189010afb Update CryptoSwift with support for Musl C library (#5911) 2024-12-23 15:51:16 +00:00
minhaaan a826d177c5 Use SwiftSyntax version 600.0.0 (#5795) 2024-09-15 21:14:06 +02:00
Luis Padron a0a69a6309 Update Bazel bzlmod dependencies for rules_swift 2.x support (#5736)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2024-08-18 17:21:34 -04:00
Danny Mösch b2214728b1 Update SPM dependencies (#5703) 2024-07-25 20:22:57 +00:00
Danny Mösch cce9febcb7 Use SwiftSyntax version 600.0.0-prerelease-2024-07-24 (#5701) 2024-07-25 15:13:17 -04:00
Danny Mösch 1faaf10838 Adapt SwiftSyntax repository URL (#5678) 2024-07-17 20:11:52 +00:00
Danny Mösch 914fa02e4e Use SwiftSyntax version 600.0.0-prerelease-2024-03-11 (#5527)
We can also switch back to an exact SwiftSyntax version now with the
plugins in a separate repository. In fact, using the plugin, no direct
dependency to SwiftSyntax is required whatsoever.
2024-06-22 11:14:14 +02:00
Danny Mösch 0a2878d559 Update Bazel and SPM dependencies (#5563)
SourceKitten 0.35.0
Swift Argument Parser 1.3.1
SwiftSyntax 510.0.2
2024-05-09 10:21:53 +02:00
iulianOnofrei (U-lee-aan) 6834393712 Use Swift Argument Parser from version 1.2.1 (#5562) 2024-05-08 22:34:17 +02:00
Danny Mösch 5bfe329d09 Update SwiftSyntax to version 510.0.0 (#5479) 2024-03-09 15:46:45 -05:00
Danny Mösch 8bb4c6a76c Update SwiftSyntax to version 509.1.1 (#5458) 2024-02-06 23:24:50 +01:00
Takuhiro Muta 17b5880550 Update CryptoSwift to 1.8.0 (#5341) 2023-11-10 16:42:34 +00:00
JP Simard bda090b9c0 Update SwiftPM dependencies (#5322) 2023-11-01 15:35:13 +00:00
Danny Mösch add15d00c2 Update SwiftSyntax to release aligned with Swift 5.9 (#5221) 2023-09-15 00:23:47 +02:00
Danny Mösch 35a78815d1 Update SwiftSyntax (#5198) 2023-09-14 22:49:55 +02:00
Danny Mösch b281a8d33a Update SwiftSyntax (#5168) 2023-08-30 22:57:10 +02:00
Danny Mösch 9873330eee Update SwiftSyntax (#5124) 2023-07-15 21:52:24 +02:00
JP Simard 4c8985b839 Update dependencies (#5105)
* Yams: 5.0.5 -> 5.0.6
* rules_apple: 2.3.0 -> 2.4.0
* rules_xcodeproj: 1.7.0 -> 1.7.1
* Bazel: 6.2.0 -> 6.2.1
2023-07-06 14:21:40 -04:00
JP Simard a8893431f5 Update SwiftSyntax (#5104)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-17-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-07-04-a
2023-07-06 13:33:37 -04:00
JP Simard f1c6c72add Update SwiftSyntax (#5071)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-17-a
2023-06-20 19:55:15 -04:00
JP Simard d32bf2b879 Update CryptoSwift (#5059)
Diff: https://github.com/krzyzanowskim/CryptoSwift/compare/1.7.1...1.7.2
2023-06-12 19:23:33 +00:00
JP Simard e5cf99088b Update SwiftSyntax to 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a (#5058)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-05-02-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a
2023-06-12 15:22:17 -04:00
JP Simard eb6d50a04c Update SwiftSyntax to 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b (#4982) 2023-05-10 15:02:58 -04:00
JP Simard 6b094dd711 [SwiftSyntax] Update to latest 509.0.0 tag (#4920)
* [bazel] Remove custom SwiftSyntax BUILD file

Something similar to this has been merged upstream instead now. This
also renames the repo name to SwiftSyntax in preparation for it being in
the BCR

* [SwiftSyntax] Update to latest 509.0.0 tag

https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b
2023-05-03 11:34:26 -04:00
JP Simard 9c2525139a Update CryptoSwift to 1.7.1 (#4916)
To fix Swift 5.8 warnings
2023-04-21 14:15:44 +00:00
JP Simard f9b0e9f0af Update CryptoSwift to 1.7.0 (#4899) 2023-04-17 10:37:40 +00:00
Keith Smiley 3ef44cf742 Switch to SwiftPM conditional dependencies API (#4003)
This API allows us to mostly remove `#if` conditionals which enables
cross compilation from macOS -> Linux. It also removes the thrashing of
Package.resolved if you compile in a docker image.
2023-04-16 20:19:25 +02:00
JP Simard 70a56a1420 Update SwiftSyntax to 04-10 snapshot (#4887)
https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-10-a
2023-04-13 14:04:43 -04:00
Danny Mösch 58a07eb452 Update SwiftSyntax (#4852) 2023-03-31 23:12:31 +02:00
JP Simard 1790ad56dd Update SourceKitten & Yams (#4776) 2023-02-20 15:50:14 -05:00
JP Simard 2f0e537f9b Update SwiftSyntax to latest development snapshot (#4759)
* Merge `spacedBinaryOperator` and `unspacedBinaryOperator`

* New contextual keyword enums

* Update for removed `UnavailabilityConditionSyntax`

* Handle how attributes are now defined

This partially reverts commit 325d0ee1e4.

* Handle removal of `TokenListSyntax`

* Update `Package.swift`

* Extract some SwiftSyntax helpers

* Update to `0.50900.0-swift-DEVELOPMENT-SNAPSHOT-2023-02-06-a`

* Skip attributes with keypath arguments in `attributes` rule

To preserve the rule's existing behavior.

* Limit unowned_variable_capture violations to capture lists

* Add changelog entries
2023-02-20 10:51:31 -05:00
Jim Puls 60610cef84 Update Package.resolved (#4736) 2023-01-31 13:41:26 -05:00