Compare commits
7 Commits
bead/nixos
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cee1cd365 | |||
| 66c27da142 | |||
| 7d6f71f4e4 | |||
| 7091ee3ad5 | |||
| d78e089695 | |||
| 28b7a0fda9 | |||
| b7bccb0b40 |
@@ -10,7 +10,7 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@main
|
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@main
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
home.roles = {
|
home.roles = {
|
||||||
"3d-printing".enable = true;
|
"3d-printing".enable = true;
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
|
gaming.enable = true;
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
emacs.enable = true;
|
emacs.enable = true;
|
||||||
email.enable = true;
|
email.enable = true;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
home.roles = {
|
home.roles = {
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
|
gaming.enable = true;
|
||||||
development.enable = true;
|
development.enable = true;
|
||||||
communication.enable = true;
|
communication.enable = true;
|
||||||
email.enable = true;
|
email.enable = true;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
home.roles = {
|
home.roles = {
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
|
gaming.enable = true;
|
||||||
media.enable = true;
|
media.enable = true;
|
||||||
communication.enable = true;
|
communication.enable = true;
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
|
|||||||
@@ -135,11 +135,16 @@ Worktree path: [WORKTREE_PATH]
|
|||||||
- Extract each verification command (lines starting with `- [ ]` followed by a command)
|
- Extract each verification command (lines starting with `- [ ]` followed by a command)
|
||||||
- Example: `- [ ] Tests pass: \`make test\`` → extract `make test`
|
- Example: `- [ ] Tests pass: \`make test\`` → extract `make test`
|
||||||
- Note any "Per CONTRIBUTING.md:" requirements for additional validation
|
- Note any "Per CONTRIBUTING.md:" requirements for additional validation
|
||||||
|
- Also read the "Manual Verification" section from the plan if present
|
||||||
|
- Save manual verification items for inclusion in the PR description (they won't be executed)
|
||||||
- If no plan exists, use best-effort validation:
|
- If no plan exists, use best-effort validation:
|
||||||
- Check if `Makefile` exists → try `make test` and `make lint`
|
- Check if `Makefile` exists → try `make test` and `make lint`
|
||||||
- Check if `flake.nix` exists → try `nix flake check`
|
- Check if `flake.nix` exists → try `nix flake check`
|
||||||
- Check if `package.json` exists → try `npm test`
|
- Check if `package.json` exists → try `npm test`
|
||||||
- **Check for CONTRIBUTING.md** → read and extract testing/linting requirements
|
- **Check for CONTRIBUTING.md** → read and extract testing/linting requirements
|
||||||
|
- Track which requirements can be automated vs need manual review
|
||||||
|
- Automated: commands that can be run (e.g., "run `make test`")
|
||||||
|
- Manual: qualitative checks (e.g., "ensure documentation is updated")
|
||||||
- If none found, note "No validation criteria found"
|
- If none found, note "No validation criteria found"
|
||||||
|
|
||||||
5. **Implement the changes**:
|
5. **Implement the changes**:
|
||||||
@@ -153,8 +158,16 @@ Worktree path: [WORKTREE_PATH]
|
|||||||
VALIDATION_RESULTS:
|
VALIDATION_RESULTS:
|
||||||
- make test: PASS
|
- make test: PASS
|
||||||
- make lint: FAIL (exit code 1: src/foo.ts:23 - missing semicolon)
|
- make lint: FAIL (exit code 1: src/foo.ts:23 - missing semicolon)
|
||||||
- nix flake check: SKIP (command not found)
|
- nix flake check: SKIP (not applicable - no flake.nix)
|
||||||
|
- cargo test: ERROR (command not found)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Status definitions:**
|
||||||
|
- **PASS**: Check executed successfully with no issues
|
||||||
|
- **FAIL**: Check executed but found issues that need attention
|
||||||
|
- **SKIP**: Check not applicable to this project (e.g., no Makefile for `make test`)
|
||||||
|
- **ERROR**: Check could not execute (missing tool, permission error, command not found)
|
||||||
|
|
||||||
- If any validation fails:
|
- If any validation fails:
|
||||||
- Continue with PR creation (don't block)
|
- Continue with PR creation (don't block)
|
||||||
- Document failures in bead notes: `bd update [BEAD_ID] --notes="Validation failures: [list]"`
|
- Document failures in bead notes: `bd update [BEAD_ID] --notes="Validation failures: [list]"`
|
||||||
@@ -187,14 +200,27 @@ Worktree path: [WORKTREE_PATH]
|
|||||||
## Changes
|
## Changes
|
||||||
- [List of changes made]
|
- [List of changes made]
|
||||||
|
|
||||||
## Validation
|
## Validation Steps Completed
|
||||||
[Include validation results from step 4]
|
|
||||||
|
|
||||||
|
### Automated Checks
|
||||||
| Check | Status | Details |
|
| Check | Status | Details |
|
||||||
|-------|--------|---------|
|
|-------|--------|---------|
|
||||||
| make test | PASS | |
|
| make test | PASS | |
|
||||||
| make lint | FAIL | src/foo.ts:23 - missing semicolon |
|
| make lint | FAIL | src/foo.ts:23 - missing semicolon |
|
||||||
| nix flake check | SKIP | command not found |
|
| nix flake check | SKIP | not applicable - no flake.nix |
|
||||||
|
| cargo test | ERROR | command not found |
|
||||||
|
|
||||||
|
### Manual Verification Required
|
||||||
|
[If plan has Manual Verification items, list them as unchecked boxes:]
|
||||||
|
- [ ] Verify UI changes match design mockups
|
||||||
|
- [ ] Test on mobile viewport sizes
|
||||||
|
[If no manual verification items: "None specified in plan."]
|
||||||
|
|
||||||
|
### CONTRIBUTING.md Compliance
|
||||||
|
[If CONTRIBUTING.md requirements were extracted:]
|
||||||
|
- [x] Tests pass (verified via `make test`)
|
||||||
|
- [ ] Documentation updated (needs manual review)
|
||||||
|
[If no CONTRIBUTING.md: "No contribution guidelines found."]
|
||||||
EOF
|
EOF
|
||||||
)"
|
)"
|
||||||
```
|
```
|
||||||
@@ -214,14 +240,27 @@ Worktree path: [WORKTREE_PATH]
|
|||||||
## Changes
|
## Changes
|
||||||
- [List of changes made]
|
- [List of changes made]
|
||||||
|
|
||||||
## Validation
|
## Validation Steps Completed
|
||||||
[Include validation results from step 4]
|
|
||||||
|
|
||||||
|
### Automated Checks
|
||||||
| Check | Status | Details |
|
| Check | Status | Details |
|
||||||
|-------|--------|---------|
|
|-------|--------|---------|
|
||||||
| make test | PASS | |
|
| make test | PASS | |
|
||||||
| make lint | FAIL | src/foo.ts:23 - missing semicolon |
|
| make lint | FAIL | src/foo.ts:23 - missing semicolon |
|
||||||
| nix flake check | SKIP | command not found |"
|
| nix flake check | SKIP | not applicable - no flake.nix |
|
||||||
|
| cargo test | ERROR | command not found |
|
||||||
|
|
||||||
|
### Manual Verification Required
|
||||||
|
[If plan has Manual Verification items, list them as unchecked boxes:]
|
||||||
|
- [ ] Verify UI changes match design mockups
|
||||||
|
- [ ] Test on mobile viewport sizes
|
||||||
|
[If no manual verification items: None specified in plan.]
|
||||||
|
|
||||||
|
### CONTRIBUTING.md Compliance
|
||||||
|
[If CONTRIBUTING.md requirements were extracted:]
|
||||||
|
- [x] Tests pass (verified via make test)
|
||||||
|
- [ ] Documentation updated (needs manual review)
|
||||||
|
[If no CONTRIBUTING.md: No contribution guidelines found.]"
|
||||||
```
|
```
|
||||||
|
|
||||||
8. **Update bead status**:
|
8. **Update bead status**:
|
||||||
@@ -235,8 +274,8 @@ PR: [PR_URL]"`
|
|||||||
- PR URL
|
- PR URL
|
||||||
- Bead ID
|
- Bead ID
|
||||||
- Implementation status (success/failure/blocked)
|
- Implementation status (success/failure/blocked)
|
||||||
- Validation summary: `X passed, Y failed, Z skipped`
|
- Validation summary: `X passed, Y failed, Z skipped, W errors`
|
||||||
- List of any validation failures with details
|
- List of any validation failures or errors with details
|
||||||
- If blocked or unable to complete, explain what's blocking progress
|
- If blocked or unable to complete, explain what's blocking progress
|
||||||
- If validation failed, include the specific failures so the main agent can summarize them for the user
|
- If validation failed, include the specific failures so the main agent can summarize them for the user
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -12,9 +12,7 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Gaming applications would go here
|
custom.mcrcon-rbw
|
||||||
# This role is created for future expansion
|
|
||||||
# moonlight-qt is currently in media role but could be moved here
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,38 +1,64 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"timezone": "America/Los_Angeles",
|
"timezone": "America/Los_Angeles",
|
||||||
|
"gitAuthor": "Renovate Bot <renovate@ogle.fyi>",
|
||||||
"nix": {
|
"nix": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
|
"github-actions": {
|
||||||
|
"managerFilePatterns": [
|
||||||
|
"/.gitea/workflows/.+\\.ya?ml$/"
|
||||||
|
]
|
||||||
|
},
|
||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"schedule": ["before 5am on monday"]
|
"schedule": [
|
||||||
|
"before 5am on monday"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
|
"dependencyDashboardAutoclose": false,
|
||||||
"dependencyDashboardTitle": "NixOS Configs Dependency Dashboard",
|
"dependencyDashboardTitle": "NixOS Configs Dependency Dashboard",
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Group all GitHub Actions updates",
|
"description": "Group all GitHub Actions updates",
|
||||||
"matchManagers": ["github-actions"],
|
"matchManagers": [
|
||||||
|
"github-actions"
|
||||||
|
],
|
||||||
"groupName": "github-actions"
|
"groupName": "github-actions"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group stable NixOS ecosystem inputs",
|
"description": "Group stable NixOS ecosystem inputs",
|
||||||
"matchManagers": ["nix"],
|
"matchManagers": [
|
||||||
"matchPackagePatterns": ["^nixpkgs$", "^home-manager$", "^nix-darwin$"],
|
"nix"
|
||||||
"groupName": "nix-stable-ecosystem"
|
],
|
||||||
|
"groupName": "nix-stable-ecosystem",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"/^nixpkgs$/",
|
||||||
|
"/^home-manager$/",
|
||||||
|
"/^nix-darwin$/"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group unstable NixOS ecosystem inputs",
|
"description": "Group unstable NixOS ecosystem inputs",
|
||||||
"matchManagers": ["nix"],
|
"matchManagers": [
|
||||||
"matchPackagePatterns": ["nixpkgs-unstable", "home-manager-unstable"],
|
"nix"
|
||||||
"groupName": "nix-unstable-ecosystem"
|
],
|
||||||
|
"groupName": "nix-unstable-ecosystem",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"/nixpkgs-unstable/",
|
||||||
|
"/home-manager-unstable/"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Ignore private Gitea inputs (handle separately)",
|
"description": "Ignore private Gitea inputs (handle separately)",
|
||||||
"matchManagers": ["nix"],
|
"matchManagers": [
|
||||||
"matchPackagePatterns": ["google-cookie-retrieval"],
|
"nix"
|
||||||
"enabled": false
|
],
|
||||||
|
"enabled": false,
|
||||||
|
"matchPackageNames": [
|
||||||
|
"/google-cookie-retrieval/"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user