Skip to content

chore: clean up repository root and restore Laravel storage structure - #2

Merged
mviniciusca merged 1 commit into
section-builderfrom
chore/repo-cleanup
Oct 12, 2026
Merged

mviniciusca merged 1 commit into
section-builderfrom
chore/repo-cleanup

Conversation

@mviniciusca

Copy link
Copy Markdown
Owner

Summary

  • Restore storage/ structure: /storage was ignored wholesale, so fresh clones came without the folders Laravel needs (views, sessions, cache, logs, app/public). Restored the skeleton's per-folder .gitignore stubs and removed the CI step that recreated them by hand.
  • Clean up repo root: removed 14 one-off codemod scripts (*.py, modify_*.php, generate_*.php, …), update_resource.patch, an empty duplicate tailwindcss-config.js, two .bak backups and a Windows Zone.Identifier file. None were referenced by the app; all remain in git history.
  • .gitignore: aligned with the Laravel 11 skeleton; also ignores backups, OS metadata, IDE LSP artifacts and the media-library temp folder.
  • composer.json: package renamed from laravel/laravel to codhous/codhous. composer.lock only changes its content hash and the phpdotenv source URL (same commit, no package changes).
  • CLAUDE.md: gotchas updated to match.

Test plan

  • php artisan test: 306 passed
  • Fresh git clone of the branch contains the full storage/ tree
  • CI green without the manual storage step

Follow-ups (not in this PR)

  • composer audit reports 3 additional laravel/framework 11.x advisories; fixing them requires upgrading to Laravel 12/13.
  • Dev auto-login on /admin/login in routes/web.php is still present.

🤖 Generated with Claude Code

- Remove one-off codemod scripts, patches, .bak backups, a Windows
  Zone.Identifier file and an empty duplicate Tailwind config
- Restore the skeleton's per-folder storage/.gitignore stubs instead of
  ignoring /storage wholesale, so fresh clones get the folders Laravel needs
- Align root .gitignore with the Laravel 11 skeleton and ignore backups,
  OS metadata and IDE LSP artifacts
- Rename composer package from laravel/laravel to codhous/codhous
- Drop the CI step that recreated storage folders by hand
- Update CLAUDE.md gotchas accordingly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gitguardian

gitguardian Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@mviniciusca
mviniciusca changed the base branch from main to section-builder October 12, 2026 18:22
@mviniciusca
mviniciusca merged commit a5a1b4d into section-builder Oct 12, 2026
2 checks passed
@mviniciusca
mviniciusca deleted the chore/repo-cleanup branch October 12, 2026 19:16

This branch was successfully deployed

1 active deployment
Testing — ff4a2669 Deployed Oct 12, 2026 by mviniciusca via laravel-tests #18
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