mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 01:10:12 -08:00
Commit local changes before merging with remote
This commit is contained in:
12
.github/copilot-instructions.md
vendored
12
.github/copilot-instructions.md
vendored
@@ -7,7 +7,7 @@ This document provides context and guidance for GitHub Copilot when working with
|
||||
This repository contains:
|
||||
|
||||
1. **Shell scripts** for system administration tasks
|
||||
2. **Dotfiles** for system configuration
|
||||
2. **Dotfiles** for system configuration
|
||||
3. **Setup scripts** for automated environment configuration
|
||||
4. **Docker-based testing framework** for validating setup across environments
|
||||
|
||||
@@ -39,7 +39,7 @@ This repository contains:
|
||||
### Documentation
|
||||
|
||||
- **README.md**: Main repository documentation
|
||||
- **docs/testing.md**: Detailed documentation for the testing framework
|
||||
- **docs/docker-bootstrap-testing-framework.md**: Detailed documentation for the Docker-based bootstrap validation framework
|
||||
- **dotfiles/README.md**: Documentation for dotfiles setup and usage
|
||||
|
||||
## Style Guidelines
|
||||
@@ -78,10 +78,10 @@ When modifying the testing framework:
|
||||
The Docker-based testing framework includes these key features:
|
||||
|
||||
1. **Continuous Testing**: Tests continue running even when individual package installations fail
|
||||
- Achieved by removing `set -e` from test scripts
|
||||
- Achieved by removing `set -e` from test scripts
|
||||
- Uses a counter to track errors rather than exiting immediately
|
||||
|
||||
2. **Package Testing**:
|
||||
2. **Package Testing**:
|
||||
- Dynamically reads packages from `setup/packages.list`
|
||||
- Tests each package individually
|
||||
- Maintains an array of missing packages for final reporting
|
||||
@@ -89,7 +89,7 @@ The Docker-based testing framework includes these key features:
|
||||
3. **Summary Reporting**:
|
||||
- Provides a comprehensive summary of all failed tests
|
||||
- Suggests commands to fix missing packages
|
||||
- Saves detailed logs to a timestamped file in /tmp
|
||||
- Saves detailed logs to a timestamped file
|
||||
|
||||
4. **Cross-Platform Testing**:
|
||||
- Tests both Ubuntu and Debian environments
|
||||
@@ -158,4 +158,4 @@ For contributors and Copilot suggestions:
|
||||
3. **Review Process**:
|
||||
- Run tests before submitting changes
|
||||
- Document what was changed and why
|
||||
- Consider both Ubuntu and Debian compatibility
|
||||
- Consider both Ubuntu, Debian, and Fedora compatibility
|
||||
|
||||
Reference in New Issue
Block a user