Artifacts
Karmana currently uses one artifact, the India shapefile found in https://github.com/xKDR/india-maps.
To update this, you can make a new release of india-maps
, update Karmana.__init__
with the file path, and use ArtifactUtils.jl
's add_artifact!
function to add it to the repo, under the name india_shapefile
.
Other artifacts should be handled similarly (i.e, a gitrepo from which we download release tarballs).
Updating the india_shapefile
artifact
As easy as 1, 2, 3!
- Remove the
india_shapefile
entry from Karmana.jl'sArtifacts.toml
(literally, delete that text.) - Run
add_artifact!(joinpath("$(dirname(pathof(Karmana)))", "Artifacts.toml"), "india_shapefile", "https://github.com/xKDR/india-maps/archive/refs/tags/v0.2.0.tar.gz")
but replace the URL with the new URL for the release tarball. - Push your changes to the Karmana.jl repo!