HiddenEyeReborn
HiddenEyeReborn copied to clipboard
[Development] Mirror system
Templates won't be stored on git repository, to make sure we don't infringe copyright, what I'm proposing instead can be described in a couple of steps:
-
Upload templates as archives to 3rd party file storage
-
Add direct download links to text file for specific template, we can call it "template TXT"
-
Upload those template TXTs to 3rd party file storage
-
Add links to template TXTs to "mirrorlist" file with md5 and sha256 hashes included per archive of specific version, e. g. "Github Template 0.3"
-
Implement code to automatically:
- Fetch mirrorlists
- Parse them for links
- Fetch template TXTs
- Parse them for links
- Download latest version of template
- Verify it with hash
- If valid - move from temporary folder to main templates storage
- If invalid - delete and cleanup, throw an error and make sure to write it to debug logs
As per templates versioning, we can use creation date, e.g. "GitHub 23/08/2021"
@sTiKyt Hum
Can we chat privately on telegram
how
On Sep 18, 2021, at 03:10, im2gm @.***> wrote:
Can we chat privately on telegram
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
I'm closing all comments due to offtopic