mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
[cleanup]: Added TODOs in the comments
This commit is contained in:
@@ -159,8 +159,8 @@ final class FetchSourceOperation: ResultOperation<Source>
|
||||
userInfo[NSDebugDescriptionErrorKey] = pathDescription
|
||||
}
|
||||
|
||||
// @mahee96: Need to account for invalid/missing json fields error
|
||||
// and show meaningful message to user instead of just showing decoder error
|
||||
// TODO: @mahee96: Need to account for invalid/missing json fields error
|
||||
// and show meaningful message to user instead of just showing decoder error
|
||||
throw NSError(domain: nsError.domain, code: nsError.code, userInfo: userInfo)
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import AltStoreCore
|
||||
|
||||
private extension URL
|
||||
{
|
||||
// @mahee96: update this to a non-branch specific (prod-ready) location like github.io repo similar to anisette servers URL list
|
||||
// TODO: @mahee96: update this to a non-branch specific (prod-ready) location like github.io repo similar to anisette servers URL list
|
||||
#if STAGING
|
||||
// static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/develop/trustedapps.json")!
|
||||
static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/rebase-2.0-wip/trustedapps.json")!
|
||||
|
||||
@@ -126,7 +126,7 @@ private extension VerifyAppOperation
|
||||
|
||||
if let buildVersion
|
||||
{
|
||||
// @mahee96: requires altsign-marketplace branch release or equivalent
|
||||
// TODO: @mahee96: requires altsign-marketplace branch release or equivalent
|
||||
// guard buildVersion == app.buildVersion else { throw VerificationError.mismatchedBuildVersion(app.buildVersion, expectedVersion: buildVersion, app: app) }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,6 +179,7 @@ private extension SourcesViewController
|
||||
|
||||
func makeDataSource() -> RSTFetchedResultsCollectionViewPrefetchingDataSource<Source, UIImage>
|
||||
{
|
||||
// TODO: @mahee96: Need implementation to keep SideStore-Official source always on top
|
||||
let fetchRequest = Source.fetchRequest() as NSFetchRequest<Source>
|
||||
fetchRequest.returnsObjectsAsFaults = false
|
||||
fetchRequest.sortDescriptors = [NSSortDescriptor(keyPath: \Source.name, ascending: true),
|
||||
|
||||
@@ -140,7 +140,7 @@ public extension InstalledApp
|
||||
|
||||
self.resignedBundleIdentifier = resignedApp.bundleIdentifier
|
||||
self.version = resignedApp.version
|
||||
// @mahee96: requires altsign-marketplace branch release or equivalent
|
||||
// TODO: @mahee96: requires altsign-marketplace branch release or equivalent
|
||||
// self.buildVersion = resignedApp.buildVersion
|
||||
self.storeBuildVersion = storeBuildVersion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user