Artifacts vs datadeps

  1. I want to update Knet model/data downloading code. Is there an advantage to using DataDeps.jl instead of Artifacts.toml?

  2. What is the suggested location for Artifacts.toml – package root directory like Project/Manifest.toml? If so do we ship packages with Artifacts.toml (like Projects), or without (like Manifest)? If the latter doesn’t having to create/write on Artifacts.toml violate our long term goal of having read-only package directories?

thanks,
deniz

5 Likes
  1. Yes, root directory and you check in the Artifact file.
1 Like

Can you specify download information in Artifact.toml for non tar.gz files or multiple files? e.g. Is it possible to implement the iris example in the documentation using automatic download of urls specified in Artifact.toml?

I think they are always considered to be tarballs.

2 Likes

See:

1 Like