desholmes / bitbucket-server-pr-bookmarklet

PR bookmarklet for Bitbucket Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitbucket Server PR Template Bookmarklet

NOTICE: This repo currently has a dependency on a fork desholmes/gulp-bookmarklet a pr is open for this.

Bitbucket sever doesn't support PR templates, unlike Bitbucket Cloud. This repo contains a bookmarklet to bring a common format to PR descriptions.

This project uses:

  1. Node.js
  2. Gulp

Usage guide

Chrome is recommended.

  1. Create bookmark called PR Template in Chrome
  2. Copy the contents from ./dist/bookmarlet.js into the URL field and press save
  3. Now when you create a PR, click the PR Template bookmark and the template will be applied to your PR description

Getting Started

Prerequisites

  1. A working knowledge of git SCM
  2. Installation of node

Developing

  1. Complete the 'Getting Started > Prerequisites' section
  2. npm i: To install the packages
  3. npm install gulp-cli -g: To install gulp globally
  4. Edit the src/main.js file
  5. npm run build: To build the bookmarklet to ./dist/bookmarklet.js

About

PR bookmarklet for Bitbucket Server


Languages

Language:JavaScript 100.0%