Skip to content

Releases: 25077667/cg

Release v1.0.1-62-bf69087fe3bb9fe5c8d5b99f3495cf7bacb71899

feat: switch default module to gpt-4o-mini

Release v1.0.1-61-c42889035585e99f258e52596d89fe19c6c2f1ff

feat: update dependencies in release workflow

Add libffi-dev to fix missing ffi.h file during build process. Update the
installation command in the release workflow to include libffi-dev package.
This change ensures that the build process completes successfully by providing
the necessary dependency for building '_cffi_backend' extension.

Release v1.0.0-57-2a78e1c052afc8ef25d0693eda90be725adabc62

feat: Update version to 1.0.0

Update the version from 0.1.0 to 1.0.0 in pyproject.toml file and add a new __version__.py file with the updated version number "1.0.0". Also, include a description for the argument parser in args.py and provide a link to the project repository.

For more details, see: https://github.com/25077667/cg

feat: Add copy_artifact_dest and copy_artifact_path options

Add support for specifying the destination directory for copied artifacts and the path of the artifact to be copied. This allows more flexibility in handling artifacts generated during the workflow execution.

- Added `copy_artifact_dest` option to specify destination directory for copied artifacts
- Added `copy_artifact_path` parameter to define path of specific artifact to be copied
- Updated workflow steps to include copying artifact based on architecture into designated release folder

feat: Update release workflow to correctly extract and upload artifacts

- Use the current working directory variable to set the base path
- Create a temporary mount directory in runner's temp folder
- Mount the output image into the temporary mount directory
- Create a 'release' folder in the current directory for artifact extraction
- Copy artifacts from mounted location to local 'release' folder for upload via actions/upload-artifact

This commit updates the release workflow in '.github/workflows/release.yml'
to improve artifact extraction and uploading process.

feat: Update release workflow to upload image artifact

Add a step to extract and upload the image artifact for debugging
purposes. Now, the workflow uploads the image file instead of the elf
file. Also, commented out uploading elf file for now.

feat: Add script to extract binary from ARM Linux image

Add a new script `armlinux_loopdev_extract.sh` to extract the binary
file from an ARM Linux image. This script sets up loop devices, mounts
the partition, and copies the binary file to the specified output file.

The script checks if the necessary arguments are provided and verifies
the existence of the image file. It then sets up a loop device for the
image, identifies and mounts the second partition, copies the binary,
and unmounts/detaches loop devices upon completion.

The addition enhances automation by facilitating extraction of binaries
from ARM Linux images efficiently.

Release v1.0.0-56-e39e3bbf3b4dcaa09629b08c32ccea0feb40b1d4

feat: Add script to extract binary from ARM Linux image

Add a new script `armlinux_loopdev_extract.sh` to extract the binary
file from an ARM Linux image. This script sets up loop devices, mounts
the partition, and copies the binary file to the specified output file.

The script checks if the necessary arguments are provided and verifies
the existence of the image file. It then sets up a loop device for the
image, identifies and mounts the second partition, copies the binary,
and unmounts/detaches loop devices upon completion.

The addition enhances automation by facilitating extraction of binaries
from ARM Linux images efficiently.

Release v1.0.0-49-2c78f082ae6f7b42c8cb877bdd52d0aa5452caa9

feat: Update release workflow to upload image artifact

Add a step to extract and upload the image artifact for debugging
purposes. Now, the workflow uploads the image file instead of the elf
file. Also, commented out uploading elf file for now.

Release v1.0.0-45-e1065a36913aebc7a746c2eb20e5aebc2b32885c

feat: Update version to 1.0.0

Update the version from 0.1.0 to 1.0.0 in pyproject.toml file and add a new __version__.py file with the updated version number "1.0.0". Also, include a description for the argument parser in args.py and provide a link to the project repository.

For more details, see: https://github.com/25077667/cg

Release v0.1.0-26-266b1a709088010c4138b7de95077e00292c0c6e

chore: Remove unnecessary artifact download step

The artifact download step for cg-x86_64.macho has been removed as it is no longer needed. The workflow now only downloads the necessary artifacts for the release process.

Release v0.1.0-20-9c8ab375a1fba7a952475b75b98228c0408df7d3

02 Oct 19:26
9c8ab37
Compare
Choose a tag to compare
build(deps): bump gitpython from 3.1.32 to 3.1.35

Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.32 to 3.1.35.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.32...3.1.35)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Release v0.1.0-19-bffe003fc25fb35aaad89c686ee82a222f0b78e8

Release v0.1.0-18-ddf6ae8ded2c46eb9180e2ecd3f1e1f33edb2a8d

11 Jun 19:45
ddf6ae8
Compare
Choose a tag to compare
feat(config): add initial token if tokens list is empty (#8)

* feat: add timeout configuration option (#6)

The `timeout` configuration option has been added to the `config.json` file. This allows users to adjust the timeout value for API requests made by the commit message generator. The default value is 30 seconds.

The change was made in three files:
- README.md: updated instructions on how to increase timeout.
- src/commit_msg_generator.py: use config['timeout'] instead of hardcoded values.
- src/config_parser.py: added a new key-value pair 'timeout': 30, in default_config dictionary.

* fix(config): add initial token if tokens list is empty

If the `tokens` key in the configuration file was an empty list, this change adds an initial token to it. This ensures that there is always at least one valid token available for authentication purposes.

* feat(config): initialize tokens list with first token

The `config_parser.py` file has been updated to initialize the `tokens` list with the first token instead of appending it. This change ensures that there is always at least one token in the list, which is required for proper functionality. The method used to set this up was also modified slightly to ensure consistency and readability throughout the codebase.