-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dev: upload debs and rpms to Packagecloud #4010
base: master
Are you sure you want to change the base?
Conversation
do you have a paid or trial account? because API access is a paid feature. |
Free account works just fine for this purpose. |
Free account but with a trial.
|
I think that's just misleadingly put. Free with a trial does not make much sense to me in the first place, they say "we offer a limited Free Plan and also offer 14 day trials of any of our paid plans". I've had mine for 2+ months now; it does have a "Free trial" label in the UI, and they've "charged" me $0.00 twice (once each month) for it (no credit card required). |
Cloudsmith and Balto have free repo offerings for OSS projects, too, in case Packagecloud does not seem right. I don't have experience with either: https://cloudsmith.com/pricing, https://www.getbalto.com/pricing (scroll down/ search for "Open source" in both). |
I've sent mail to [email protected], asking them to chime in here to clarify. |
Got a response, and a permission to copy it here, so here goes. Note that I'm just relaying their message here, and not taking any responsibility for its content, nor what if anything the golangci-lint project decides to do based on it nor the consequences of those decisions. If further clarifications/discussion is required, I suggest contacting their support directly.
(There was a "We offered a Free Plan" typo in their original which I confirmed with them it was a typo indeed; the corrected/intended form "We offer a Free Plan" is modified by me inline in the above.) |
Anything I can do to help with nudging this forward? If for example Cloudsmith sounds more like it than Packagecloud (their quotas are larger) I could have a look into implementing that. There's a "Contact us for details" button at the end of the page at https://cloudsmith.com/pricing that should probably be followed by a project representative here to clarify the terms first, though. Pushing itself looks trivial: https://help.cloudsmith.io/docs/integrating-with-github-actions#push-debian-package |
Keeping local installs of golangci-lint on Linux systems up to date is a bit of a chore, because building from source is not recommended (so tools like
gup
won't help), and the binaries are not easily available for automatic installation, need to manually download and install from GH releases.Since the .deb and .rpm packages are already available, it would be nice to have them in a public repo somewhere. This PR implements uploading them to https://packagecloud.io (I have no affiliation with them).
Demo release and repository created by this PR's content (along with some tweaks to avoid golangci specific things):
(The packages in the repo are built off a branch that has also dev: packaging improvements #4009 applied, but that's not a blocker for this.)
To make it work for the golangci/golangci-lint project, the PR requires two things set up by golangci-lint project admins:
golangci
, and the repo namegolangci-lint
. If they end up being something else, we can obviously adjust here. But I think they would make sense.PACKAGECLOUD_TOKEN
.