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

refactor(scaffolding): Migrate app template to Github template repo #1368

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

provokateurin
Copy link
Member

As an alternative to downloading the zip on the fly the app_template repo could be added as a git submodule to pin a specific version to avoid unintended changes. This submodule would need to be updated at least once per server release which adds more work again (quite manageable though).

@provokateurin provokateurin requested a review from bigcat88 April 29, 2024 07:46
@bigcat88
Copy link
Member

Can we just redirect the user when clicking to start an automatic download via a redirect, will it be fine?

This will save us from adding caching of this, because in the current implementation, sending a download request and not caching the response will lead to a fairly simple opportunity to DDOS AppStore in some cases.

@provokateurin
Copy link
Member Author

You are right, the problem is that it's not simply downloading and returning the zip file, but it replaces the content in some files so the values the user submitted are applied.

@provokateurin provokateurin force-pushed the refactor/scaffolding/github-template-repo branch from 7f32b9f to c39e636 Compare April 29, 2024 13:37
@bigcat88 bigcat88 merged commit 37b7aea into master Apr 30, 2024
9 checks passed
@delete-merged-branch delete-merged-branch bot deleted the refactor/scaffolding/github-template-repo branch April 30, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants