Skip to content

Repository housekeeping#159

Merged
lippserd merged 4 commits intomainfrom
repo-housekeeping
Mar 24, 2026
Merged

Repository housekeeping#159
lippserd merged 4 commits intomainfrom
repo-housekeeping

Conversation

@lippserd
Copy link
Member

Apply a set of maintenance changes to normalize repository configuration:

  • Extend CI to build on support/* branches, run for all PRs
    regardless of target, and allow manual dispatch
  • Normalize composer.json
  • Add .gitattributes to exclude CI and test files from git archive
  • Tighten .gitignore to cover only Composer artifacts

@cla-bot cla-bot bot added the cla/signed label Mar 24, 2026
@lippserd lippserd added this to the v0.8.0 milestone Mar 24, 2026
Potential bugfix releases for maintained older versions should receive
the same PHP checks as the default branch. Extend push builds to also
cover \`support/*\` and drop the pull request target filter so validation
still runs for pull requests merged through other pull requests.

Enable \`workflow_dispatch\` for ad-hoc verification.
Enable Composer's `sort-packages` setting and run `composer normalize`
to establish a consistent structure for `composer.json`.

This keeps future dependency changes deterministic and reduces
unnecessary diff noise.
Add a minimal `.gitattributes` file so `git archive` excludes CI and
Git configuration files as well as test-related files.

This keeps release archives focused on the package contents.
Remove the broad hidden file exclusion and its `.git*` whitelist in
favor of a global `~/.gitignore`. Editor and OS artifacts such as
`.DS_Store`, `.idea/`, or `.vscode/` are environment-specific and not
the project's responsibility to exclude.

Each developer should maintain a global ignore file for such artifacts:

    git config --global core.excludesFile ~/.gitignore

Keep only Composer installation artifacts with a comment clarifying
why `composer.lock` is excluded for library projects.
@lippserd lippserd force-pushed the repo-housekeeping branch from b30a204 to 053da82 Compare March 24, 2026 22:13
@lippserd lippserd merged commit 074a650 into main Mar 24, 2026
13 checks passed
@lippserd lippserd deleted the repo-housekeeping branch March 24, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant