Commit Graph

27 Commits

Author SHA1 Message Date
root
6637bb49e7 Update: init-project to use SSH remotes for VPS
- Changed remote format: HTTP → SSH (git@host:org/repo.git)
- Better for VPS deployments (key-based auth)
- Check for SSH key and warn if missing
- Provide setup instructions in init output
- Agents still copied to .claude/agents/
2025-11-23 22:10:12 +00:00
root
150f67c9b9 Update: README with new bootstrap workflow
- Lead with 'source' bootstrap command
- Point to QUICK-START for details
- Show new project init-project workflow
- Clarify agents available at .claude/agents/
- Update usage section
- Keep structure and documentation references
2025-11-23 22:08:22 +00:00
root
030e280c24 Update: Bootstrap script emphasize 'source' usage
- Updated usage comment to show 'source' syntax
- Add IMPORTANT note about why to use source not bash
- Remove misleading 'Tip' about restarting shell
- Clarify commands are ready immediately
- Update output messaging
2025-11-23 22:07:52 +00:00
root
7e62a571aa Update: Scripts README to use 'source' for bootstrap
- Changed: bash <(...) → source <(...)
- Emphasize agents copied to .claude/agents/
- Clarify agent locations for Claude Code
- Update workflow examples
- Explain why source is better
2025-11-23 22:07:14 +00:00
root
20bfcfe66c Update: Use 'source' instead of 'bash' for bootstrap
- Changed: bash <(...) → source <(...)
- Benefits: PATH updates immediately, no shell restart needed
- init-project available right after bootstrap completes
- Cleaner workflow for VPS setup
2025-11-23 22:06:41 +00:00
root
2f25d70674 Update: init-project now copies agents to .claude/agents/
- Creates .claude/agents/ directory in each project
- Automatically copies agents from ~/.homelab-agents/agents/
- Makes agents available for Claude Code locally
- Agents can be referenced as .claude/agents/agent-name.md
- Gracefully handles missing agents
2025-11-23 21:59:30 +00:00
root
d49801136a Fix: Bootstrap script now adds scripts directory to PATH permanently
- Automatically adds 'export PATH="$HOME/.homelab-scripts:$PATH"' to ~/.bashrc
- Checks if already present to avoid duplicates
- Also adds to current session PATH immediately
- Eliminates need for manual 'export PATH' commands
- init-project now works in all future shells
2025-11-23 21:45:37 +00:00
root
23aba5df18 Update: Scripts README with init-project documentation
- Detailed explanation of init-project purpose
- Complete usage examples
- Show example output
- Clarify project structure (separate repos)
- Include workflow summary
2025-11-23 21:39:29 +00:00
root
ba35a26c25 Update: QUICK-START guide with init-project workflow
- Document complete VPS setup workflow
- Show init-project usage for new projects
- Explain project structure (separate repos)
- Simplify instructions for clarity
- Include agent auto-update info
2025-11-23 21:39:09 +00:00
root
bd3cda3f1d Update: Bootstrap script now installs init-project helper
- Automatically installs init-project script to ~/.homelab-scripts
- Adds scripts directory to PATH
- Lists available commands after bootstrap
- Enables easy project initialization without manual git setup
2025-11-23 21:38:51 +00:00
root
72fd78de68 Add init-project script for easy project initialization
- Automatically creates project directory
- Initializes git repo with correct config
- Configures Gitea remote automatically
- Prevents asking for remote URL (fixes agent behavior)
- Usage: init-project <project-name>
2025-11-23 21:38:26 +00:00
root
658e1cd567 Fix: Always auto-detect Gitea URL from current directory
- Remove all user prompts for repository URL
- URL is now always constructed from folder name
- Add CRITICAL section highlighting auto-detection
- Simplify Step 5 to make auto-detection foolproof
- Update QA checklist to verify URL was auto-detected
- Never ask user for URL - this is a bug if it happens
2025-11-23 21:24:50 +00:00
root
a2c098805f Update: Add auto-create repository feature to summary agent
- Agent now supports GITEA_API_TOKEN environment variable
- Automatically creates Gitea repos for new VPS projects
- Includes setup guide for generating and storing API tokens
- Falls back gracefully if token not available
- Reduces manual repo creation steps on new VPS instances
2025-11-23 21:11:33 +00:00
pdm
f2f84b3a24 Update scripts/README.md 2025-11-23 21:04:16 +00:00
root
09784f4a96 Fix: Use correct Gitea raw file URL format 2025-11-23 20:58:01 +00:00
root
ebe311ae42 Add QUICK-START guide for VPS setup 2025-11-23 20:55:33 +00:00
root
edc29c353a Update scripts README with bootstrap-agents.sh documentation 2025-11-23 20:55:19 +00:00
root
4f23243a7a Add bootstrap script for VPS agent setup - Automatically clones/updates homelab-agents repo 2025-11-23 20:54:42 +00:00
root
2128b7f1f8 Add session logs: Gitea domain fix and backup setup (2025-11-23)
Documents completed work including:
- Fixed Gitea login 404 by updating domain to git.pdmarf.co.uk
- Configured ROOT_URL and SSH_DOMAIN for Pangolin tunnel access
- Set up automated daily database backups (2 AM cron, 7-day retention)
- Tested and verified backup/restore process

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 17:48:39 +00:00
Homelab Automation
7a46e82c7a Fix configuration: Use internal IP for clone commands, domain via Pangolin Tunnel
- Reverted ROOT_URL to HTTP on internal IP (100.120.125.113:3000)
- Clone commands use internal IP (works on local network and with Pangolin)
- Added note: Access UI at https://git.pdmarf.co.uk via Pangolin Tunnel
- Pangolin Tunnel handles HTTPS → HTTP conversion

Users on local network: Clone using http://100.120.125.113:3000/pdm/[repo]
Users via Pangolin: Access UI at https://git.pdmarf.co.uk
Both methods work with same repositories
2025-11-23 15:07:37 +00:00
Homelab Automation
4c7f8b34e8 Update domain configuration: Use git.pdmarf.co.uk for UI
- Updated Gitea ROOT_URL to https://git.pdmarf.co.uk/
- Updated all clone commands in HOW-TO-GUIDE.md to use new domain
- Changed server URL references to https://git.pdmarf.co.uk
- Session closer agent remains on internal IP for homelab use

Users can now access Gitea UI at https://git.pdmarf.co.uk
All documentation reflects the new domain for public access.
2025-11-23 15:04:14 +00:00
Homelab Automation
3ef3efbd2b Add Gitea Installation Session Summary - 2025-11-23
Complete documentation of Gitea setup process:
- System infrastructure verification and setup
- Gitea v1.21.5 installation and configuration
- Repository creation and population (homelab-agents, vps-system-apps)
- sysadmin-session-closer agent optimization for Gitea
- Comprehensive HOW-TO-GUIDE documentation
- All problems encountered and solutions
- Next session priorities

Repositories are fully functional and ready for deployment.
All documentation is comprehensive and accessible.

Repository: http://100.120.125.113:3000/pdm/homelab-agents
Next Session: Deploy to VPS and test workflows
2025-11-23 14:59:03 +00:00
Homelab Automation
fa8df14471 Update HOW-TO-GUIDE.md: Use vim instead of nano, clarify workstation terminology
- Changed all references from 'nano' to 'vim' editor
- Added new 'Terminology' section explaining:
  - What 'workstation' means (your main development machine)
  - Difference between workstation and VPS
  - What a repository is
- Enhanced Workflow 1 with detailed explanation of workstation usage
- Added examples of workstation machines (laptop, desktop, etc.)
- Clarified when to use workstation vs VPS workflows

This makes the guide more accessible for users unfamiliar with homelab terminology.
2025-11-23 14:56:45 +00:00
Homelab Automation
8112530f7b Add comprehensive Gitea how-to guide
- Basic clone commands for homelab-agents and vps-system-apps
- Step-by-step workflow for making and pushing changes
- Common workflows for different scenarios
- Useful git commands reference
- Troubleshooting section for common issues
- Quick reference card for frequently used commands
- Best practices and tips

This guide provides everything needed to get started with Gitea
for managing homelab projects and agent repositories.
2025-11-23 14:51:01 +00:00
Homelab Automation
c4a1c15c61 Update sysadmin-session-closer agent with Gitea optimization
- Simplified git remote detection for Gitea
- Added support for repository type auto-detection (homelab-agents vs VPS projects)
- Integrated Gitea URL (http://100.120.125.113:3000) throughout workflow
- Added context-aware commit message patterns
- Enhanced documentation for both shared and project-specific repositories
- Improved error handling for Gitea-specific scenarios
- Added edge case handling for repository creation and configuration
- Comprehensive QA checklist for session closure

This version seamlessly integrates with the pdm Gitea instance while maintaining
all original functionality for session context preservation and documentation.
2025-11-23 14:47:48 +00:00
Homelab Automation
49161ed68d Add complete homelab agents structure, templates, and sysadmin-session-closer agent 2025-11-23 14:39:16 +00:00
pdm
80254e5b98 Initial commit 2025-11-23 13:51:56 +00:00