{"_id":"copy-heroku-releases","_rev":"25-7b8996721cb53a627f257cb2aae2a8a2","name":"copy-heroku-releases","description":"A command line utility to copy Heroku releases (aka slugs)","dist-tags":{"latest":"0.8.6"},"versions":{"0.8.0":{"name":"copy-heroku-releases","description":"A node command line utility to copy Heroku slugs","version":"0.8.0","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.8.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.0.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":"~1.0.0"},"_id":"copy-heroku-releases@0.8.0","dist":{"shasum":"9392913b515e3ddc00ac9357e89fbb498dd345e7","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.0.tgz","integrity":"sha512-tF4VNm4f7OSU0qnYPKcNCRaKmoGIcaH601/nlCHxHNtEy8cwadIdg+ZN5d/KmthZYmF/whAZwKzf8KBLjgDlKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcza/Mf5I6lN6LSbItRp0xLCh9WIJbz2TPPoajtQIRwQIhAPnrdCqro1yk67a+00VyKG/oauckq517wthrrPyee3NT"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]},"0.8.1":{"name":"copy-heroku-releases","description":"A node command line utility to copy Heroku slugs","version":"0.8.1","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.8.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.0.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":"~1.0.0"},"_id":"copy-heroku-releases@0.8.1","dist":{"shasum":"619c3a1a4dfa3ae928a10f2a3d79641533b13005","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.1.tgz","integrity":"sha512-QU4qq1juha/fCmJw5qLyqEut+7BDTjAZt+nK03cet3az9vWewsT0xYmvMlDyAnqAuMYPv03HWkGL7OIokYCmUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBS26BIhCaOgg2cE11z3GBnpXIu+1cT3tPLaBU3dQk44AiEAp1/D7+w8z01MNu7Lg91X+vvz6wI6Z2v7+d+Xu3GM5Ww="}]},"_from":".","_npmVersion":"1.2.23","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]},"0.8.2":{"name":"copy-heroku-releases","description":"A node command line utility to copy Heroku slugs","version":"0.8.2","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.8.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.0.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":"~1.1.0"},"_id":"copy-heroku-releases@0.8.2","dist":{"shasum":"8fa8081233bc2ec0d027d67bbc53682c6275e486","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.2.tgz","integrity":"sha512-Za5qDcJcV8ky7XbBPZLTU+rYtuajL+lFcUq0d7uztl08O713YKw0ZZKu53fSIxDRBv76MfQ9I5kM9P4XIYuJgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw1gHmPq5j3FIWgUUQNWiCQAm0YTVdf1f7w0Z7MAWOuAIgAb/E3977v+FjptcTMH/odSnzd1wfKD2tpyOZQD1HSCY="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]},"0.8.3":{"name":"copy-heroku-releases","description":"A command line utility to copy Heroku releases (aka slugs)","version":"0.8.3","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.10.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0"},"_id":"copy-heroku-releases@0.8.3","dist":{"shasum":"f5fb744508e2dd24b49ae5c29864789ea1d18a89","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.3.tgz","integrity":"sha512-UXBLX6FK7C4dHBePHyFwv86e9CN4MI1Fb1q7WLWORl51GL4ghXFEOxK6rh9Caux1nZf9y+YXu6MYZFp6LT4jtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEslw5J41YsgDdRyBaImXb2DP3dSDvoBQreD4+YUh/d5AiBlr+wTlCO+n2/e/88c9f92vXshX3iDm0QD7LqSRKto+w=="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]},"0.8.4":{"name":"copy-heroku-releases","description":"A command line utility to copy Heroku releases (aka slugs)","version":"0.8.4","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.10.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0"},"_id":"copy-heroku-releases@0.8.4","dist":{"shasum":"2d46465601a28ce4414cca89df181f0bb10e09cb","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.4.tgz","integrity":"sha512-4yLyaBKnQ0iJVrM+Wd1pZGxBmVNXSwQ0wzuhhI1RJuXY94k0pF7t3dYaEKHgikJX4jYnud8kPQe3+iBz3ed45Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICH7/5fwzDBEcxww/lqu/91FmcZElFDy9YU9PsmsJP4lAiA3jnuDwQ+up12YD+bcycyZIRp7N4K9oKcpmd9tIj9TmQ=="}]},"_from":".","_npmVersion":"1.2.23","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]},"0.8.5":{"name":"copy-heroku-releases","description":"A command line utility to copy Heroku releases (aka slugs)","version":"0.8.5","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.10.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0"},"_id":"copy-heroku-releases@0.8.5","dist":{"shasum":"b6c380f0ba6dbb021ecf00964c379a2283e736da","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.5.tgz","integrity":"sha512-SkFEcrqPEuZ29FCrPZduM6lCwyYd5LJQI0Zm7FrxooevV+mC4IUofeDzvvHfz5GQC6s1tfkobjm0Do/JMs8MsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMslgosZ+hfAeyAfKw51Jw7IJSa4fL34/mVncnaSS7IAiEA76IyVacqU9FYfi+ttrtzzt6ZnCnJpAzgNjT2PijxvWU="}]},"_from":".","_npmVersion":"1.2.23","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]},"0.8.6":{"name":"copy-heroku-releases","description":"A command line utility to copy Heroku releases (aka slugs)","version":"0.8.6","homepage":"https://github.com/raymcdermott/copy-heroku-releases","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"},"licenses":[{"type":"MIT","url":"https://github.com/raymcdermott/copy-heroku-releases/blob/master/LICENSE-MIT"}],"main":"copy-heroku-releases","engines":{"node":">= 0.10.0"},"devDependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt":"~0.4.2"},"keywords":["heroku","releases","slug"],"preferGlobal":"true","bin":{"copy-heroku-releases":"copy-heroku-releases.js"},"dependencies":{"lazy.js":">= 0.3.2","heroku-client":">= 1.1.0"},"_id":"copy-heroku-releases@0.8.6","dist":{"shasum":"918438593df3460a3a06261b89ef7feb3d8ffa87","tarball":"https://registry.npmjs.org/copy-heroku-releases/-/copy-heroku-releases-0.8.6.tgz","integrity":"sha512-O0X8CbYKAEAWIkQh8hy+eAg4/R3sT4o+Tev6/EL1+V1R8GJiM5efN2ftnyZCUrfbRDkw6Hefdbcwkwwf3zTx+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqphLRgiaeV/mPmrB2Tvrksgkdp04hpvFt5tBVY08KrAiAQuBGuIGd7IwILeP7V+EihLJyDW/5MppZXpAqYafB50g=="}]},"_from":".","_npmVersion":"1.2.23","_npmUser":{"name":"mondraymond","email":"ray@mcdermott.be"},"maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}]}},"readme":"# copy-heroku-releases\n\nA node command line utility to copy Heroku slugs from one app to one or more other apps\n\nThis is valuable when you want the same code in different Heroku apps to partition your system (for example by country)\n\nFor details of the Heroku platform API see\n\nhttps://blog.heroku.com/archives/2013/12/20/programmatically_release_code_to_heroku_using_the_platform_api\n\n## Getting Started\n\nInstall the command line utility with: `npm install -g copy-heroku-releases`\n\nYou must have an account on Heroku\n\n## Documentation\n\nThis program will deploy a slug from one application to one or more others. You must own these apps.\n\nThe default is to copy the most recent (highest) release\n\nThe program accepts its parameters from the environment rather than the command line.\n\n## Environment variables\n\nMandatory parameters\n\nThe source application name: DEPLOY_SOURCE_APPLICATION\n\nThe Heroku API key for your account: DEPLOY_HEROKU_API_TOKEN\n\nThe target organisation: DEPLOY_TARGET_ORGANISATION\n\nThe list of target apps: DEPLOY_TARGET_APP_FILTER\n\nNote: the target apps can be a list of regular app names or a list of regexes or a mix of both\n\nOptional parameters\n\nYou can run a rehearsal of the deployment by setting DEPLOY_REHEARSAL to true. This will list the action that the program would take but prevents execution.\n\nYou can request an explicit release setting DEPLOY_RELEASE_NUMBER. This will use the specific release rather than the latest.\n\nYou can obtain a DEBUG trace by setting DEPLOY_DEBUG to true\n\n## Errors\n\nSome releases don't have slugs and this is reported as an error\n\nIf the requested release number is not present this is reported as an error\n\n## Examples\n\n$ copy-heroku-releases\n\nSource app: bamboo-test-deploy-app source version: 27 ('Rollback to v25') source slug: 4bd9fcde-c6b0-499d-9029\n\nCopied slug 4bd9fcde-c6b0-499d-9029 to app test-deploy-xyz [created new app version 36]\n\nCopied slug 4bd9fcde-c6b0-499d-9029 to app test-deploy-xyz [created new app version 35]\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n0.8.5 - added DEBUG option\n0.8.4 - use promises and JSHint conformance\n0.8.3 - hack to support deploying apps by organisation\n0.8.2 - relies on the updated Heroku client now ... and I have more TODOs!\n0.8.1 - realised that it wasn't fully functional ... proxy patch\n0.8.0 - fully functional for me ... not 1.0.0 as I haven't socialised this enough yet :)\n\n## License\nCopyright (c) 2014 Ray McDermott  \nLicensed under the MIT license.","maintainers":[{"name":"mondraymond","email":"ray@mcdermott.be"}],"time":{"modified":"2022-06-13T23:16:29.801Z","created":"2014-01-31T09:40:29.694Z","0.8.0":"2014-01-31T09:40:30.238Z","0.8.1":"2014-02-12T12:37:26.504Z","0.8.2":"2014-02-14T15:14:54.380Z","0.8.3":"2014-02-16T15:00:35.336Z","0.8.4":"2014-02-18T12:04:51.407Z","0.8.5":"2014-05-23T12:32:48.845Z","0.8.6":"2014-05-23T13:55:55.675Z"},"readmeFilename":"README.md","author":{"name":"Ray McDermott","email":"ray@mcdermott.be"},"repository":{"type":"git","url":"https://github.com/raymcdermott/copy-heroku-releases.git"},"homepage":"https://github.com/raymcdermott/copy-heroku-releases","keywords":["heroku","releases","slug"],"bugs":{"url":"https://github.com/raymcdermott/copy-heroku-releases/issues"}}