-
Notifications
You must be signed in to change notification settings - Fork 842
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
Upload to hackage without cabal-install #313
Comments
I actually just added I'd like to leave this open to track doing sdist without
If you or someone else reading is interested in taking a crack at this, let me know, it shouldn't be too hard. |
If I remember this when I'm less busy a week from now (and if no one has already done it), I may give it a try. If I switch to using the master branch of stack (which I assume has the upload command) instead of the beta that I downloaded a week ago, should that give me the ability to upload? Also, in your opinion, does that seem like a reasonably safe idea? |
I'm renaming this to be more consistent with its purpose on the milestone. |
@andrewthad given that it uses cabal-install it shouldn't have any bugs (other than those in cabal-install). I would recommend using |
I'd like to use stack right now, especially since I don't even have cabal-install installed anymore. Given that |
Yes, it's safe to use master, but unfortunately (because of what I mentioned earlier) it still depends on cabal-install being available. It shouldn't be hard to overcome that though. |
Thanks. That shouldn't be a problem. |
@snoyberg I'm using the master branch of stack, and it doesn't recognize |
It's the master branch. Are you certain that the executable you're running is the one you built? What's the output of |
0.0.2 |
What Git revision does it say? If it doesn't have one, it means you installed from a tarball, which means you're not running master :) |
Ah, thanks. That's much better. Now I've got it to say:
So, I think I should be good now. |
I'll be working on removing the dependency on the cabal binary. |
Done! I've tested it by uploading a new package, yesod-media-simple, an old project I cleaned up for release today. PR: #627 @snoyberg Confirmed? |
If I'm using stack to build a library that I want to upload to hackage, how can I build something that hackage will accept? I can't find any mention of this in the wiki, and hackage's upload page doesn't give any instructions on how to make the tarball on your own.
The text was updated successfully, but these errors were encountered: