![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
BucketKit is a BitBucket REST API client that is heavily inspired by Octokit.
Add this line to your application's Gemfile:
gem 'bucketkit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bucketkit
You can use either basic authentication:
c = Bucketkit::Client.new(login: 'foo', password: 'bar')
Or two legged OAuth:
c = Bucketkit::Client.new do |c|
c.login = 'foo'
c.oauth_tokens = {
{
consumer_key: 'BUCKETKIT_CONSUMER_KEY',
consumer_secret: 'BUCKETKIT_CONSUMER_SECRET',
token: 'BUCKETKIT_TOKEN',
token_secret: 'BUCKETKIT_TOKEN_SECRET'
}
end
Get a list of pull requests:
c.pull_requests('xystushi/bucketkit')
Get single pull request by id:
c.pull_request('xystushi/bucketkit', 1)
Get commits on a pull request:
c.pull_request_commits('xystushi/bucketkit', 1)
Get comments on a pull request:
c.pull_request_comments('xystushi/bucketkit', 1)
Get the pull request activity:
c.pull_request_activity('xystushi/bucketkit', 1)
Get the diff of a pull request:
c.pull_request_diff('xystushi/bucketkit', 1)
Approve a pull request:
c.approve_pull_request('xystushi/bucketkit', 1)
Delete a pull request approval:
c.delete_pull_request_approval('xystushi/bucketkit', 1)
Merge a pull request:
c.merge_pull_request('xystushi/bucketkit', 1)
# or
c.accept_pull_request('xystushi/bucketkit', 1)
Decline a pull request:
c.decline_pull_request('xystushi/bucketkit', 1)
# or
c.reject_pull_request('xystushi/bucketkit', 1)
Create a pull request:
c.create_pull_request('xystushi/bucketkit', 'title', 'some/fork', 'master',
'this is a new pull request')
Get a list of commits of a repository:
c.commits('xystushi/bucketkit')
Get a single commit of a repository:
c.commit('xystushi/bucketkit', 'abcdef123456')
Get comments on a commit:
c.commit_comments('xystushi/bucketkit', 'abcdef123456')
Get a single comment on a commit by id:
c.commit_comment('xystushi/bucketkit', 'abcdef123456', 1)
Approve a commit:
c.approve_commit('xystushi/bucketkit', 'abcdef123456')
Delete a commit's approval:
c.delete_commit_approval('xystushi/bucketkit', 'abcdef123456')
For more, please refer to Bitbucket's API documentation
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that bucketkit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.