Coder Social home page Coder Social logo

arifer612 / commit-and-tag-version.el Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liuyinz/emacs-conventional-changelog

0.0 0.0 0.0 517 KB

commit-and-tag-version plugin for Emacs.

License: GNU Affero General Public License v3.0

Emacs Lisp 100.00%

commit-and-tag-version.el's Introduction

commit-and-tag-version.el

https://img.shields.io/badge/license-GPL_3-green.svg

Generate and update the CHANGELOG in the conventional-changelog style on Emacs. This package provides the interface conventional-changelog-menu, which is built with transient, between command-line tool commit-and-tag-version and Emacs. Call conventional-changelog-menu to start.

This is based off the original work emacs-conventional-changelog by liuyinz. The author has since deprecated the project and has since developed a new package, git-cliff.el, that generates CHANGELOGs using git-cliff. To discern this project from the original, the name is changed to commit-and-tag-version.el.

Screenshot

./image/conventional-changelog-menu.png

  • (OPTIONAL) Integrate with magit:

./image/integrate-magit.png

Install

Dependencies

Package

Manually

Clone the project, add to load-path, and require the package.

git clone https://github.com/arifer612/commit-and-tag-version.el
;; .emacs
(add-to-list 'load-path /path/to/conventional-changelog.el)
(require 'conventional-changelog)

Melpa recipe

Fetch the package through a Melpa recipe, and require the package.

;; .emacs
(conventional-changelog
 :fetcher github
 :repo "arifer612/commit-and-tag-version.el")
(require 'conventional-changelog)

Usage

;; Directly (require 'conventional-changelog)
(with-eval-after-load 'magit-tag   ;; Integrate to `magit-tag'
  (transient-append-suffix
    'magit-tag
    '(1 0 -1)
    '("c" "changelog"
      conventional-changelog-menu)))

;; Or with \`use-package', etc
(use-package conventional-changelog
  :init
  (with-eval-after-load 'magit-tag
    (transient-append-suffix
      'magit-tag
      '(1 0 -1)
      '("c" "changelog" conventional-changelog-menu))))

Call conventional-changelog-menu

Features

  • Totally compatible with commit-and-tag-version’s configuration by default.
  • Supports both CHANGELOG.md and CHANGELOG.org. The CHANGELOG file is automatically identified if it exists in the repository.
  • Options for release-as and -prerelease are highly customizable.
  • Integration with magit.
  • Uses .versionrc files in the repository root if available.

Comparisons

These are the comparisons against other packages that also generate CHANGELOG files that follow the semantic versioning standard.

el-conventional-changelog

  • Not compatible with commit-and-tag-version.
  • Supports Org only.

markdown-changelog

  • Does not follow the conventional style.
  • Supports Markdown only.

emacs-conventional-changelog

  • Deprecated.
  • Not compatible with commit-and-tag-version.
  • Only supports .versionrc files in the home directory.

License

Refer to LICENSE.

commit-and-tag-version.el's People

Contributors

liuyinz avatar arifer612 avatar syohex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.