Comments (4)
Since downloading the zips might take a lot of time, we will have to run the PHP script that does it in the background. To do this there are three main approaches:
- Use cron to schedule a job every X minutes. Looks like the cleanest of all the variants
- Or a watchdog with a
while(true)
script.
- Or a watchdog with a
- Use forking to split the process and terminate the client-side copy. The other copy would download and terminate later. If the other copy fails to start or crashes for whatever reason, we won't ever update the hash.
- Use
exec
or similar to launch a process in the background (with&
). Same as the previous, plus it might open an additional attack surface.
On IRC we decided that we would use the first approach, since it is cleaner than the others.
from godot-asset-library.
@bojidar-bg SHA-256 is okay.
from godot-asset-library.
@alketii ~ Actually, there is one more design consideration left -- when should the hash be updated, when the asset is approved, or when the edit is submitted... WDYT?
from godot-asset-library.
@bojidar-bg I think moderator should update the hash manually
from godot-asset-library.
Related Issues (20)
- Sort: Recently Updated breaks engine window HOT 1
- Can't access newly created account and I don't get the password reset emails HOT 3
- Future of the Godot asset library? HOT 16
- TuxFamily server still active with outdated copy of site HOT 1
- Multiple Collaborators.
- Script Text Editor Quality of Life Improvements requests HOT 1
- Pending asset not showing up in "View my pending" section
- all inputs reset on submit error
- Allow preview of pending Assets
- Unauthorized Access to pending Assets through enumeration HOT 1
- View files not pointing to specified commit HOT 2
- Can't submit asset to library HOT 9
- Can't submit icon url that ends in ?raw=true HOT 3
- Unable to log in to account. HOT 12
- 19 Assets by ShatteredReality have no source files. HOT 1
- Issue Approving Assets HOT 3
- Can't reset password HOT 5
- Transfer ownership or delete submission
- Asset source & download unavailable (dead links) HOT 3
- Change email/account deletion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-asset-library.