Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Development] Mirror system #61

Closed
sTiKyt opened this issue Aug 31, 2021 · 5 comments
Closed

[Development] Mirror system #61

sTiKyt opened this issue Aug 31, 2021 · 5 comments
Assignees
Labels
critical Issue has critical influence and should be worked on immediately enhancement New feature or request

Comments

@sTiKyt
Copy link
Contributor

sTiKyt commented Aug 31, 2021

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:

    1. Fetch mirrorlists
    2. Parse them for links
    3. Fetch template TXTs
    4. Parse them for links
    5. Download latest version of template
    6. Verify it with hash
    7. If valid - move from temporary folder to main templates storage
    8. 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 sTiKyt added enhancement New feature or request critical Issue has critical influence and should be worked on immediately labels Aug 31, 2021
@sTiKyt sTiKyt self-assigned this Aug 31, 2021
@D4rkS3c-Group D4rkS3c-Group deleted a comment from github-actions bot Aug 31, 2021
@Skjnior
Copy link

Skjnior commented Sep 14, 2021

@sTiKyt Hum

@im2gm
Copy link

im2gm commented Sep 17, 2021

Can we chat privately on telegram

@medsdeb
Copy link

medsdeb commented Sep 17, 2021 via email

@sTiKyt
Copy link
Contributor Author

sTiKyt commented Sep 17, 2021

I'm closing all comments due to offtopic

@sTiKyt sTiKyt closed this as completed Sep 17, 2021
@sTiKyt sTiKyt reopened this Sep 17, 2021
@D4rkS3c-Group D4rkS3c-Group locked as off-topic and limited conversation to collaborators Sep 17, 2021
@sTiKyt
Copy link
Contributor Author

sTiKyt commented May 25, 2024

Reiterated upon this concept, closing the issue accordingly.

@sTiKyt sTiKyt closed this as completed May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Issue has critical influence and should be worked on immediately enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants