Download the PHP package imshashank/changelog-builder without Composer

On this page you can find all versions of the php package imshashank/changelog-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package changelog-builder

Changelog Builder

Build Status codecov Latest Stable Version Total Downloads License

Ideology

We believe each PR must be accompanied by an entry to the CHANGELOG.md. An up-to-date changelog helps in tracking which changes were merged in a given release. It also gives contributers their fair share and allows them to track in which release were their changes merged to the repository.

The Changelog Builder automatically processes all changelog entries. Each pull request is required to have a changelog JSON blob as part of the request. The system also calculates the next version for the package based on the type of the changes that are defined in the given changelog JSON blob.

The update simplifies the process of adding release notes to the CHANGELOG.md file for each pull request. Each merged pull request that was part of the release results in a new entry to the CHANGELOG.md file. The entry describes the change and provides the TAG number and release date.

Dependencies

chag is used to update the changelog version in CHANGELOG.md

Install chag using

Installing using composer

Add the following to your composer file and then run composer install

Using Changelog

Create a new blurb in folder .changes/nextrelease/. The name of the json blrb should be unique in that folder. To create a new Changelog, just run the below command.

Running Tests

Run the below command to run tests.

The following is a sample changelog blob.

[
    {
        "type"       : "major|feature|enhancement|bugfix",
        "category"   : "Target of Update",
        "description": "English language simple description of your update."
    }
]

Each changelog blob is required to define the “type”, “category”, and “description” fields. The “category” explains the service that the change is associated with. For release changes that are not related to any service, the category field is left as an empty string. The “description” field should contain one or two sentences detailing the changes.

The “type” field describes the scope of the change being proposed. This field helps the Changelog Builder decide if a minor version bump is needed. The “type” field is assigned one of the following values:

On each release, the builder looks inside the .changes/nextrelease folder and consolidates all JSON blobs into a single JSON document. Then the builder calculates the next version number, based on the full JSON document.

Example:

Current release Version: 1.2.3 Changelog Blob File 1: update-client.json

[
    {
        "type"       : "enhancement",
        "category"   : "tests",
        "description": "Adds support for new feature in test"
    }
]

Changelog Blob File 2: documentation-update.json

[
    {
        "type"       : "enhancement",
        "category"   : "Client",
        "description": "Update documentation for operation foo bar in Client"
    }
]

Changelog Blob File 3: repo-bugfix.json

[
    {
        "type"       : "bugfix",
        "category"   : "",
        "description": "Fixes a typo in Client"
    }
]

Consolidated JSON document: .changes/1.2.4.json Next release version: 1.2.4

[
  {
    "type": "enhancement",
    "category": "tests",
    "description": "Adds support for new feature in test"
  },
  {
    "type": "enhancement",
    "category": "Client",
    "description": "Update documentation for operation foo bar in Client"
  },
  {
    "type": "bugfix",
    "category": "",
    "description": "Fixes a typo in Client"
  }
]

A new file, with the name VERSION_NUMBER.json, will be created in the .changes folder with the contents of the JSON blob for the changelog. You can see the previous changelog JSON blobs here. If needed, we can reconstruct the CHANGELOG.md file using the JSON documents in the .changes folder.

On a successful release, the changelog entries are written to the top of the CHANGELOG.md file. Then chag is used to tag the release and label the added release notes with the current version number.

Future Work


All versions of changelog-builder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package imshashank/changelog-builder contains the following files

Loading the files please wait ....