DRAAFT add tests #12
Draft
itsrealfake wants to merge 30 commits into
Draft
Conversation
pslop tests
on hosts with existing applicaiton on 80, we need to let nginx do its thing
…ively - Introduced .env.example for Neo4j database configuration and repository paths. - Updated .gitignore to exclude .env files. - Modified docker-compose.yml to use environment variables from .env. - Refactored backend config to read Neo4j credentials from environment variables. - Enhanced bootstrap scripts to check for .env file and create it from .env.example if missing.
…cripts - Added sections for `.env` and `.env.example` to clarify environment variable setup. - Updated `backend/app/config.py` to read configuration from environment variables. - Introduced two bootstrap scripts for local and production deployments, detailing their functionalities. - Included instructions for creating and editing the `.env` file with necessary credentials.
if you're using this, you're going to need to unbreak your shit after it's merged
- Updated Dockerfile to include gnupg for PGP signature handling. - Introduced new functions for processing PGP signatures for commits and tags in git_processor.py. - Added merge_analyzer.py to compute ancestry delta for merge commits. - Implemented signature extraction logic in signature_extractor.py. - Created test scripts for verifying signature extraction functionality. - Enhanced Neo4jDriver with batch operations for PGP keys and signature relationships.
- Added a comprehensive section on the data model, outlining core node types and relationships. - Updated ingestion process steps to reflect asynchronous execution and improved status reporting. - Clarified API endpoint usage in the README for better user guidance. - Implemented duplicate FileChange node cleanup in Neo4j schema setup to ensure data integrity.
Extension and Hardening
- Changed API endpoint from `/api/process_git_data_to_neo4j/` to `/api/initiate_data_ingest/` for initiating data ingestion. - Enhanced the ingestion process with a progress tracker for better status reporting and ETA estimates. - Updated the README and bootstrap scripts to reflect the new API endpoint. - Improved the handling of active ingest runs to prevent concurrent processing issues. - Added HTML feedback for users when starting the ingestion process, including a redirect to the status page.
- Added functionality to retrieve and display recent completed ingest runs in the UI. - Implemented helper functions for formatting datetime and status badge styles. - Improved HTML structure for active and completed ingest jobs, including auto-refresh for active jobs. - Updated the Neo4j driver to include a method for fetching recent ingest runs with detailed status information.
- Added a logging configuration function in `config.py` to set up application-wide logging. - Replaced print statements with appropriate logging calls in `git_processor.py`, `neo4j_driver.py`, `merge_analyzer.py`, and `signature_extractor.py` for better error handling and status reporting. - Improved logging granularity by using different log levels (info, error, warning) to capture application behavior and issues more effectively.
- Introduced new methods in `neo4j_driver.py` for managing identities, including fetching all identities, their emails, and statistics related to commits. - Updated GraphQL schema in `schema.py` to support identity-related queries and statistics. - Created a new HTML file for file view and enhanced existing frontend files to support identity search and display. - Improved repository statistics display, including health metrics and contributor growth. - Refactored existing code to replace deprecated actor references with identity.
blind merge... let's hope this works Refactor ingestion process and update API endpoints
- Updated `nginx.conf` to include default MIME types and serve legacy and new frontend files. - Added new HTML and JavaScript files for testing ES modules, including `test-es-modules.html`, `test-module.js`, and `test-module.ts`. - Introduced TypeScript configuration with `tsconfig.json` for better type management. - Created legacy frontend files to maintain compatibility with older HTML structures. - Improved the handling of JavaScript MIME types in the Nginx configuration for ES module compatibility.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.