Skip to content

No templates lock - #34

Merged
vic merged 11 commits into
mainfrom
no-templates-lock
Oct 20, 2025
Merged

vic merged 11 commits into
mainfrom
no-templates-lock

Conversation

@vic

@vic vic commented Oct 20, 2025

Copy link
Copy Markdown
Member

No description provided.

vic added 3 commits October 18, 2025 20:06
Otherwise the flake.lock will always reference previous commits of flake-file and never be able to reference the latest commit. So now we instruct people to run `.#write-flake` to regen flake.nix and flake.lock right after `flake init`.

Closes #29
Copilot AI review requested due to automatic review settings October 20, 2025 16:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to ignore template flake.lock files and replaces the delta diff tool with standard diffutils across the codebase. The changes streamline the development workflow by eliminating template lock file tracking and reducing external dependencies.

Key Changes

  • Added .gitignore to exclude flake.lock files from templates
  • Replaced pkgs.delta with pkgs.diffutils for diff operations
  • Updated CI workflow to test templates independently and improved documentation clarity

Reviewed Changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
templates/.gitignore Adds gitignore rule to exclude flake.lock files from templates
modules/write-flake.nix Replaces delta with diffutils for flake file comparison
modules/options/prune-lock.nix Replaces delta with diffutils for lock file comparison
modules/dendritic/formatter.nix Excludes .gitignore files from formatting
README.md Improves documentation clarity and workflow instructions
.github/workflows/flake-check.yaml Restructures CI to test templates separately and fixes matrix reference

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread .github/workflows/flake-check.yaml Resolved
Comment thread .github/workflows/flake-check.yaml Resolved
Comment thread .github/workflows/flake-check.yaml Resolved
Comment thread .github/workflows/flake-check.yaml Resolved
@vic
vic merged commit 136f33a into main Oct 20, 2025
@vic
vic deleted the no-templates-lock branch October 20, 2025 18:00
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.

2 participants