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
Tomes should be able to reference ad-hoc CDN files.
Tomes should be able to reference files in other tomes.
Ensure that imported repo files are guaranteed.
Next steps:
Remove the constraint of tome assets from same tome. Allow CDN assets to be accessed by assets.*
Add "hash" optional param to asset functions that's used to deconflict (error if file hash isn't matched)
Fix bug where assets with same file path delete each other: Throw error when tome from other repo imports the same file.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem statement
Tomes should be able to reference ad-hoc CDN files.
Tomes should be able to reference files in other tomes.
Ensure that imported repo files are guaranteed.
Next steps:
assets.*Fetch assets tome doesn't work but we agree that it should.
cdn/example/linux/test-fileWhy do we need this?
Questions on how to do this?
Currently we use folder path to reference but this isn't unique.
Maybe prepend the repo name, repo owner and domain?
Decouple assets from tomes but keep them linked to repos.
repo_name/assetsdir is enforced?Random unique id: DB id, timestamp, rand generated ID
Offer a way to specify a file hash so that users can ensure they're getting the right file.
Requirements:
Want capability to access ad-hoc files (files not associated with the tome) from within a tome.
Adhoc files can be overwritten by anyone at anytime.
Repo linked tomes are guaranteed to be unique per repo won't be overwritten.
Someone forks a tome repo modifies the tomes and then imports overwriting another tome repo
domain/user/repo/Upload
Tome import
Download
Uploaded files that would modify a tome asset should be blocked.
User stories:
Example:
Beta Was this translation helpful? Give feedback.
All reactions