GiteaPR: native iOS app to manage Gitea pull requests
Build iOS App / Build .ipa and publish source (push) Failing after 35s
Build iOS App / Build .ipa and publish source (push) Failing after 35s
Multi-repo PR inbox, review (approve/request changes/comment), merge with gating toggle, read-only diff viewer, and Gitea Actions check status with one-tap re-run. Ships unsigned via the iMac runner to the SideStore source.
This commit is contained in:
commit
1025634978
27 files changed
+2322
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import Foundation
|
||||
|
||||
/// One file changed by a PR, from `/repos/{owner}/{repo}/pulls/{index}/files`.
|
||||
struct ChangedFile: Codable, Identifiable, Hashable {
|
||||
let filename: String
|
||||
let status: String? // added | removed | modified | renamed
|
||||
let additions: Int
|
||||
let deletions: Int
|
||||
let patch: String? // unified diff hunks (only for small diffs)
|
||||
|
||||
var id: String { filename }
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case filename, status, additions, deletions, patch
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user