1.0.1 • Published 4 years ago

prsync v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

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