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

FR: Allow storing references at some remote location #15

Open
tingerrr opened this issue Mar 19, 2024 · 0 comments
Open

FR: Allow storing references at some remote location #15

tingerrr opened this issue Mar 19, 2024 · 0 comments
Labels
A-comparison Area: test reference comparison A-fs Area: file structure, asset loading and storing C-feature Category: feature request P-low Priority: low
Milestone

Comments

@tingerrr
Copy link
Owner

To avoid repository bloat, don't save images and instead store some kind of symbolic reference to another storage and a way to retrieve this reference from the given storage.

An external store comes with some security, performance and usability issues, but may be worth it in the long run.

The main motivation for this is that images are not meant to be stored as is in a git repository. Solutions such as Git LFS on GitHub are horrendously overpriced for FOSS repositories. Another issue with storing images in a git repository is that they are often optimized to account for aforementioned bloat. This optimization can take quite long even on updates which introduce only a minor change to the reference, as comparison is not perceptual, but exact.

See more on a related discussion on the Typst community discord here.

@tingerrr tingerrr added C-feature Category: feature request A-comparison Area: test reference comparison labels Jun 16, 2024
@tingerrr tingerrr added the P-low Priority: low label Jun 26, 2024
@tingerrr tingerrr changed the title No reference store and comparison FR: Allow storing references at some remote location Jan 25, 2025
@tingerrr tingerrr added this to the 0.3.0+ milestone Jan 28, 2025
@tingerrr tingerrr added the A-fs Area: file structure, asset loading and storing label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-comparison Area: test reference comparison A-fs Area: file structure, asset loading and storing C-feature Category: feature request P-low Priority: low
Projects
None yet
Development

No branches or pull requests

1 participant