Skip to main content

Greg's Simple Changelog Generator

Project description

GSLogger: Greg's Simple Changelog Generator

A Python-based tool for generating changelogs in Markdown format. created by: Friar Greg Denyes Licensed under: Apache License Version 2.0 Can be found at PyPi: https://pypi.org/project/GSLogger/0.1.0/ and Github: https://github.com/friargregarious/glogger

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 c:\myproject\ch-logs\log_store.json.

Generating Changelog.md

Generate the changelog.md from the c:\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 c:\myproject\changelog.md

Configuration

The tool uses a glog.toml file to store configuration data, including the application title, developer name, and developer link.

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.

example:

[app]
app_title = "GSLogger"
version_number = [ 0, 2, 58,]
build_number = 111
f_count = 3
atf_pattern = ".txt"

[dev]
developer = "Gregory Denyes"
dev_email = "Greg.Denyes@gmail.com"
dev_link = "https://github.com/friargregarious"

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.70.tar.gz (18.1 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.70-py2.py3-none-any.whl (13.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: gslogger-0.2.70.tar.gz
  • Upload date:
  • Size: 18.1 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.70.tar.gz
Algorithm Hash digest
SHA256 b1bf8bfa1ff025277b6d135e817eda4025cc1a3b5bda952d9d09c77a2a4ac76e
MD5 53ab78f65d4289cf6d5e72110bdb716a
BLAKE2b-256 44027c7128ec7fac6fefaf2473131373fa0a59ea3970eb451eb26040e303dcd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gslogger-0.2.70-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.70-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0be2eb630f9d5a7c12675eafbfff4f6141cc0f5db628a77b28f4af03c87e2563
MD5 e1b2b00aa838267c1ccdbddcba5d0ea6
BLAKE2b-256 88757d5579f2591f85193fac48e68afad4ef3e9491109b4060582a39167df2e7

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