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:
- Print Formatted Text to Output.
- Default mode of operation.
- Insert Formatted Text into Data Storage.
- Add
-cor--commentargument. - Useful with Workspace File workflows, where the Comment fields are loaded into commit messages.
- Add
How It Works
- Uses changelist_data to read/load Changelist data objects.
- Changelists are filtered and file names are formatted in FOCI (File Oriented Commit Information).
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb572edf7b7f1d15a61426a786981b1356a1adb722fbd043de886aa1364edc09
|
|
| MD5 |
9104b459dba20e18ac142a493bf6754a
|
|
| BLAKE2b-256 |
c15bfd8e218fb633ac77b0b1150308cb2cce5e0aded0a470852fdf98799838aa
|
Provenance
The following attestation bundles were made for changelist_foci-0.5.1.tar.gz:
Publisher:
publish.yml on DK96-OS/changelist-foci
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
changelist_foci-0.5.1.tar.gz -
Subject digest:
cb572edf7b7f1d15a61426a786981b1356a1adb722fbd043de886aa1364edc09 - Sigstore transparency entry: 785916402
- Sigstore integration time:
-
Permalink:
DK96-OS/changelist-foci@2388b1ad2e5c3fa9f3b25897dbfad2f00e9cf421 -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/DK96-OS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2388b1ad2e5c3fa9f3b25897dbfad2f00e9cf421 -
Trigger Event:
release
-
Statement type:
File details
Details for the file changelist_foci-0.5.1-py3-none-any.whl.
File metadata
- Download URL: changelist_foci-0.5.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c76933d5c14731ef1a9605de4a5d206f13b8e6a86d378beba78d18ffe7738b3
|
|
| MD5 |
c092fec137a9ccafcf50ec09150b67e4
|
|
| BLAKE2b-256 |
743da090b6b1cca3ddd2f29e71be52c761a5c7eefa80293e2e10818a821672f2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
changelist_foci-0.5.1-py3-none-any.whl -
Subject digest:
2c76933d5c14731ef1a9605de4a5d206f13b8e6a86d378beba78d18ffe7738b3 - Sigstore transparency entry: 785916404
- Sigstore integration time:
-
Permalink:
DK96-OS/changelist-foci@2388b1ad2e5c3fa9f3b25897dbfad2f00e9cf421 -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/DK96-OS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2388b1ad2e5c3fa9f3b25897dbfad2f00e9cf421 -
Trigger Event:
release
-
Statement type: