t1224.2: Implement localdev add/rm commands#1908
Conversation
- Port registry (~/.local-dev-proxy/ports.json) with auto-assign from 3100-3999
- Collision detection against LocalWP sites (/etc/hosts #Local Site) and registered apps
- mkcert wildcard cert generation (*.name.local + name.local) via generate_cert()
- Traefik conf.d/{name}.yml route file with wildcard Host rule
- /etc/hosts fallback entry when dnsmasq not configured (skipped when resolver active)
- localdev rm reverses all: removes route file, cert files, hosts entry, registry entry
- localdev list shows registered apps + LocalWP sites for context
- ShellCheck zero violations, bash -n syntax OK
- jq primary with python3 fallback for JSON registry operations
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Thu Feb 19 04:01:38 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Implements
localdev add/rmcommands for the local development environment manager.Changes
~/.local-dev-proxy/ports.json): auto-assign ports from 3100-3999 range with jq primary / python3 fallback/etc/hosts #Local Site), registered apps, or registered domains*.name.local+name.localcert pair viagenerate_cert()conf.d/{name}.ymlwith wildcard Host rule (Host(\name.local`) || Host(`*.name.local`)`)/etc/resolver/localis activelocaldev rm: fully reverses add — removes route file, cert files, hosts entry, registry entrylocaldev list: shows registered apps + LocalWP sites for contextTesting
Ref #1875