You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the way we store sample files doesn't scale well.
git is not very suitable for storing binary files.
binary files will bloat these repo and application.
it doesn't allow storing files in other places and updating them.
Requirements for the solution:
should not bloat the WebIDE repo
the files should be loaded lazily
should allow hosting actual files in the repos other than one single blessed repo
should not require lot of maintaince from our side
Proposal:
store binary files in separate repos. If possible, not in our repos.
create a YAML file with an array, easch item of which list sources, like this:
- uri: <direct uri to file sample. Must be available using CORS. Must be Wayback Machined before the addition>
- github: <a name of a GitHub repo>d-rx: <a regular expression dir path must satisfy>n-rx: <a regular expression file name (without rest of path) must satisfy>
Ideally the format will eventually be embedded into kst format, so the real-world samples to be used in automatic testing.
The file should be stored in a dedicated repo.
CI script combines the sources, generating a file like this:
I guess the way we store sample files doesn't scale well.
Requirements for the solution:
Proposal:
Ideally the format will eventually be embedded into
kst
format, so the real-world samples to be used in automatic testing.The file should be stored in a dedicated repo.
*.ksy
s'file-extension
to suggest the samples to a user.The text was updated successfully, but these errors were encountered: