Skip to content

✨ feat: add optional-apps-template and update docs/gitignore#12

Merged
Timpan4 merged 1 commit intomainfrom
ta-branch-1
Mar 28, 2026
Merged

✨ feat: add optional-apps-template and update docs/gitignore#12
Timpan4 merged 1 commit intomainfrom
ta-branch-1

Conversation

@Timpan4
Copy link
Copy Markdown
Owner

@Timpan4 Timpan4 commented Mar 28, 2026

Summary by CodeRabbit

  • New Features

    • Added template file for managing optional WinGet applications.
    • Enhanced backup process to include optional applications configuration alongside core apps.
  • Documentation

    • Revised user setup guidance to copy from template files before customizing.
  • Tests

    • Added test verification for backup functionality.
  • Chores

    • Updated .gitignore to properly exclude personal configuration files.

@Timpan4 Timpan4 merged commit a8c4ed2 into main Mar 28, 2026
2 checks passed
@Timpan4 Timpan4 deleted the ta-branch-1 branch March 28, 2026 12:34
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 28, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7e559974-e6ff-469e-b5d8-a677d349cbc0

📥 Commits

Reviewing files that changed from the base of the PR and between a5c45fd and 96da02c.

📒 Files selected for processing (5)
  • .gitignore
  • README.md
  • optional-apps-template.json
  • preflight-backup.ps1
  • tests/BackupRestore.Tests.ps1

📝 Walkthrough

Walkthrough

This PR adds support for optional apps management by introducing app manifest templates, updating backup/restore configuration to include optional apps, and modifying documentation and gitignore patterns accordingly. The changes establish a template-based workflow for users to manage apps.json and optional-apps.json files without committing personal configurations to git.

Changes

Cohort / File(s) Summary
Git Configuration
.gitignore
Normalized ignore patterns to exclude apps.json, optional-apps.json, apps-export.json, and related personal config files; removed prior guidance to keep apps.json unignored.
Documentation & Templates
README.md, optional-apps-template.json
Updated README to instruct users to create apps.json and optional-apps.json from template files (apps-template.json and optional-apps-template.json); added new optional-apps-template.json manifest with sample Winget packages and metadata.
Backup & Restore
preflight-backup.ps1, tests/BackupRestore.Tests.ps1
Extended backup script to include optional-apps.json in the list of files to back up; added test assertion to verify backup script references the optional-apps file.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 A template trail for apps both neat,
Optional choices, oh what a treat!
From templates born, no secrets in git,
Backups preserved, every bit!
Config controlled, order's complete! 📦✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ta-branch-1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant