semantic-release / issue-parser Goto Github PK
View Code? Open in Web Editor NEWParser for Github, GitLab and Bitbucket issues actions, references and mentions
License: MIT License
Parser for Github, GitLab and Bitbucket issues actions, references and mentions
License: MIT License
parse('github')
Fixes #1,#2
{ actions:
[ { raw: 'Fixes #1',
action: 'Fixes',
slug: undefined,
prefix: '#',
issue: '1' } ],
refs: [ { raw: '#2', slug: undefined, prefix: '#', issue: '2' } ],
duplicates: [],
mentions: [] }
Should return 2 actions instead of 1 action and 1 ref.
Branch | Build failing π¨ |
---|---|
Dependency | semantic-release |
Current Version | 15.9.6 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
repositoryUrl
to https" (93377eb)The new version differs by 1 commits.
93377eb
revert: "fix: do not convert ssh repositoryUrl
to https"
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/release.yml
actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
.github/workflows/test.yml
actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
package.json
lodash.capitalize ^4.2.1
lodash.escaperegexp ^4.1.2
lodash.isplainobject ^4.0.6
lodash.isstring ^4.0.1
lodash.uniqby ^4.7.0
ava 6.1.3
codecov 3.8.3
lockfile-lint 4.13.2
ls-engines 0.9.1
npm-run-all2 6.2.0
nyc 15.1.0
publint 0.2.8
xo 0.28.3
node ^18.17 || >=20.6.1
.nvmrc
node 20
Branch | Build failing π¨ |
---|---|
Dependency | semantic-release |
Current Version | 15.9.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
b2d82c2
docs: specify for each step if one or more plugins are required/allowed
31ec1eb
docs: fix configuration doc syntax
d8c84a0
fix: clarify EPLUGINCONF
error message
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
const issueParser = require('issue-parser');
const parse = issueParser('gitlab');
From: Managing Issues > Default closing pattern
Awesome commit message
Fix #20, Fixes #21 and Closes group/otherproject#22.
This commit is also related to #17 and fixes #18, #19
and https://gitlab.com/group/otherproject/issues/23.
{
"actions": {
"close": [
{
"raw": "Fix #20",
"action": "Fix",
"prefix": "#",
"issue": "20"
},
{
"raw": "Fixes #21",
"action": "Fixes",
"prefix": "#",
"issue": "21"
},
{
"raw": "Closes group/otherproject#22",
"action": "Closes",
"slug": "group/otherproject",
"prefix": "#",
"issue": "22"
},
{
"raw": "fixes #18",
"action": "Fixes",
"prefix": "#",
"issue": "18"
}
],
"duplicate": []
},
"refs": [
{
"raw": "#17",
"prefix": "#",
"issue": "17"
},
{
"raw": "#19",
"prefix": "#",
"issue": "19"
},
{
"raw": "https://gitlab.com/group/otherproject/issues/23",
"slug": "group/otherproject",
"issue": "23"
}
],
"mentions": []
}
Issue 19 and 23 should be interpreted as close.
If it helps, their parser code is at: closing_issue_extractor.rb
{
"actions": {
"close": [
{
"raw": "Fix #20",
"action": "Fix",
"prefix": "#",
"issue": "20"
},
{
"raw": "Fixes #21",
"action": "Fixes",
"prefix": "#",
"issue": "21"
},
{
"raw": "Closes group/otherproject#22",
"action": "Closes",
"slug": "group/otherproject",
"prefix": "#",
"issue": "22"
},
{
"raw": "fixes #18",
"action": "Fixes",
"prefix": "#",
"issue": "18"
},
{
"raw": "#19",
"prefix": "#",
"issue": "19"
},
{
"raw": "https://gitlab.com/group/otherproject/issues/23",
"slug": "group/otherproject",
"issue": "23"
}
],
"duplicate": []
},
"refs": [
{
"raw": "#17",
"prefix": "#",
"issue": "17"
},
{
"raw": "#19",
"prefix": "#",
"issue": "19"
},
{
"raw": "https://gitlab.com/group/otherproject/issues/23",
"slug": "group/otherproject",
"issue": "23"
}
],
"mentions": []
}
using github
"Fix: https://github.com///issues/5",
Recognizes this as a reference, but not a close
This would be picked up as a close action
Branch | Build failing π¨ |
---|---|
Dependency | semantic-release |
Current Version | 15.9.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
cli.js
(43d0646)The new version differs by 1 commits.
43d0646
fix: also hide sensitive info when loggin from cli.js
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Can i parse org/private repo issues??
Branch | Build failing π¨ |
---|---|
Dependency | codecov |
Current Version | 3.0.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
codecov is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Fix for not git repos
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.