Stream: helpdesk (published)

Topic: Tools for sharing artifact tar ball at a semi-private URL?


view this post on Zulip Takafumi Arakaki (tkf) (Dec 11 2021 at 03:12):

Is there any Pkg.Artifacts wrapper that lets me easily upload the tarball somewhere so that I can put a URL in a Artifacts.toml? My use case is sharing some computation data generated in local machines (so not package binary distribution generated in CI).

I can write a simple wrapper around archive_artifact and gh gist CLI to upload a tarball in private gist. But I wonder if someone already has implemented a better solution.

view this post on Zulip Simeon Schaub (Dec 11 2021 at 03:59):

I have been thinking of adding something like that to ArtifactUtils.jl before, but haven't really had a need for it yet. If you figure out something that works for you, I'd gladly accept a PR. I believe we even have a jll for the GitHub CLI.

view this post on Zulip Mosè Giordano (Dec 11 2021 at 16:41):

Yes: https://github.com/JuliaBinaryWrappers/gh_cli_jll.jl

view this post on Zulip Mosè Giordano (Dec 11 2021 at 16:44):

BTW, we have the code to upload tarballs to Github releases in BinaryBuilder: https://github.com/JuliaPackaging/BinaryBuilder.jl/blob/da5e1bd80ab77c833d820ae70faa876b793ef3db/src/AutoBuild.jl#L434

view this post on Zulip Takafumi Arakaki (tkf) (Dec 11 2021 at 22:48):

Here we go https://github.com/simeonschaub/ArtifactUtils.jl/pull/8


Last updated: Oct 02 2023 at 04:34 UTC