0.0.31 • Published 4 years ago

@cjpaisley/bitbucket-feed v0.0.31

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

bitbucket icon bitbucket-feed

This is a Faros feed that produces data for the VCS schema. When run will upload data to the feeds server as a new revision.

The feed pulls the following resources from Bitbucket REST API for each workspace the authenticated user has access to:

  • Workspace users
  • Repositories
    • Pull Requests
    • Issues
    • Commits

Quickstart

:clipboard: NOTE: Running this feed requires a valid Faros account. To setup Faros see the getting started guide

Installation

npm install -g @faros-ai/bitbucket-feed

Run the feed

$ faros-bitbucket-feed --token $BITBUCKET_TOKEN --api-key $FAROS_API_KEY

Authentication

Running the feed requires a valid Bitbucket account and a Bitbucket user/client. Currently the minimum required scopes for this feed are

  • issue - Read your repositories' issues
  • repository - Read your repositories
  • pullrequest - Read your repositories and their pull requests

Using token

--token $BITBUCKET_TOKEN

Using username and password

--username $BITBUCKET_USERNAME --password $BITBUCKET_PASSWORD

Bitbucket server

The feed defaults to pulling data from the Bitbucket Cloud REST API v2 (https://api.bitbucket.org/2.0). To run against a different Bitbucket server:

--base-url $BITBUCKET_BASE_URL

Faros feeds server

By default the feed will push records to the Faros Cloud production server. You can point to a different Faros server with:

--server-url $FAROS_SERVER_URL

See faros-bitbucket-feed --help for more options, including flag shorthands.

0.0.30

4 years ago

0.0.31

4 years ago

0.0.32

4 years ago

0.0.26

4 years ago

0.0.27

4 years ago

0.0.28

4 years ago

0.0.29

4 years ago

0.0.25

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago