Coder Social home page Coder Social logo

atufkas / progress-keeper Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 653 KB

Track, transform and present change log entries.

License: MIT License

PHP 100.00%
audiences changelog changelog-generator commitizen commits conventional-changelog conventional-commits release-log

progress-keeper's People

Contributors

atufkas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

emamulkhan

progress-keeper's Issues

Add GitReader for generating changelog from commit history of GIT repos

A new Reader implementation for GIT ("GitReader") should enable developers to "reversely" generate a changelog by fetching messages from a GIT commit log history, ideally by parsing tags as releases and their commits as log entries. At first place it should be possible

  • fetch a specific commit history by passing the GIT repo url
  • define a specific tag to parse (parse all by default)

Enhanced features could be:

  • defining a tag range to be fetched and parsed
  • a list of conversion rules for
    • setting defaults missing message (log entry) types
    • defining mappings for unknown message types
    • defining filter rules for messages to be skipped (regex...)

In the ideal world, a git commit history is clean, already in conventional commit log format and only consists of meaningful change sets and useful commit messages. However, the real world shows us that we'll always have a lot of noise (for good reason): Cleanups, merges, typo corrections are just a few examples.

Support for body and footer sections like in cc spec

To be inline with the conventional commit specification we'll need support for real body and footer sections of a log entry.

The JSON might be extended like that:

    {
      "date": "2018-05-08",
      "type": "upd",
      "scope": "ci",
      "desc": "Changed Travis CI install workflow to 'composer update' (instead of install).",
      "body": ["Note: Travis CI is configured to run composer update.", "Cheers, your dev-team."]
      "footer": "fixes #1, #4.",
      "audience": "*"
    },

The value of the body attribute might either be a single string or an array, where elements of arrays mark a single paragraph within the body.

Reduce or extend list of LogEntryTypes?

What kind of log entry types are actually needed in daily development?

  • Is the currently available list of types too long, too short or just right?

  • Do we need more aliases?

  • Would it make sense to modify the LogEntryType class to be easily modified/extended to customer needs?

  • Should we just strictly follow a popular guideline like the Angular Commit Message Guidelines?

Suggestions welcome!

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.