Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@roadiehq/backstage-plugin-bitbucket-pullrequest

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roadiehq/backstage-plugin-bitbucket-pullrequest

  • 2.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
32
increased by18.52%
Maintainers
0
Weekly downloads
 
Created
Source

Bitbucket PullRequest Plugin for Backstage

list of pull requests in the Bitbucket repo

Features

  • List of PR's from particular bitbucket repo
  • Filtering like OPEN/CLOSED/MERGED/ALL PR and Search
  • Able to view Creator name, Created date and last update etc.
  • We can go to Particular PR by clicking ID.

How to add Bitbucket PR plugin to Backstage app

  1. Install the plugin into Backstage.
cd packages/app
yarn add @roadiehq/backstage-plugin-bitbucket-pullrequest
  1. Add plugin API to your Backstage instance.
// packages/app/src/components/catalog/EntityPage.tsx
import { EntityBitbucketPullRequestsContent } from '@roadiehq/backstage-plugin-bitbucket-pullrequest';

...

const serviceEntityPage = (
  <EntityLayout>
    ...
        <EntityLayout.Route path="/bitbucket-pullrequests" title="Bitbucket">
            <EntityBitbucketPullRequestsContent />
        </EntityLayout.Route>
    ...
  </EntityLayout>
  1. Add proxy config
// app-config.yaml
proxy:
  '/bitbucket/api':
    target: https://bitbucket.org
    changeOrigin: true
    headers:
      Authorization: Bearer ${BITBUCKET_TOKEN}
      Accept: 'application/json'
      Content-Type: 'application/json'
bitbucket:
  # Defaults to /bitbucket/api and can be omitted if proxy is configured for that url
  proxyPath: /bitbucket/api
  1. Run backstage app with yarn start and navigate to services tabs.

How to use Bitbucket PR plugin in Backstage

  • Add annotation to the yaml config file of a component
metadata:
  annotations:
    bitbucket.com/project-slug: <example-bitbucket-project-name>/<example-bitbucket-repo-name>
  • Backstage
  • Get hosted, managed Backstage for your company: https://roadie.io

Roadie gives you a hassle-free, fully customisable SaaS Backstage. Find out more here: https://roadie.io.

Keywords

FAQs

Package last updated on 23 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc