Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Software update plugin: added check_type "bitbucket_commit" #1898
What does this PR do and why is it necessary?
Adds a new version_check to software update plugin called "bitbucket_commit". It is the same as github_commit but for Bitbucket. With this you're now able to define "bitbucket_commit" as your check type so that software update can find the lastest version of your plugin if it's hosted publicly on Bitbucket.
How was it tested? How can it be tested by the reviewer?
I used this check config:
After the update process OctoPrint showed the correct/new version of the updated component and the commit hash was saved correctly in config.yaml
Notice: The updated component (iobeam) is not an OctoPrint Plugin, it is some random software we use on Mr Beam II
Any background context you want to provide?
More or less I cloned github_commit file in version_checks
What are the relevant tickets if any?
Screenshots (if appropriate)
about Bitbucket API: