Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

chore: harmonize .gitignore — dedupe + add IDE/docs/Nextcloud sections#88

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/harmonize-gitignore-v2
May 1, 2026
Merged

chore: harmonize .gitignore — dedupe + add IDE/docs/Nextcloud sections#88
rubenvdlinde merged 1 commit into
developmentfrom
chore/harmonize-gitignore-v2

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Salvages the actual .gitignore harmonization work from the abandoned `chore/19/harmonize-gitignore` branch (which was based on a months-old dev tip and would have dropped the SBOM ignores from #86 and the env / editor-swap entries that have shipped since).

What changed

Change Why
Dedupe `/node_modules/`, `/node_modules/*`, `node_modules/` (3 forms) → just `/node_modules/` Same redundancy on `/vendor/`
Add IDE entries (`/.iml`, `.Identifier`) IntelliJ-family files that have shown up in dirty checkouts
Add docusaurus build artifacts (`/docusaurus/{node_modules,build,.docusaurus}/`) Only partially ignored before; full builds were polluting status
Add quality artifacts (`/coverage-frontend/`, `/quality-reports/`, `/.php-cs-fixer.cache`) These directories actually appear when running the quality scripts
Add Nextcloud-tree entries (`/custom_apps/`, `/config/`) For when the app is checked out inside the dev-docker server tree
Add `.claude/worktrees/` Matches the parallel-agent workflow this repo converged on (per project memory)
Reorganise into labelled sections IDE / OS / Editor swap / Claude Code / Dependencies / Build / Documentation / Testing & Quality / PHP / Environment / Nextcloud / SBOM — easier to scan and extend

Preserves

No actual entries are removed — only deduped and reorganised.

Test plan

  • `git status` in a clean checkout still shows nothing extra ignored that shouldn't be (verified by reading the diff)
  • CI green

…cloud sections

Cleans up the .gitignore around three problems:

- Duplicates: /node_modules/, /node_modules/*, node_modules/ all
  appearing — and likewise for /vendor/. Reduce to the canonical
  /node_modules/ + /vendor/ form.
- Missing entries that have actually bitten the repo:
  - /*.iml + *.Identifier (IntelliJ-derived editors)
  - /docusaurus/{node_modules,build,.docusaurus}/ (the docs build
    artifacts were only partially ignored)
  - /coverage-frontend/, /quality-reports/, /tests/.phpunit.cache,
    /.php-cs-fixer.cache (test/quality artifacts)
  - /custom_apps/, /config/ (when checked out inside a Nextcloud
    server tree — applies to the dev-docker setup)
  - .claude/worktrees/ (matches the workflow we converged on for
    parallel-agent work in this repo)
- Reorganise into clearly labelled sections (IDE, OS, Editor swap,
  Claude Code, Dependencies, Build artifacts, Documentation,
  Testing & Quality, PHP, Environment, Nextcloud, SBOM) so it's
  easier to scan and add to.

Preserves every entry the previous .gitignore actually used —
notably the SBOM ignores added by #86, the .env / .env.local
entries, and the editor swap files.

Builds on / supersedes the abandoned chore/19/harmonize-gitignore
branch which was based on a much older dev tip and would have
dropped the SBOM + env entries on merge.
@rubenvdlinde rubenvdlinde merged commit 4902805 into development May 1, 2026
11 of 17 checks passed
@rubenvdlinde rubenvdlinde deleted the chore/harmonize-gitignore-v2 branch May 1, 2026 11:55
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/mydash @ fb69637

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ❌ 1/498 denied
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

❌ Denied npm licenses

Package Version License
apexcharts 5.10.6 Custom: https://apexcharts.com/media/apexcharts-logo.png

Quality workflow — 2026-05-01 11:57 UTC

Download the full PDF report from the workflow artifacts.

rubenvdlinde added a commit that referenced this pull request May 3, 2026
chore: harmonize .gitignore — dedupe + add IDE/docs/Nextcloud sections
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant