Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Helmut Brandl <helmut.brandl@gmx.net>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Portable way to retrieve and unpack tar files from github
Date: Mon, 9 Jan 2017 17:36:07 -0600	[thread overview]
Message-ID: <e78ef187-0edd-db24-2adc-e13b551ff6fb@gmx.net> (raw)

Hello list,

I am looking for a portable way to retrieve tar files from github and 
unpacking them.

I could use system calls to "wget https://www.github.com.." and "tar xzf 
tarfile.tar.gz",  but this works only in environments where tar and wget 
are available i.e. possibly not on windows and maybe not on MacOS machines.

Is there any library available on then opam repository to do this in a 
portable way. Thanks for any hint.

Regards
Helmut

             reply	other threads:[~2017-01-09 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 23:36 Helmut Brandl [this message]
2017-01-09 23:54 ` David Allsopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e78ef187-0edd-db24-2adc-e13b551ff6fb@gmx.net \
    --to=helmut.brandl@gmx.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox