Skip to main content

Greg's Simple Changelog Generator

Project description

GSLogger: Greg's Simple Changelog Generator

Urls

Features

  • Automatically generates changelogs based on user input
  • Supports multiple changelog entries
  • Uses Markdown formatting for easy readability

Usage & initialization

create logs

To use the changelog generator run it from the command line and follow the prompts.

c:\myproject>glog

If this is the first run, here is where you will be asked details about the app and the developer/contributor. Newly created changelog artifacts will be stored in c:\myproject\ch-logs\ directory as c:\myproject\ch-logs\<date>.txt files. These can be opened and edited any time before being collected.

example:

2024-09-24-18-09
ADDED
this is an example of a changelog artifact message for the updated README.md
Gregory Denyes <Greg.Denyes@gmail.com>

Collecting logs & Versioning

For collecting artifacts and incrementing the current version, use the -c flag like so:

c:\myproject>glog -c

Any artifacts containing --r or --f will force increment Major Release or Feature versioning psuedo-Semantically. All existing artifacts will be processed and stored in ~myproject\ch-logs\log_store.json.

Generating Changelog.md

Generate the changelog.md from the ~myproject\ch-logs\log_store.json file by using the -g flag like so:

c:\myproject>glog -g

Version details will be sorted by version, and all parts of the final Changelog will be output to ~myproject\changelog.md

Configuration

On first run, if this file and the configuration are not present, app will automatically begin asking for these details and save them to a newly created file. The tool uses a glog.json file to store the configuration:

{
    "CHTYPES": [
        "FUTURE UPDATES",
        "ADDED",
        "CHANGED",
        "REMOVED",
        "FIXED",
        "SECURITY"
    ],
    "app": {
        "app_title": "GSLogger",
        "atf_pattern": ".txt",
        "build_number": 123,
        "f_count": 3,
        "version_number": [
            0,
            2,
            70
        ]
    },

This section contains your name and email for proper labelling of contributors to the changelog. when first initiating the app, you will be asked to either allow the app to pull from your git profile, or enter it manually.

"dev": {
        "dev_email": "Greg.Denyes@gmail.com",
        "dev_link": "https://github.com/friargregarious",
        "developer": "Gregory Denyes"
    },

This section contains full paths to the files & folders that will be used by this tool.

    "paths": {
        "CWD": "",
        "DIR_OUTPUT": "",
        "FILE_CONFIG": "",
        "FILE_LOG": "",
        "FILE_OUTPUT": ""
    }
}

Note: future features includes a re-calibrate command to update and change these settings if user wants to.

Output

The generated changelog is stored in a file called changelog.md in the app's root directory.

Contributing

If you'd like to contribute to the development of this tool, please fork the repository and submit a pull request with your changes.

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

gslogger-0.2.72.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gslogger-0.2.72-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gslogger-0.2.72.tar.gz.

File metadata

  • Download URL: gslogger-0.2.72.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for gslogger-0.2.72.tar.gz
Algorithm Hash digest
SHA256 e512af4884471c2a73d33b5c7989d971752832c8e11d4d5ace639e7327da9e55
MD5 b4a1746596c5460ac2a4e82f92e7b554
BLAKE2b-256 a15b12d88c94acb86a3253de61548ab08d92ef7a7aa266beee9673b07b9cedca

See more details on using hashes here.

File details

Details for the file gslogger-0.2.72-py2.py3-none-any.whl.

File metadata

  • Download URL: gslogger-0.2.72-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for gslogger-0.2.72-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bcbb38aae9225eb1fca8b98ea8108eb12397ab99b05aeabae0a80d906723df70
MD5 23eb864bc46fa1745ebc944ccc9dabf0
BLAKE2b-256 63085ad38c7edac455f313809dd97b4522a60132bc835399343303b410f49844

See more details on using hashes here.

Supported by

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