Closed vishesh-baghel closed 10 months ago
The project has been updated to support MongoDB for storing installation details, with new schemas for commits and files, and functions to handle app installation events and process repository data. The .gitignore
files have been updated to ignore environment and IDE files, and various configurations for the project's Java and TypeScript libraries have been established. The new HTML page suggests an example for integrating Probot with Netlify Functions, and the TypeScript source code has been enriched with utilities and type definitions to support the new functionalities.
File or Directory | Change Summary |
---|---|
.gitignore , .idea/... |
Added ignore rules and configurations for IDE and environment files |
src/db/... |
Introduced MongoDB connection and Mongoose schemas for commits and files |
src/fetch/... |
Added functions for fetching GitHub details using Octokit and Probot |
src/index.ts , src/main.ts |
Centralized main functionality and added error handling |
src/listeners/... |
Implemented listener for app installation events |
src/processing/... |
Added functions for calculating risk scores and processing repositories |
src/types/... |
Defined types for commits, files, file paths, and risk scores |
src/utils.ts |
Introduced utility functions for time calculations |
Objective | Addressed | Explanation |
---|---|---|
Add database and save details for every installation (#1) | ✅ | |
Listen to installation events to get the data (#1) | ✅ | |
Make the required models for saving the installation details (#1) | ✅ |
In the code where rabbits hop, New changes land with a gentle plop. Data stored, with care, we'll keep, As the Probot through the repos leap. 🐇💾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
summary of changes: closes #1
Summary by CodeRabbit
New Features
Enhancements
Documentation
Chores
.gitignore
settings for JetBrains IDE files.Bug Fixes
Refactor