prsync

1.0.1 • Public • Published

Before run

Generate a Bitbucket credentials

  • Access your bitbucket settings, and click on ACCESS MANAGEMENT > OAuth.
  • In OAuth consumers click on Add consumer button.
  • Fill Name, select This is a private consumer checkbox.
  • Fill Callback URL with a valid url, like http://localhost.
  • Mark permission Pull requests - Read, and save.
  • Back on OAuth integrated applications screen, click on your consumer created and copy Key and Secret tokens.

Set environments

Set this environments variables on your system:

  • BITBUCKET_GROUP: Slug name of you username or group.
  • BITBUCKET_KEY: Key generated before.
  • BITBUTCKET_SECRET: Secret generated before.
  • INTERVAL_UPDATE: (Optional) Time in seconds to poll news PRs, default 60.

Run

With npx:

$ npx prsync

Intalling and run:

$ npm install -g prsync

$ prsync

Package Sidebar

Install

npm i prsync

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

5.58 kB

Total Files

4

Last publish

Collaborators

  • faustikle