Open apjanke opened 5 years ago
May be related. pkj
cannot install from URLs pointing to a distribution tarball, like for pythonic:
pkg install https://gitlab.com/mtmiller/octave-pythonic/-/archive/v0.0.1/octave-pythonic-v0.0.1.tar.gz
That's not good. That ought to be working. I'll look in to it.
Oh, yup. That's totally related. I haven't implemented installation from URLs at all yet. Hold on...
Okay, I added support for installing from tarball URLs, like you're trying to do, in https://github.com/apjanke/octave-packajoozle/commit/680baac2c7de810fbcecf9f8beb6bc7162e70f9e. Give it a try.
Note that this is only a basic implementation: it will install the package from the tarball URL you give it, but it won't follow and install the dependencies declared in that package tarball's DESCRIPTION
file.
Thank you for the improvement. This is totally satisfactorily for me. It was a nice addition to pkg
and now pkj
does no longer rank behind.
Excellent! If you've got more feature requests or see things wrong, please drop more issues here.
I'm leaving this issue open because the original report was about wanting to be able to install from URLs that point to Git repos themselves (like on GitHub or GitLab) in addition to URLs that point to distribution tarballs; I had just overlooked that tarball URLs weren't working in the first place.
Would be nice to be able to install from the URL of an arbitrary repo, in addition to a URL pointing to a distribution file.
brew
does