Skip to content

Releases: DjangoPeng/GitHubSentinel

GitHub Sentinel v0.8.2

17 Sep 03:51
2bf25b7
Compare
Choose a tag to compare

GitHub Sentinel v0.8.2 Release Notes

Enhancements

  • Updated requirements.txt with specific version

GitHub Sentinel v0.8.1

04 Sep 06:21
12ca5c3
Compare
Choose a tag to compare

GitHub Sentinel v0.8.1 Release Notes

New Features

  • Optimized Prompt Templates Using Ollama: Enhanced the prompt templates for generating GitHub project progress reports using the Ollama privatized large model, improving the relevance and precision of generated content.

Enhancements

  • Updated README.md with Product Screenshots: Added product screenshots to the README.md to visually demonstrate the application's functionality and interface, making it easier for new users to understand the product's features.

GitHub Sentinel v0.8

01 Sep 10:00
cd06139
Compare
Choose a tag to compare

GitHub Sentinel v0.8 Release Notes

New Features

  • Expanded Hacker News Support: Enhanced functionality to automatically fetch trending topics from Hacker News at scheduled intervals and summarize daily hot trends.
  • Enhanced Gradio Interface: Improved the Gradio web interface to support multiple tabs, allowing simultaneous display of GitHub project updates and Hacker News trending topics.
  • Extended Daemon Process Capabilities: Updated the DaemonProcess to support the creation of multiple scheduled tasks for both GitHub and Hacker News, enhancing its utility and flexibility.
  • Prompt Optimization: Comprehensive optimization of prompts tailored for GitHub project progress, Hacker News trending topics, and daily trends, providing more precise and relevant responses.

Enhancements

  • Unit Testing for New Modules: Updated unit tests to include new functionalities related to the Hacker News modules, ensuring robustness and reliability.
  • Decoupling Prompts from LLM Class: Shifted the management of prompts to the ReportGenerator, allowing for better separation of concerns and easier maintenance.

Commit Log

  • Added functionality for automated fetching and summarizing of Hacker News trends.
  • Enhanced the Gradio interface to include tabs for both GitHub and Hacker News.
  • Updated DaemonProcess to handle multiple types of scheduled tasks.
  • Optimized prompts for various reporting tasks and decoupled prompt management from the LLM Class.
  • Expanded unit tests to cover new Hacker News functionalities.

GitHub Sentinel v0.7

31 Aug 14:39
588c4a5
Compare
Choose a tag to compare

GitHub Sentinel v0.7 Release Notes

New Features

  • Unit Testing Enhancements: Introduced comprehensive unit testing across the project using the unittest module. The unit tests now cover critical components, including subscription management, report generation, and interaction with large language models (LLMs). Detailed explanations of the unittest tools, such as @patch and MagicMock, are included in the newly added unit_test.md documentation.

  • Docker Integration for CI/CD: Implemented a Docker-based continuous integration and deployment (CI/CD) system to ensure code reliability before deployment. This includes:

    • A Dockerfile for building the project into a Docker image, running unit tests during the build process.
    • A build_image.sh script that automatically tags the Docker image with the current Git branch name.
    • A validate_tests.sh script that executes all unit tests and aborts the Docker build if any test fails, ensuring only passing code is deployed.
  • Automated Testing with Shell Scripts: Added new shell scripts for automated testing and Docker image validation:

    • build_image.sh: Automates the Docker image build process, tagging images based on the current Git branch.
    • validate_tests.sh: Ensures that all unit tests are executed during the Docker image build, halting the process if any test fails.

Enhancements

  • Enhanced Unit Test Coverage: Improved unit test coverage across the project. The testing framework now thoroughly checks the functionality of key components, including GitHub updates retrieval, email notifications, and report generation through both OpenAI and Ollama models.

  • Documentation Updates: Updated the main README.md to include new sections on unit testing and Docker integration. Additionally, detailed descriptions and usage examples for build_image.sh and validate_tests.sh have been provided.

Commit Log

  • Added unit tests for subscription management, report generation, and LLM interaction, using the unittest framework.
  • Created Dockerfile with integrated unit test validation during the build process to ensure reliable Docker images.
  • Developed build_image.sh to streamline Docker image creation and tagging based on Git branches.
  • Added validate_tests.sh to automate the execution of unit tests during Docker image builds, ensuring only passing code is deployed.
  • Updated README.md and added unit_test.md to document new features, testing methodologies, and Docker integration.

This release enhances the reliability and maintainability of GitHub Sentinel by integrating automated testing and Docker-based CI/CD practices. The new unit tests and validation scripts ensure that only thoroughly tested code reaches production, significantly reducing the risk of deployment issues.

GitHub Sentinel v0.6

31 Aug 10:38
4445b99
Compare
Choose a tag to compare

GitHub Sentinel v0.6 Release Notes

New Features

  • Extended LLM Class Support: Enhanced the LLM Class to support calling privatized large model services such as Ollama. This allows users to utilize private AI models in addition to public offerings like OpenAI GPT models, providing flexibility in sensitive or specific operational environments.

  • Configuration Management Enhancements: Added new configuration options in the llm configuration file to support both OpenAI GPT models and Ollama privatized deployment model services. This update ensures seamless integration and switching between different AI models based on user requirements.

  • Updated Documentation: Published new installation and service deployment documentation for Ollama, providing users with detailed guidelines on setting up and deploying Ollama services effectively.

Enhancements

  • Documentation and Configuration Usability: Improved the usability of documentation and configuration settings, making it easier for users to adapt the system to their specific needs with Ollama.

Commit Log

  • Expanded the LLM Class to include support for Ollama, enabling the use of privatized large model services.
  • Updated the llm configuration management to accommodate both OpenAI GPT and Ollama models, enhancing flexibility.
  • Added new installation and deployment documentation for Ollama to assist users in setting up privatized AI services.

GitHub Sentinel v0.5

25 Aug 14:02
9e0b241
Compare
Choose a tag to compare

GitHub Sentinel v0.5 Release Notes

New Features

  • Scheduled Updates: Integrated the Schedule library for simpler and more reliable scheduling of tasks, replacing the original DaemonContext and Threading methods used for daemon processes. This enhancement allows for easier management and setup of periodic updates.

  • Email Notification System: Implemented a basic email notification feature that maintains the format and title of the report when sending updates. This allows users to receive timely updates directly in their email with preserved content aesthetics.

  • Daemon Process Management: Added a daemon_control.sh script for managing daemon processes, facilitating support for containerized deployments. This script provides straightforward commands for starting, stopping, and monitoring the daemon processes.

  • Hacker News Trend Report: Introduced hacker_news_client.ipynb, a new Jupyter Notebook demonstration on how to use ChatGPT and GPT-4o-mini to generate trend reports for technology topics on Hacker News. This feature leverages the latest AI to provide insights into the most discussed technology news.

Enhancements

  • Log Localization and Management: Fully localized log outputs to Chinese, enhancing readability for Chinese-speaking users. Additionally, each daemon process start generates a separate log file, simplifying problem diagnosis and analysis.

Commit Log

  • Introduced the Schedule library for task scheduling, replacing the older DaemonContext and Threading methods to streamline periodic update setups.
  • Launched a basic email notification system that preserves the format and title of reports in notifications.
  • Created a daemon_control.sh script for efficient management of daemon processes, enhancing support for containerized environments.
  • Localized all log outputs to Chinese and adjusted logging to generate individual log files for each daemon process start, improving usability and troubleshooting.
  • Added hacker_news_client.ipynb for demonstrating the generation of technology trend reports on Hacker News using ChatGPT and GPT-4o-mini.

GitHub Sentinel v0.4.1

21 Aug 08:27
7f76b6e
Compare
Choose a tag to compare

GitHub Sentinel v0.4.1 Release Notes

New Features

  • Decoupled Prompt Management: Extracted prompt definitions from llm.py to enable more flexible and maintainable prompt management through a system role, enhancing the customizability of report generation tasks in terms of content and format.

  • Model Upgrade: Upgraded the default large model from GPT-3.5-Turbo to GPT-4o-mini, improving the quality of text generation and increasing the accuracy and relevance of generated reports.

Enhancements

  • Added Chinese Comments: Integrated Chinese annotations throughout the project's modules, enhancing code readability and maintainability for Chinese-speaking developers and users.

Commit Log

  • Decoupled prompt management from llm.py and introduced a system role for dynamic content and format injection in report generation tasks.
  • Upgraded the default large model to GPT-4o-mini for enhanced text generation capabilities.
  • Enhanced the project's modules with comprehensive Chinese comments to improve usability and understanding for a broader audience.

GitHub Sentinel v0.3.2

18 Aug 14:57
Compare
Choose a tag to compare

GitHub Sentinel v0.3.2 Release Notes

New Features

  • Added github_client Jupyter Notebook:

    • This notebook demonstrates the development and iteration process of the GitHubClient module.
    • It provides detailed explanations on how to utilize the GitHub REST API to fetch progress from GitHub repositories.
  • Added report_generator Jupyter Notebook:

    • This notebook showcases how to use the ReportGenerator and LLM modules to automatically generate progress reports.
    • Includes examples and code snippets to demonstrate the integration and automation of report generation.

Enhancements

  • Comprehensive Chinese Documentation:
    • Added detailed Chinese comments to the GitHubClient, ReportGenerator, and LLM modules.
    • These comments help in understanding the functionality and code structure, facilitating easier use and extension by developers and users.

Commit Log

  • Added Jupyter notebooks for GitHubClient and ReportGenerator to demonstrate module functionality.
  • Enhanced all key modules with detailed Chinese documentation to improve readability and usability.

GitHub Sentinel v0.3.1

18 Aug 11:21
Compare
Choose a tag to compare

GitHub Sentinel v0.3.1 Release Notes

New Features

  • Added github_client Jupyter Notebook:

    • This notebook demonstrates the development and iteration process of the GitHubClient module.
    • It provides detailed explanations on how to utilize the GitHub REST API to fetch progress from GitHub repositories.
  • Added report_generator Jupyter Notebook:

    • This notebook showcases how to use the ReportGenerator and LLM modules to automatically generate progress reports.
    • Includes examples and code snippets to demonstrate the integration and automation of report generation.

Enhancements

  • Comprehensive Chinese Documentation:
    • Added detailed Chinese comments to the GitHubClient, ReportGenerator, and LLM modules.
    • These comments help in understanding the functionality and code structure, facilitating easier use and extension by developers and users.

Commit Log

  • Added Jupyter notebooks for GitHubClient and ReportGenerator to demonstrate module functionality.
  • Enhanced all key modules with detailed Chinese documentation to improve readability and usability.

GitHub Sentinel v0.4

04 Aug 09:39
0e06516
Compare
Choose a tag to compare

GitHub Sentinel v0.4 Release Notes

New Features

  • Multi-Mode Operation:

    • Command-Line Tool: Run GitHub Sentinel interactively from the command line, offering manual control over subscription management, update retrieval, and report generation.
    • Daemon Process with Scheduler: Operate GitHub Sentinel as a background service, automatically handling updates at regular intervals, with easy setup using nohup and managed logging.
    • Gradio Server: Launch GitHub Sentinel as a web-based application using Gradio, providing a user-friendly interface for managing subscriptions and generating reports.
  • Enhanced Documentation: The README has been extensively updated to include detailed setup instructions for all three operating modes, ensuring users can configure and run GitHub Sentinel in the way that best suits their needs.

Enhancements

  • Updated the daemon process launch command for improved clarity and usability, ensuring smooth background operation and reliable logging.
  • Refined help commands and documentation to better guide users through the configuration and operation of GitHub Sentinel in different modes.

Commit Log

  • Introduce three distinct running modes: command-line tool, daemon process with scheduler, and Gradio server.
  • Significantly enhance README documentation to provide detailed instructions for configuration and operation across all modes.
  • Update the daemon process command for clearer background execution with log management.
  • Improve the overall user experience by refining help commands and usage documentation.