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 find manually updating Compat.toml is hard and rather scary as it's error-prone, especially because Compat.toml does some kind of "compressing" (or generating reverse dict or something?). It would be nice to have an automated tool to introduce new bounds in Compat.toml.
The text was updated successfully, but these errors were encountered:
That's the API I had in mind when I implemented those functions: load, modify, save. In the middle you have a plain dict from versions to properties (deps, compat, etc.) that you can modify however you want.
I think it'd be nice to list them in public API by documenting them. In particular, it'd be nice if Compress.save (and even Compress.load) can have a wide contract API; i.e., it is documented to work with any kind of input and properly reject ill-formed inputs.
In terms of the UI, I think it'd be nice to also have Compress.recompress(compat_filename) which loads possibly ill-formed Compat.toml, verify it, re-compress it if there are some redundancies, and then save it back to the original file (if it is implementable). Options like preview to show the file content before save it would be nice. This way, I can manually edit the Compat.toml and let Compress.recompress verify and re-compress the file.
Continuing discussion in JuliaRegistries/General#5098 and JuliaLang/Pkg.jl#1492:
I find manually updating
Compat.toml
is hard and rather scary as it's error-prone, especially becauseCompat.toml
does some kind of "compressing" (or generating reverse dict or something?). It would be nice to have an automated tool to introduce new bounds inCompat.toml
.The text was updated successfully, but these errors were encountered: