Skip to main content

Changelist FOCI

Project description

Changelist-FOCI

Format file change information from your changelists in FOCI (File-Oriented Commit Information).

  • Potential support for more formats (markdown coming soon).

Requirements

  • Python 3.10 or higher.
  • pip (or similar package manager).
  • cli or bash capabilities.

Usage Scenarios

This package provides text formatting and re-direction via 2 methods:

  1. Print Formatted Text to Output.
    • Default mode of operation.
  2. Insert Formatted Text into Data Storage.
    • Add -c or --comment argument.
    • Useful with Workspace File workflows, where the Comment fields are loaded into commit messages.

How It Works

  1. Uses changelist_data to read/load Changelist data objects.
  2. Changelists are filtered and file names are formatted in FOCI (File Oriented Commit Information).
  3. FOCI information is directed toward standard output or storage.

CLI Arguments

Changelist Selection

Changelist Name: --cl_name An optional argument, that selects Changelists by the start of their names.

If changelist name argument is not provided, all non-empty changelists will be formatted.

Workspace Comments Feature

FOCI Comments: -c or --comment Insert the FOCI into the Data file comments, rather than printing.

  • Compatible with Changelist Selection Feature.
  • Works with both Workspace and Changelist data files.

Data File Selection

Changelists File Path: --changelists_file An optional argument used to select a Changelist data file not in the default location.

Workspace File Path: --workspace_file An optional argument, used to select a workspace file not in the default location.

If neither file path argument is provided, changelist_data package will look in the default locations, starting with the Changelist data file.

FOCI Subjects (File Path) Formatting

Full Path: --full_path The full path of the file is given in Line Subjects.

  • Includes the first slash of directories in the project root (removed by default).

File Extension: --no_file_ext or -x Remove the File Extension from File Names.

File Name: --filename or -f Include only the File Name in Subject Lines.

  • Removes the whole path to the File.
  • May be combined with the File Extension flag.

Markdown: --markdown or -m Alter original FOCI format with Markdown.

  • To be implemented in 0.5.x

Package Structure

  • changelist_foci/
  • changelist_foci/data/
  • changelist_foci/formatting/
  • changelist_foci/input/

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

changelist_foci-0.5.1.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

changelist_foci-0.5.1-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file changelist_foci-0.5.1.tar.gz.

File metadata

  • Download URL: changelist_foci-0.5.1.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for changelist_foci-0.5.1.tar.gz
Algorithm Hash digest
SHA256 cb572edf7b7f1d15a61426a786981b1356a1adb722fbd043de886aa1364edc09
MD5 9104b459dba20e18ac142a493bf6754a
BLAKE2b-256 c15bfd8e218fb633ac77b0b1150308cb2cce5e0aded0a470852fdf98799838aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for changelist_foci-0.5.1.tar.gz:

Publisher: publish.yml on DK96-OS/changelist-foci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file changelist_foci-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for changelist_foci-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c76933d5c14731ef1a9605de4a5d206f13b8e6a86d378beba78d18ffe7738b3
MD5 c092fec137a9ccafcf50ec09150b67e4
BLAKE2b-256 743da090b6b1cca3ddd2f29e71be52c761a5c7eefa80293e2e10818a821672f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for changelist_foci-0.5.1-py3-none-any.whl:

Publisher: publish.yml on DK96-OS/changelist-foci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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