This commit prepares the musiclink bot for production deployment on NixOS. Changes: - Refactored service layer to support Dependency Injection for API URLs. - Added 'internal/bot/bot_integration_test.go' for mock-based integration testing. - Added 'flake.nix' and 'flake.lock' for reproducible Nix builds. - Added 'README.md', 'LICENSE', and '.gitignore'. - Verified build and tests pass locally.
727 B
727 B
Issue: Dev Environment Lacks Git Push Access to Forgejo
Server: jrz1 (clarun.xyz)
Problem
Developers and AI agents on jrz1 cannot push to the local Forgejo instance (git.clarun.xyz). Clone works, push doesn't.
What Happens
$ git push origin main
fatal: could not read Username for 'https://git.clarun.xyz': No such device or address
$ ssh -T git@git.clarun.xyz
Permission denied (publickey,keyboard-interactive)
What's Missing
- No SSH keys in
~/.ssh/ - No git credential helper configured
- No stored credentials (
~/.git-credentials,~/.netrc) - No Forgejo API token in environment
- No
tea/forgejoCLI installed
Impact
Can't push code from dev sessions. Commits stay local only.