summaryrefslogtreecommitdiff
path: root/HutchTests/RepositorySettingsViewModelTests.swift
Commit message (Collapse)AuthorAgeFilesLines
* Adopt Swift 6 language modeChristian Cleberg30 hours1-0/+1
| | | | | | | | | | | | | | | | | | | | Flip SWIFT_VERSION to 6.0 (keeping SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor) and resolve every resulting diagnostic. Mechanical, no behaviour change: - Models: pure value types in Models/ and utility extensions (Date, DateFormatter, SRHTWebURL) marked nonisolated so the nonisolated networking layer can use them. - App Intents: stored 'static var' (title/description/openAppWhenRun/ typeDisplayRepresentation/defaultQuery/caseDisplayRepresentations) -> 'static let'; drop the invalid @retroactive on the in-module LookupType: AppEnum. - Sendable dicts: 'nil as String? as Any' -> 'nil as String? as any Sendable'. - UserDefaults: retroactive @unchecked Sendable (documented thread-safe). - WidgetKit completion handlers rebound nonisolated(unsafe) to cross into Task {}; TipStoreViewModel task handle is @ObservationIgnored nonisolated(unsafe) for its nonisolated deinit. - Tests run on @MainActor; a few constant fixtures marked nonisolated for use in @Sendable stub closures. Builds and the full suite are clean in Swift 6 mode. Roadmap updated.
* fix: add mark all read actions and avoid resending unchanged repo metadataChristian Cleberg2026-04-201-0/+33
|
* fix: sonarqube code smell fixesv3.1.4Christian Cleberg2026-04-131-9/+11
|
* feat: add repo settings managementChristian Cleberg2026-04-121-0/+26
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/42 Implements: https://todo.sr.ht/~ccleberg/hutch/43 Implements: https://todo.sr.ht/~ccleberg/hutch/44
* feat: add repository acl managementChristian Cleberg2026-04-121-3/+3
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/39 Implements: https://todo.sr.ht/~ccleberg/hutch/40 Implements: https://todo.sr.ht/~ccleberg/hutch/41
* Fix stale tests for current Swift concurrency modelChristian Cleberg2026-04-111-3/+5
|
* fix git repository settings updates for empty reposChristian Cleberg2026-03-181-0/+104