Skip to main content

Release notes generator package

Project description

Code Climate Code Climate Coveralls PyPI PyPI

Just Release Notes

The tool provides a way of customizing the process of generating the Release Notes based on:

  • Issue tracking identifiers in commit messages

  • Tags on commit

  • Release artifacts repository

Running the tool

Usage

To run the tool, call:

& just_release --config <config.json> notes

Configuration

Configuration file is in flux. For now it is a json looking something like this:

{
   "pathToSave" : <output path>,

    "packages" : {
        <package name> : {
            "Issues" : [{
                "Provider" : <issues provider>,
                "HtmlUrl" : ...,
                "Authorization" : ...,
                "Url" : ...,
                "WebImagesPath" : ...,
                "TicketRegex" : ...
            }],
            "Releases" : {
                "Provider" : <releases provider>,
                "Repository" : ...,
                "ArtifactUri" : ...,
                "StorageUrl" : ...
            },
            "Source" : {
                "Provider" : <source provider>,
                "RepositoryUrl" : ...,
                "Remote" : ...,
                "Branch" : ...,
                "VersionTagRegex" : "^([0-9]+\\.[0-9]+\\.[0-9]+)$",
                "OldestCommitToProcess" : <commit hexsha>,
                "ExcludeCommitsWithMessageMatchingRegex" : <regex>
            },
            "ReleaseNotesWriter" : [{
                "Provider" : <notes writer provider>
                "PathToSave" : ...
            }]
        }
    }
}

where

notes writer provider is either:

  • HtmlWriter

  • MarkdownWriter

  • GitHubMarkdownWriter

  • StashMarkdownWriter

  • JsonWriter

releases provider is either:

  • Artifactory

  • GitHubReleases

issues provider is either:

  • JiraIssues

  • GitHubIssues

It is also possible to specify an array of issue providers, then all of them will be used to retrieve information about tickets.

source provider is currently only:

  • GitRepo

You can also use environment variables using the following syntax:

{
    ...
    "key" : "aaa ENV[xxx] bbb"
    ...
}

In the above example, ENV[xxx] will be replaced with the value of ‘xxx’ variable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

JustReleaseNotes-0.1.12.zip (26.9 kB view details)

Uploaded Source

File details

Details for the file JustReleaseNotes-0.1.12.zip.

File metadata

File hashes

Hashes for JustReleaseNotes-0.1.12.zip
Algorithm Hash digest
SHA256 aeff5ab8fa975fc0dae75dc64a7bdfe87ab911c887ae2b29a316083b4e8de1fe
MD5 7c160904387db8c92301d77baca512ba
BLAKE2b-256 f6e7a6555921f1a59ed34623cfcb174e038cf2f7ea9d004e856bd8ac7e624a9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page