Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@code-rub/core
Advanced tools
The core of @code-rub is agnostic to ticketing system, project philosophy, and technology. On its own, it will do nothing except keep track of which files have been assigned for a rub, but it doesn't know how to actually create tickets and assign them. It doesn't even log them to the console by default.
This is where the plugins come in. A code-rub plugin can change almost everything about the flow of npx code-rub
. They can provide:
setup
npx code-rub init --preset
: initialConfiguration
processAssignments
processFileQueue
Ignore
object used when generating the repository file map: processIgnore
code-rub
saves the file map, so it affects all configuration files. This should only be specified in the repositories base configuration (or sole configuration).readFileMap
and saveFileMap
respectively.
Plugins are specified by two pieces of configuration, the plugins
array and the pluginConfiguration
object. Plugin's are loaded based on the plugins
array, and the capabilities they provide are configured through their entry in pluginConfiguration
.
Plugins are loaded, and executed based on their order in the plugins
array. This is especially important for functions like processFileQueue
which chains the results during execution.
As an example, imagine you have plugin1 which removes typescript files but plugin2 expects them to be present. If you use
plugins: [plugin1, plugin2]
, plugin2 would not see any of the typescript files. If you useplugins: [plugin2, plugin1]
, plugin2 would see them since they are not removed yet.
For an example plugin implementation, check the jira
package in this repository.
FAQs
description
The npm package @code-rub/core receives a total of 3 weekly downloads. As such, @code-rub/core popularity was classified as not popular.
We found that @code-rub/core 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.