Skip to content

refactor: move alias definitions to source justfiles and add file associations (#195) - #200

Merged
gerchowl merged 1 commit into
devfrom
195-refactor-move-alias-definitions-to-source-justfiles-and-add-permanent-justfile-file-associations
Feb 25, 2026
Merged

gerchowl merged 1 commit into
devfrom
195-refactor-move-alias-definitions-to-source-justfiles-and-add-permanent-justfile-file-associations

Conversation

@c-vigo

@c-vigo c-vigo commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Description

Move alias definitions from the centralized top-level justfile to their respective source justfiles (justfile.podman, justfile.worktree, justfile.gh), improving modularity and reducing drift between imported files and alias declarations. Also add permanent editor file associations so just-lsp recognizes justfile, Justfile, and just.* files.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • justfile: Removed the centralized alias section (28 lines). All 16 aliases moved to their source modules.
  • justfile.podman: Added 10 pdm-* aliases for podman recipes.
  • justfile.worktree: Added 5 wt-* aliases for worktree recipes.
  • justfile.gh: Added 1 gh-i alias for the github issues recipe.
  • .vscode/settings.json: Added files.associations for justfile, Justfile, and just.* so just-lsp recognizes all justfile variants.

Changelog Entry

No changelog needed. This is an internal refactor with no observable behavior change -- all aliases remain available and the just --list output is identical before and after.

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

  • Ran just --list before and after, diffed outputs: identical (zero differences).
  • Ran just --evaluate to confirm all justfiles parse correctly.
  • Ran just lint: all checks passed.
  • Ran just precommit: all hooks pass except pre-existing branch-name hook (branch naming convention).
  • Ran just test-utils: 76 tests passed.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #195

@gerchowl
gerchowl merged commit 91bc824 into dev Feb 25, 2026
10 checks passed
@gerchowl
gerchowl deleted the 195-refactor-move-alias-definitions-to-source-justfiles-and-add-permanent-justfile-file-associations branch February 25, 2026 17:49
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