Closed lberrymage closed 2 years ago
This is now implemented in https://github.com/accrescent/accrescent/commit/c317c287cde872d7f39817aac81f389ba6c3a47d. All that's left to do is the following:
I'm closing this issue with the argument that the repodata format has been "somewhat stabilized." It would still be good to have Accrescent's repodata verification and other inner workings reviewed before the public beta. However, the project is rapidly changing at the moment and it wouldn't make sense to have current processes/code undergo extensive review when they may change significantly in the near future as new needs are discovered and addressed.
The Problem
Accrescent needs repository metadata to find and download apps in the store. The current repodata format (as described by the data classes found here and the JSON files here and here) comes with strong cryptographic guarantees of app validity. However, it has a few significant limitations, namely:
New Format Goals
A new format is in order for the stable release. It should (ideally) accomplish the following:
Non-goals
This repodata format overhaul will not define an absolutely final format, so a few things are out-of-scope for this overhaul. To name a few:
New design (so far)
An informal proposal of the new format is being put together at https://hackmd.io/@lberrymage/accrescent-repodata. It will eventually be moved elsewhere.
Related: https://github.com/accrescent/accrescent/issues/9