Automattic / Automattic/jetpack
Jetpack changelog script - commit new changelog right away
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
None / Other
### What
Commit new changelog entry created with `jetpack changelog` right away
### How
Let's assume folks are in the right branch, ready to continue by committing the changelog they just created.
Now we commit changelogs manually:
```sh
$ jetpack changelog add
...
Command 'add' for plugins/jetpack completed succesfully!
$ git add .
$ git commit -m "Changelog"
```
I'd expect the script to do it for me to save few commands:
```sh
$ jetpack changelog add
...
Changelog for plugins/jetpack added, and commited to the current branch.
```
If you need an escape hatch, just:
```sh
jetpack changelog add --no-commit
```
Contributor guide
Research direction
Start at the `jetpack changelog add` command entry point and trace how the changelog is created and how the current branch is committed. Compare the requested default commit behavior with `--no-commit`; done means the command commits the new changelog by default while preserving the opt-out.】【。} bereiken
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, php
- Domain
- cli, release, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100