![From Academia to Industry](https://cdn.sanity.io/images/cgdhsj6q/production/70501690bf807891573e259da9719cf24302c7e3-4288x2848.jpg?w=400&fit=max&auto=format)
Employee Spotlight
From Academia to Industry
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.
@financial-times/change-request
Advanced tools
Automate opening/closing of change requests for FT applications
Readme
Automate opening/closing of change requests for FT applications.
change-request \
--owner-email "you@ft.com" \
--summary "Hello World" \
--description "This is a description" \
--service "my service" \
--api-key "xxxxxx"
Running the change request tool requires Node.js 4.x and npm.
npm install -g @financial-times/change-request
Usage: change-request [options]
Options:
-h, --help output usage information
-V, --version output the version number
-a, --api-key <key> the API key to use when accessing the CR API
-o, --owner-email <email> the change request owner email address
-s, --summary <summary> a short summary of the change
-d, --description <description> a short description of the change
-f, --description-file <filename> file to read description from, instead of --description
-r, --reason <reason> the reason for the change. Default: "Deployment"
-c, --open-category <category> the category for opening the change request. One of "Major", "Minor", "Significant". Default: "Minor"
-C, --close-category <category> the category for closing the change request. One of "Implemented", "Partially Implemented", "Rejected", "Rolled back", "Cancelled". Default: "Implemented"
-R, --risk-profile <risk-profile> the risk profile for the change request. One of "Low", "Medium", "High". Default: "Low"
-e, --environment <environment> the environment the change request applies to. One of "Production", "Test", "Development", "Disaster Recovery". Default: "Test"
-O, --outage whether there will be an outage. Default: false
-S, --service <service> the service that the change request applies to
-n, --notify-channel <slack-channel> the slack channel to notify of the change request
To run tests on your machine you'll need to install Node.js and run make install
. Then you can run the following commands:
make test # run all the tests
make test-unit # run the unit tests
You can run the unit tests with coverage reporting, which expects 90% coverage or more:
make test-unit-coverage verify-coverage
The code will also need to pass linting on CI, you can run the linter locally with:
make verify
We run the tests and linter on CI, you can view results on CircleCI. make test
and make lint
must pass before we merge a pull request.
New versions of the module are published automatically by CI when a new tag is created matching the pattern /v.*/
.
The Financial Times has published this software under the MIT license.
FAQs
Automate opening/closing of change requests for FT applications
The npm package @financial-times/change-request receives a total of 1 weekly downloads. As such, @financial-times/change-request popularity was classified as not popular.
We found that @financial-times/change-request demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Employee Spotlight
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.
Security News
Git dependencies in open source packages can introduce significant risks, including lack of version control, stability issues, dependency drift, and difficulty in auditing, making them potential targets for supply chain attacks.
Security News
Node.js has added experimental support for TypeScript, a move that highlights the growing importance of TypeScript in modern development.