auto-commit-msg

A VS Code extension to generate a smart commit message based on file changes

MIT License

Stars
123

Bot releases are hidden (Show)

auto-commit-msg - Fix - get VS Code engine in sync with types

Published by MichaelCurrin over 3 years ago

auto-commit-msg - Add to tests, docs, CI and do refactoring

Published by MichaelCurrin almost 4 years ago

auto-commit-msg - Support existing commit message and refactor

Published by MichaelCurrin almost 4 years ago

auto-commit-msg -

Published by MichaelCurrin almost 4 years ago

auto-commit-msg -

Published by MichaelCurrin almost 4 years ago

auto-commit-msg - Add build semvar support

Published by MichaelCurrin almost 4 years ago

auto-commit-msg - Add Conventional Commit support

Published by MichaelCurrin about 4 years ago

auto-commit-msg - Improve handling of Rename/Remove messages

Published by MichaelCurrin about 4 years ago

Added tests for those too

Also did some refactor to move around and delete code.

Plus some doc changes.

auto-commit-msg - Make it easy to install a copy of the extension

Published by MichaelCurrin about 4 years ago

  • Extend docs around using a pre-built or locally built extension, using updates to package.json scripts section.
  • Clean up package.json
  • Update deps
  • Add linting to CI
  • Add to semantic.ts - note the changes are not used yet and have no coverage.
  • Disable extensions in debugger
auto-commit-msg - Create working extension that generates smart commits

Published by MichaelCurrin about 4 years ago

There have been several POCs along the way but this the closest to intended flow, so the project is going to be much more settled around this structure and adding to it.

There are instructions in the docs to manually build the extension and install it. The built file included as archive on this release.

The functionality is still limited, but clicking a button generates a message from a single changed file and pushes the message to the UI message box, which is the main point of this project.

In this released, I removed most of the Git Semantic Commit extension in favor of the much simpler and more relevant Git Prefix extension. I like the former's use of Git class so I kept that but with my own methods.

For parsing output, I used git-parse-status package as a starting point and then rewrote it so I could handle status and diff-index output.

See README.md License section for more info.

auto-commit-msg - Add functions and tests

Published by MichaelCurrin about 4 years ago

At this point the project is a mix of the Semantic Git Commit extension without modification and the generate directory of my own scripts. There are tests for both areas.

auto-commit-msg - Create src/generate directory with scripts and tests

Published by MichaelCurrin about 4 years ago

auto-commit-msg - Use Semantic Git Commit extension structure

Published by MichaelCurrin about 4 years ago

auto-commit-msg - Update shell scripts and docs

Published by MichaelCurrin about 4 years ago

auto-commit-msg - Setup project using VS Code hello world test sample

Published by MichaelCurrin about 4 years ago

auto-commit-msg - Shell hook proof of concept

Published by MichaelCurrin about 4 years ago

Badges
Extracted from project README
Node CI CodeQL License Contributions - welcome docs - Getting started view - Documentation