![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@codefresh-io/pipeline-autobot
Advanced tools
Component for analyze github repository use github statistic API and generate codefresh steps according repo info.
Examples how use repo analyzer
Run test.js with envs
PASSWORD=****2
REPO_OWNER=codefresh-io
REPO_NAME=pipeline-manager
GIT_CONTEXT=github
WIP
analyzer
.step(clone)
.step(build)
.step(push)
.step(packageJson)
.header(stages)
.enrich(stagesEnricher)
.transform(codefreshYaml)
.resolve()
Transformers - ability to transform from some info to whole yaml file , use cases :
Headers - ability to add some yaml parts before steps
key
use cases:
Steps - ability to add some step to generated pipeline, like git clone, build, notifications, etc
Enricher - ability to enrich each step some additional information, like stage for each step
For add new handler you should create .js in related folder (like analyzer.steps)
Each step has as input analyzer.context (you can access from it githup api, credentials, everything that you need)
module.exports = (context) => {
const { repo: { repoOwner, repoName, branch } , git } = context.getContext();
return {
step : {
type: 'git-clone',
description: 'Cloning main repository...',
repo: `${repoOwner}/${repoName}`,
revision: branch,
git
},
key: 'clone',
group: 'clone'
};
};
Where
key
- it is step name
group
- logical group, like test, linters, etc, will be helpful in future . (For now using it for stages)
FAQs
Generate yaml depend on repo context
The npm package @codefresh-io/pipeline-autobot receives a total of 36 weekly downloads. As such, @codefresh-io/pipeline-autobot popularity was classified as not popular.
We found that @codefresh-io/pipeline-autobot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.