Scratch.jl
Scratch.jl copied to clipboard
Scratch spaces for all your persistent mutable data needs
Hi, I am currently trying to use a singularity container that has TimeZones.jl and thus Scratch.jl as a dependency. The initialization of TimeZones.jl seems to call `get_scratch!` which tries to...
The `now()` function returns the current time in the system's local time zone. The code here adds the `Z` suffix which indicates UTC time: https://github.com/JuliaPackaging/Scratch.jl/blob/df4d65620ea65816ba4c2f586d3d790db3dc99c6/src/Scratch.jl#L150 ```julia julia> using Dates julia>...
I don't think this is important stuff, but just noting them down. Consider the [instructions for making scratch spaces that are keyed to the version.](https://github.com/JuliaPackaging/Scratch.jl#can-i-create-a-scratch-space-that-is-not-shared-across-versions-of-my-package) This is kind of limitted...
Motivated by https://github.com/oscar-system/Polymake.jl/issues/381 : A user may do `@everywhere using PACKAGENAME` on a package which uses scratch spaces. if the scratch space is missing/outdated, then each of the parallel jobs...
This link in the README is broken:  It leads to a 404 page.
It is possible to share artifacts between several users by using a file `Overrides.toml` in the artifacts directory. Is this functionality reasonable also for scratch spaces? I am thinking of...
The README says: "we typically do not want to bake absolute paths into our precompiled files" but gives no clue as to why. Could you elaborate? For my particular application,...
This implementation of `with_scratch_directory` https://github.com/JuliaPackaging/Scratch.jl/blob/56771063045708ef8fc01ad8616db9edab06f3a7/src/Scratch.jl#L16-L23 is 1. not concurrent safe (mixing it with `@async` can cause bugs), 2. not thread safe, and 3. not nestable. The last point is about...
Hey! Scratch is cool! Little typo fix in the README: a ref change does not need the `global` keyword
No idea what might be causing this...