Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Integration]: GitHub Integration #5357

Closed
ZoranPandovski opened this issue Mar 31, 2023 · 6 comments
Closed

[Integration]: GitHub Integration #5357

ZoranPandovski opened this issue Mar 31, 2023 · 6 comments
Labels
app-integration New idea for the supported applications integrations hashnode-hackhathon App integrations issues for HashnodeHackhathon help wanted Extra attention is needed

Comments

@ZoranPandovski
Copy link
Member

ZoranPandovski commented Mar 31, 2023

The goal of this issue is to build a new handler that will utilize the GitHub REST API to connect MindsDB to GitHub. This integration will enable organizations and users on GitHub to use ML for issue estimations, labeling, projects recommendation, automation of comments on GitHub issues, proofreading of READMEs etc

Resources 💡

🏁 To get started, please refer to the following resources:

  • 📚 Building Application Handler docs: This documentation will guide you through the process of building a custom handler for MindsDB. It contains essential information on the handler structure, methods, and best practices.

  • 📖 GitHub REST API docs

  • 👉 Twitter Handler: This existing handler connects MindsDB with the Twitter API, allowing users to automate tasks related to posting and analyzing tweets. You can use the Twitter Handler as a reference for building the Slack API integration.

  • 👉 Binance API Handler: Another example of a successful MindsDB integration to the Binance API to make trade data available to use for model training and predictions.

Next Steps 🕵️‍♂️ 🕵️‍♀️

  • You can familiarize yourself with the GitHub API.
  • Create a new handler that connects MindsDB to GitHub.
  • Implement the core features mentioned above.
  • Thoroughly test the integration to ensure proper functionality.
  • Submit a pull request with the new GitHub Integration handler.

Hackathon Issue 📢

MindsDB has organized a hackathon on Hashnode to bring ML to more applications.

Each hackathon issue can bring you rewards and prizes 🏆 .

Check out the MindsDB Hackathon rules on Hashnode!

The hashnode-hackhathon App integrations issues for HashnodeHackhathon Label

We are happy to welcome you on board! Please take a look at the rules below if you are participating in the HashnodeHackhathon.

  1. We are not assigning this type of issue to anyone. Multiple contributors can work on this, or even better, you can create a team and work together. Join our Slack to discuss more details. We will merge the best-quality PR.

  2. After you create your first PR in the MindsDB repository, please sign our CLA to become a MindsDB contributor. You can do that by leaving a comment in the Pull Request that contains the following: I have read the CLA Document and I hereby sign the CLA

Thank you for contributing to MindsDB 🐻 !

@ZoranPandovski ZoranPandovski added help wanted Extra attention is needed app-integration New idea for the supported applications integrations hashnode-hackhathon App integrations issues for HashnodeHackhathon labels Mar 31, 2023
@khanjasir90
Copy link

@ZoranPandovski I am working on this issue! :)

@aia
Copy link
Contributor

aia commented Apr 5, 2023

Wrote an initial implementation in #5474.

  • GitHub Issues table for a given Repository
    • Support LIMIT
    • Support WHERE
    • Support ORDER BY
    • Support column selection

@aia
Copy link
Contributor

aia commented Apr 16, 2023

Added issue INSERT support to the github_handler in #5655.

  • GitHub Issues Table for a given Repository
    • Support INSERT
      • Support title, body, assignee, milestone, and labels columns

@ZoranPandovski
Copy link
Member Author

Accepted the #5655 PR from @aia .

@ZoranPandovski
Copy link
Member Author

@aia Feel free to add the new features in new PR

@aia
Copy link
Contributor

aia commented Apr 26, 2023

Added Pull Requests table implementation in #5792.

  • GitHub Pull Requests table for a given Repository
    • Support LIMIT
    • Support WHERE
    • Support ORDER BY
    • Support column selection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-integration New idea for the supported applications integrations hashnode-hackhathon App integrations issues for HashnodeHackhathon help wanted Extra attention is needed
Development

No branches or pull requests

3 participants