-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow installing from github #1278
Comments
It would be nice if |
In fact, it would be super cool if |
👍 I like this :) |
I agree that this would be cool! It'd also be nice to be able to install from a URL / path to a tarball. The So, targets syntax is already pretty involved.. But having a short thing for "Look up the source control metadata and use it" would be pretty darn sweet :) . This would be like supporting |
stack install hoogle --git is probably a better syntax, being consistent with upgrade. If you support --git and http tarballs then users of other VCS (those mythical people) can use a tarball of their repo. |
Then perhaps should we think about a way to make (now for the on-topic comment: This is a great idea and will probably avoid having a lot of packages on hackage/stackage that are only there to provide their users a better user experience for the installation process) |
I'm all for this 👍 I just found myself in a situation where I have developed a library that I want my installed tool (Shake) to see. I currently see no way of doing that. Is there some kind of temporary workaround? Like copying/symlinking certain files? |
Hi @samvv, more detail would be helpful. Is your library published somewhere? In particular, the manual has a number of approaches that may be relevant — but from the information you've given so far it's hard to judge what to suggest. |
That’s helpful. You may wish to use a custom snapshot which includes your github repo. I can give more detail if the (relevant bit of the) shakefile is public. Would you be willing to put it in a gist, or something? |
I'd like to do:
And have that "just work". Bonus points if the version without
.git
also works. In particular, this would need to check out the repo, if astack.yaml
was missing it would need tostack init
, and thenstack install
. See https://hackage.haskell.org/package/cabalg by @dmaliko for a version for Cabal.The text was updated successfully, but these errors were encountered: