Skip to content

puppetlabs/puppet-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

puppet-commit

AI-Powered Commit Generator

The AI-Powered Commit Generator is a repository that demonstrates the usage of artificial intelligence to automatically generate commit messages for software development projects. By leveraging OpenAI's GPT-3.5 language model, this repository aims to streamline the process of creating informative and concise commit messages.

Features

  • Automated Commit Message Generation: The AI model analyzes code changes, commit histories, and issue tracking systems to generate commit messages automatically. This saves developers time and effort in crafting detailed commit messages manually.

  • Consistency and Style: The AI-Powered Commit Generator helps maintain consistency in commit message styles across a project or organization. It adheres to predefined guidelines or patterns to ensure a unified and coherent message structure.

  • Clarity and Readability: Generated commit messages provide clear and concise summaries of the code changes, effectively communicating their purpose and impact. This improves comprehension and collaboration among team members.

  • Error Prevention: The AI model assists in reducing human errors in commit messages. It identifies potential issues such as missing references or inadequate descriptions, helping to maintain the quality and accuracy of commit messages.

Getting Started

To start using the AI-Powered Commit Generator in your software development workflow, follow these steps:

  1. Setting up API Token: In order to use openAI you need to generate a token:

    export OPENAI_API_KEY=<API KEY SHOULD GO HERE.>
  2. Installation: Clone the repository to your local development environment.

    git clone https://github.com/puppetlabs-commit
  3. Setup Dependencies: Install the required dependencies by running the following command:

    bundle install
  4. Execution: Running the script to generate your AI powered commit message run the following command:

    bundle exec puppet-commit
    puppet-commit-demo.mov
  5. Execution: If you want puppet-commit to create your PR for you as well, run the following command instead of the above:

    bundle exec puppet-commit --create-pr
    puppet-commit-pr-demo.mov

Contributing

Contributions to the AI-Powered Commit Generator repository are welcome! If you would like to contribute, please follow the guidelines outlined in the CONTRIBUTING.md file. By contributing to this project, you help improve the effectiveness and usability of AI-generated commit messages in software development workflows.

License

The AI-Powered Commit Generator repository is licensed under the Apache-2.0 License. Refer to the LICENSE file for more information.

Acknowledgments

We would like to express our gratitude to OpenAI and the contributors of the GPT-3.5 language model for their efforts in advancing natural language processing and making AI-powered commit generation possible.

Support

If you encounter any issues or have questions regarding the AI-Powered Commit Generator, please open an issue in the repository. We appreciate your feedback and will respond to your inquiries as soon as possible.

Happy coding!

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages