-
-
Notifications
You must be signed in to change notification settings - Fork 964
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 bintray #15
Comments
...it is IMO. Bintray has a very nice API and many cool features beyond plain binary storage [1, 2]. In order to unlock some these one may have to add opkg/deb/rpm packaging to GoReleaser. [1] https://blog.bintray.com/2016/07/12/developing-for-openwrt-bintray-has-an-opkg-for-you/ |
I gave it a try and it is pretty straightforward -- the second blog entry listed by @bpicode, https://blog.bintray.com/2014/12/16/hosting-debian-packages-on-bintray-rocks/, is still good, despite that it is published in year 2014. I.e., basically, for Uploading and Publishing Debian release pacakge, the following is all it need, provided that you have created the Debian repo and package already:
To create the Debian package entry within the given repo, it is as simple as:
To create a Debian repo is also as simple as above, all explained clearly in above blog. And check also the Bintray Debian Repository Creation and Upload file using API for the condensed and practical version. But I think To change the
It is the internal piping, code organization, So I can only describe in high level what should be done, but cannot do it myself. Hope someone can get this done soon. Thanks |
@suntong have you gotten this working in travis by any chance? I've tried using the example you gave - I can get it working in my local terminal, but when I attempt it in Travis it has all sorts of problems (it claims it cannot open the .deb file, etc, even though I do an If you have an example of a working travis setup that would be grand. |
Oh yeah, I had build a simple example after this, which was aimed for people to easily follow -- wireframe:
|
Just leaving this here for reference: https://github.com/laher/goxc/blob/master/tasks/bintray.go |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
While deb packaging and using deb repositories in Bintray, pushing any type of file to a generic repo also makes a lot of sense. While in an essence it's nothing more than an HTTP PUT, having a native command for it would be nice. |
Functionally it sure does. The question is do we want to have a nice native command and a DSL around it. I think it makes sense, not every Bintray user realizes how easy it is to upload using HTTP PUT. |
Maybe we can solve this with documentation only? I don't use bintray, if someone can add some examples on how to publish to bintray using the http put pipe, it would be awesome :D |
That someone would be me :) |
Cool, thanks @jbaruch :D |
Hi @jbaruch , do you need my help in this one? What can I do? Cheers! |
If you can generate 12 more hours a day, that would be it :) |
i could not :/ if you know anyone that can do that, please let me know haha |
It is half-solved by #791, but won't it be wonderful to have a proper DSL for it. |
what do you mean by proper DSL? |
YAML config, like for Artifactory. |
hmm, we can do it, yes... I don't have exp with bintray... are you interested in taking over this part? |
Release to the Bintray is not just one PUT so dedicated yaml config (DSL) is definitely needed. Background:
|
If someone is willing to do this, happy to help, otherwise will auto close in a few days... this issue is now open for almost 3 years and had no activity for several months... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I would like to try to implement such feature. Maybe not fully, but a little bit more rich than just As an example my projects ws2connect, tinc-boot or storages where I have to use curl to use Bintray features (look into Github Actions tab for a code) as well as Goreleaser. If maintainers will be not against, I could make the draft implementation within several week (sorry, but I don't have too much free time now), however I would very appreciate for any help from project specialists. |
hey @reddec, feel free to work on it, let me know if you have any questions :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
maybe it is a cool feature to add...
The text was updated successfully, but these errors were encountered: