Sourcehut CI transition to paid service #265
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi#265
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Today I received an email from Sourcehut (we use it for building Linux and FreeBSD versions of hidapi):
My reply:
I will keep you informed what's the outcome.
Thanks for tha update.
If anything, it will be a trigger to migrate to Github actions. A quick googling brought up this: https://github.com/marketplace/actions/freebsd-vm
I say migrating to some other service, like Github Actions, would be a simplest step for an OpenSource project like hidapi.
If you want to, I do have a paid sr.ht account that I can provide for hidapi. I also plan to continue paying for sr.ht for the next couple of years, but it's understandable if you don't want to use it anymore.
The abuse they're talking about in the first email is unfortunately crypto miners that spam the service with builds...
I couldn't find any reasons why we wouldn't want to accept the offer of hosting sr.ht builds by you. It definitely saves us time of migrating the builds to a different infrastructure (at least for now).
To me this sounds like a good idea, we can move the builds to your paid account.
@z3ntu How do we do it? There are no changes to do in
.buildsdirectory, so I understand you should just login to your sr.ht account and add the hidapi (as a hidapi admin). This will create a webhook in the Github repository (Settings -> Webhooks). Then I can remove the build from my sr.ht free account.Correct?
Yes I believe that should work.
I do need admin permission to the repo temporarily afaik https://git.sr.ht/~sircmpwn/dispatch.sr.ht/tree/master/item/dispatchsrht/tasks/github/github_commit_to_build.py#L102
I've removed all sr.ht webhooks and the old tasks on dispatch.sr.ht and reconfigured the hooks for commits and PRs again.
Everything seems to work, for PRs see #268 and a direct push (branch is deleted again now) also works: https://builds.sr.ht/~z3ntu/job/504409
And I've "Removed yourself as a collaborator of libusb/hidapi"