Giter VIP home page Giter VIP logo

britney's Introduction

Britney - Bulk GitHub Issues Creator

Britney is a powerful tool designed to streamline the process of creating multiple GitHub issues. Leveraging AI and customizable templates, Britney allows you to generate bulk issues efficiently, saving time and effort.

Features

  • Bulk Issue Creation: Generate multiple issues at once using predefined templates.
  • AI Integration: Utilize AI to customize issue content dynamically.
  • Customizable Templates: Define your own templates for issue titles and bodies.

Getting Started

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository:
git clone https://github.com/tm26a21/Britney.git
cd Britney
  1. Set up environment variables: Create a .env file in the root directory and add your GitHub token and other configuration settings:
    GITHUB_TOKEN=your_github_token
    GITHUB_OWNER=your_github_username
    GITHUB_REPO=your_repository_name
    OLLAMA_MODEL=desired_model_name
  1. Build the project:
   cargo build --release

Usage

Run the project

   cargo run

Britney will read the configuration from the .env file and use the specified templates and AI model to generate issues. You will be prompted to validate the issues before they are created and pushed to your GitHub repository.

Contributing

Contributions are welcome! Please refer to the Contribution Guidelines for more details.

britney's People

Contributors

tm26a21p avatar

Stargazers

Guilhem Santé avatar

Watchers

 avatar

britney's Issues

**issue1 in src/britney.rs**

Description

The Britney struct does not properly handle the desired model environment variable.

Expected Behavior

When creating a new instance of Britney, it should correctly set the desired_model field to the value of the OLLAMA_MODEL environment variable.

Britney is not alive in src/britney.rs


Description

Britney, a Github Issues generator, should be alive and functioning properly.

Expected Behavior

Britney should be able to generate professional Github issues without any errors or crashes.

    **This issue was generated by Britney, a Github Issues generator.  Check it out [here](https://www.github.com/tm26a21p/britney)**

Incorrect calculation of factorial in paul.py


Description

The function calculate_factorial(n) in paul.py does not correctly calculate the factorial of a given number.

Expected Behavior

The function should return the correct factorial value for any given positive integer n. For example, calculate_factorial(5) should return 120.

  • Review the loop range to ensure it includes the input number.

  • Verify that the result is being correctly multiplied by each iteration of the loop.

      **This issue was generated by Britney, a Github Issues generator.  Check it out [here](https://www.github.com/tm26a21p/britney)**
    

Error in src/britney.rs


Description

The Britney struct is not properly generating GitHub issues.

Expected Behavior

The generate_issues_from_file method should produce a professional GitHub issue based on the provided code, with a correct title and body.

Unexpected Behavior in Britney's create_modelfile Method


Description

The create_modelfile method in Britney, a Github Issues generator, is not functioning as expected. When attempting to generate a Modelfile using the ollama show --modelfile model > Modelfile command, the contents of the file are not being replaced correctly.

Expected Behavior

The create_modelfile method should replace the template string in the generated Modelfile with the correct behavior description. The resulting Modelfile should contain the accurate information about Britney's capabilities and usage guidelines.
Please investigate this issue and provide a fix to ensure that the create_modelfile method works as intended, generating a correct and functional Modelfile for Britney.
This issue was generated by Britney, a Github Issues generator.
Check it out here

Uncaught Panic in `src/britney.rs`


The program crashes when running the check method.

Description

When calling the check method, the program panics and exits abnormally. This issue was generated by Britney, a Github Issues generator.

Expected Behavior

The program should not crash and should continue executing normally after the check method is called.

  • Investigate the source of the panic.

  • #6

      **This issue was generated by Britney, a Github Issues generator.  Check it out [here](https://www.github.com/tm26a21p/britney)**
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.