{"_id":"opbeat-release-tracker","_rev":"1029070","name":"opbeat-release-tracker","description":"Stand-alone release tracker for Opbeat","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"time":{"modified":"2024-09-10T16:37:37.000Z","created":"2015-04-08T22:42:11.031Z","1.1.1":"2015-04-24T13:07:32.341Z","1.1.0":"2015-04-08T23:27:12.480Z","1.0.1":"2015-04-08T22:47:52.408Z","1.0.0":"2015-04-08T22:42:11.031Z"},"users":{},"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"repository":{"type":"git","url":"https://github.com/watson/opbeat-release-tracker.git"},"versions":{"1.1.1":{"name":"opbeat-release-tracker","version":"1.1.1","description":"Stand-alone release tracker for Opbeat","main":"index.js","scripts":{"test":"standard && tape test.js"},"keywords":["opbeat","ops","devops","deploy","deployment","deploying","track","tracking","release","releases"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","dependencies":{"after-all-results":"^2.0.0","opbeat-http-client":"^1.0.3"},"devDependencies":{"nock":"^1.6.1","standard":"^3.7.1","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/watson/opbeat-release-tracker.git"},"bugs":{"url":"https://github.com/watson/opbeat-release-tracker/issues"},"homepage":"https://github.com/watson/opbeat-release-tracker","gitHead":"eb729fdd30049a19bce57763c48ce2b288f05014","_id":"opbeat-release-tracker@1.1.1","_shasum":"2f65767250b955ae988edca875acd836120e7e0a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"dist":{"shasum":"2f65767250b955ae988edca875acd836120e7e0a","tarball":"http://registry-npm.ywwl.com/opbeat-release-tracker/download/opbeat-release-tracker-1.1.1.tgz","integrity":"sha512-xsuZudfqW++QHOBNqBJfXYzMqZAng7FAJieyqNfmJjzUJeN4uex38gRa8TMcPxCcyT2X2uTXFfbpuxCFKupLoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDskohaOUauJn58X7tqfK3FG/sJPo0rZri+12/W2pGMiAIgRPk11Ni46cWH6q+HnyN4w3qOXEO/vJ04rdjMSelNAAc="}],"size":4656,"noattachment":false,"key":"/opbeat-release-tracker/-/opbeat-release-tracker-1.1.1.tgz"},"directories":{},"publish_time":1429880852341,"_cnpm_publish_time":1429880852341},"1.1.0":{"name":"opbeat-release-tracker","version":"1.1.0","description":"Stand-alone release tracker for Opbeat","main":"index.js","scripts":{"test":"standard && tape test.js"},"keywords":["opbeat","ops","devops","deploy","deployment","deploying","track","tracking","release","releases"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","dependencies":{"after-all-results":"^2.0.0","opbeat-http-client":"^1.0.2"},"devDependencies":{"nock":"^1.5.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/watson/opbeat-release-tracker.git"},"bugs":{"url":"https://github.com/watson/opbeat-release-tracker/issues"},"homepage":"https://github.com/watson/opbeat-release-tracker","gitHead":"d8da1a4778bbb6f0923d200eeb5a69408475797d","_id":"opbeat-release-tracker@1.1.0","_shasum":"9cb5fbdfadff550dae4be6c5cb97bab8613fd991","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"dist":{"shasum":"9cb5fbdfadff550dae4be6c5cb97bab8613fd991","tarball":"http://registry-npm.ywwl.com/opbeat-release-tracker/download/opbeat-release-tracker-1.1.0.tgz","integrity":"sha512-FwpbjCl0ntLMYecEBg7d+WHU9Xxtn+YjzPY+y6NynTvSn+VW2KMqL3DrIOyVGEFLeDhIuZzBKrnWi5YxHCyUBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+7FY/eKhvRsiZIOqqxPHMCZVCHpxJ/X59sGeev710egIgWttj3Y7LE1jswfEcTJx0DTR1WOBmovy8EXZyn1CgMUI="}],"size":4646,"noattachment":false,"key":"/opbeat-release-tracker/-/opbeat-release-tracker-1.1.0.tgz"},"directories":{},"publish_time":1428535632480,"_cnpm_publish_time":1428535632480},"1.0.1":{"name":"opbeat-release-tracker","version":"1.0.1","description":"Stand-alone release tracker for Opbeat","main":"index.js","scripts":{"test":"standard && tape test.js"},"keywords":["opbeat","ops","devops","deploy","deployment","deploying","track","tracking","release","releases"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","dependencies":{"after-all-results":"^2.0.0","opbeat-http-client":"^1.0.2"},"devDependencies":{"nock":"^1.5.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/watson/opbeat-release-tracker.git"},"bugs":{"url":"https://github.com/watson/opbeat-release-tracker/issues"},"homepage":"https://github.com/watson/opbeat-release-tracker","gitHead":"74cff468978a56e964b5eefddf946b5409b80083","_id":"opbeat-release-tracker@1.0.1","_shasum":"0e5a07a69894ab8dcf5923e41e519467dc64272b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"dist":{"shasum":"0e5a07a69894ab8dcf5923e41e519467dc64272b","tarball":"http://registry-npm.ywwl.com/opbeat-release-tracker/download/opbeat-release-tracker-1.0.1.tgz","integrity":"sha512-oL0wrp7KK+vn0i8GUZdUEuSNge018xEaDjiXpJEhNBBkWw7984Aey0j+c4QodN8MSGdkZKNGG/J8cek+nsMghA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ6XkJ+lbQYz6Fu+UJlvgJHsgMQsmjlUBfQrTevDPAsAIhAJzSFrmCmXFsTzq/V20UMjdrGICsnZLjek2/AkD0bOOH"}],"size":4438,"noattachment":false,"key":"/opbeat-release-tracker/-/opbeat-release-tracker-1.0.1.tgz"},"directories":{},"publish_time":1428533272408,"_cnpm_publish_time":1428533272408},"1.0.0":{"name":"opbeat-release-tracker","version":"1.0.0","description":"Stand-alone release tracker for Opbeat","main":"index.js","scripts":{"test":"standard && tape test.js"},"keywords":["opbeat","ops","devops","deploy","deployment","deploying","track","tracking","release","releases"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","dependencies":{"after-all-results":"^2.0.0","opbeat-http-client":"^1.0.2"},"devDependencies":{"nock":"^1.5.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/watson/opbeat-release-tracker.git"},"bugs":{"url":"https://github.com/watson/opbeat-release-tracker/issues"},"homepage":"https://github.com/watson/opbeat-release-tracker","gitHead":"eaf4f2bf328f42832e889a31c2a7a9cf019ad188","_id":"opbeat-release-tracker@1.0.0","_shasum":"0529a34736df54f5f6319f1c552c3f1285cc12da","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"dist":{"shasum":"0529a34736df54f5f6319f1c552c3f1285cc12da","tarball":"http://registry-npm.ywwl.com/opbeat-release-tracker/download/opbeat-release-tracker-1.0.0.tgz","integrity":"sha512-wPRea/mENoIv44aBOIkNA5nbtWgyNBYCp91WpJyEuOXYDMWDCsnjFIBb9185u7TU8nKMQfzo3EARpvopjwPt5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvgoP99E3d9R10JQSNMTqp5MQhvgg1DsWEUo7SfS2sqAiA8jVGOYdvFaeD2Fntw1w+YjG67Wxqbe1asN8UL9BvdgA=="}],"size":4445,"noattachment":false,"key":"/opbeat-release-tracker/-/opbeat-release-tracker-1.0.0.tgz"},"directories":{},"publish_time":1428532931031,"_cnpm_publish_time":1428532931031}},"readme":"# opbeat-release-tracker\n\n[![Build status](https://travis-ci.org/watson/opbeat-release-tracker.svg?branch=master)](https://travis-ci.org/watson/opbeat-release-tracker)\n\n[![js-standard-style](https://raw.githubusercontent.com/feross/standard/master/badge.png)](https://github.com/feross/standard)\n\nA simple module to track a release on Opbeat.\n\nPlease note that release tracking is [built\nin](https://github.com/opbeat/opbeat-node#release-tracking) to the\nofficial Opbeat node.js module.\n\n## Installation\n\n```\nnpm install opbeat-release-tracker\n```\n\n## Usage\n\nThe module exposes a single init function:\n\n```js\nvar trackRelease = require('opbeat-release-tracker')({ ... })\n```\n\nThe init function takes an optional options hash with the following\nproperties:\n\n- `appId` - The Opbeat app id (falls back to the `OPBEAT_APP_ID`\n  environment variable)\n- `organizationId` - The Opbeat organization id (falls back to the\n  `OPBEAT_ORGANIZATION_ID` environment variable)\n- `secretToken` - The Opbeat secret token (falls back to the\n  `OPBEAT_SECRET_ID` environment variable)\n- `auto` - If `true` (default) opbeat-release-tracker will try to\n  auto-detect the git rev and/or branch if not specifically given. Set\n  to `false` to disable this behavior\n- `cwd` - Directory where to auto-detect git rev or branch if those are\n  not provided when tracking a release (falls back to `process.cwd()`)\n- `userAgent` - Set if you wish to override the default HTTP User-Agent\n  (this makes sense if you use the opbeat-release-tracker module as a\n  submodule to another module)\n\nThe init function returns a release tracker function which can be called\nto track a specific release:\n\n```js\ntrackRelease([options][, callback])\n```\n\nThe `options` object is optional but can be used to specify the\nfollowing properties:\n\n- `rev` - Git commit hash of the release\n- `branch` - Git branch of the deployed release\n- `cwd` - Directory where to auto-detect git rev or branch if those are\n  not provided (will override the `cwd` given upon initialization and\n  fall back to `process.cwd()` if neither is provided)\n- `status` - Either `completed` (default) or `machine-completed`\n- `machine` - Name of the machine where the release was deployed (only\n  valid if `status` is set to `machine-completed`)\n\nThe `callback` function is optional and will be called once the release\nhave been tracked. If an error occurred while tracking the release the\ncallback will be called with the Error object as the first argument.\nNote that if an error occurres and no callback have been provided the\nerror is **not** thrown.\n\nFor more information about the Opbeat release API, check out [the\nofficial API\ndocumentation](https://opbeat.com/docs/api/intake/v1/#release-tracking).\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/watson/opbeat-release-tracker","bugs":{"url":"https://github.com/watson/opbeat-release-tracker/issues"},"license":"MIT"}