papermill / mill

papermill CLI utility
http://code.papermill.in/mill
Other
3 stars 2 forks source link

Asset caching #15

Open eins78 opened 11 years ago

eins78 commented 11 years ago

mill doctor should check if there are any online dependencies

log-term we could also cache source files (requested by @L337hium), ie. go through the BIBTEX file.

protocols:

eins78 commented 11 years ago

fallback urls:

url: "http://example.com/foo"

url: [ "http://example.com/foo", "http://thepiratebay.org/torrent/foo" ]
eins78 commented 11 years ago

cache folder with hashes

./.cache/$URI/$YYYY-MM-DD.$hh.mm_.$hash_of_content/the_content.avi

example:

./.cache/http%3A%2F%2Fexample.com%2Ffoo/2013-01-01_13.37_12345fefe/the_content.avi

problems to solve: invalid characters in paths (-> JSON file with mapping or URL-encode it)