apache / apache/cordova-coho

`coho update-release-notes` should also format PR/issue IDs as links

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
32
Forks
62
Avg merge
9h 19m
Merged PRs (30d)
8

Description

Currently:

```
$ for l in $ACTIVE; do (coho update-release-notes -r $l -g); done
Finding commits in cordova-plugin-splashscreen from tag 5.0.2 to tag master
Done formatting JIRA links for: E:\Projects\Cordova\coho Checkouts 2\cordova-plugin-splashscreen\RELEASENOTES.md
```

This creates something like:

```
* [CB-13826](https://issues.apache.org/jira/browse/CB-13826) Incremented plugin version.
```

But GitHub issues and PR IDs are not touched:

```
* CI: Use universal paramedic travis.yml (#210)
```

It would be nice if those were edited to
```
* CI: Use universal paramedic travis.yml ([#210](https://github.com/apache/cordova-plugin-splashscreen/pull/210))
```

Problem: The repo name is not available as a param, so we would have to probably 1) take it from the folder name, which could also be named "telephone", or 2) parse it from `package.json`.

Contributor guide

Open the contributing guide

Research direction

Start at the coho update-release-notes command and inspect how it currently formats JIRA links in generated RELEASENOTES.md files. Review package.json as the issue suggests for repository identity, then verify that GitHub issue and pull-request IDs become links using the repository URL while existing JIRA formatting still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.