Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
gerrit-event-emitter
Advanced tools
A thin wrapper of gerrit-stream for Node.js.
Install the module with: npm install gerrit-event-emitter
var GerritEventEmitter = require('gerrit-event-emitter').GerritEventEmitter,
gerritEventEmitter = new GerritEventEmitter('gerrit.example.com', 29418);
gerritEventEmitter.on('patchsetCreated', function(eventData) {
// do something.
});
gerritEventEmitter.start() // start gerrit-stream process.
The GerritEventEmitter
class inherited from EventEmitter2.
So you can use EventEmitter2 methods basically.
new GerritEventEmitter(host, port, [, enabledAutoRestart ]);
patchsetCreated
changeAbandoned
changeRestored
changeAbandoned
changeRestored
changeMerged
commentAdded
refUpdated
gerritStreamWrite
gerritStreamEnd
In 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.
Copyright (c) 2014 Shogo Iwano Licensed under the MIT license.
FAQs
A thin wrapper of gerrit-stream.
The npm package gerrit-event-emitter receives a total of 9 weekly downloads. As such, gerrit-event-emitter popularity was classified as not popular.
We found that gerrit-event-emitter 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.