Skip to content

Review streamspace templates repository format#73

Merged
JoshuaAFerguson merged 1 commit into
mainfrom
claude/review-templates-format-01TdJQzTbw23gf7bpBhWNjf5
Nov 18, 2025
Merged

Review streamspace templates repository format#73
JoshuaAFerguson merged 1 commit into
mainfrom
claude/review-templates-format-01TdJQzTbw23gf7bpBhWNjf5

Conversation

@JoshuaAFerguson

Copy link
Copy Markdown
Member

…ibility

This commit ensures the StreamSpace application can properly read and sync the official streamspace-templates repository.

Changes:

  1. Fixed parser API version validation

    • Changed from stream.streamspace.io/v1alpha1 to stream.space/v1alpha1
    • Added backward compatibility for old API version
    • Updated documentation to reflect correct API group
  2. Added default repository initialization

    • Hardcoded streamspace-templates repository URL
    • Automatically inserts default repository on database migration
    • Repository will be synced automatically by sync service on startup
    • URL: https://github.com/JoshuaAFerguson/streamspace-templates
    • Branch: main
    • Auth: none (public repository)

Benefits:

  • Users get 195+ templates out of the box
  • No manual configuration required
  • Repository sync happens automatically
  • Fixes API version mismatch between parser and CRD definition

Files modified:

  • api/internal/sync/parser.go: Updated API version validation
  • api/internal/db/database.go: Added ensureDefaultRepository() function

…ibility

This commit ensures the StreamSpace application can properly read and sync
the official streamspace-templates repository.

Changes:
1. Fixed parser API version validation
   - Changed from stream.streamspace.io/v1alpha1 to stream.space/v1alpha1
   - Added backward compatibility for old API version
   - Updated documentation to reflect correct API group

2. Added default repository initialization
   - Hardcoded streamspace-templates repository URL
   - Automatically inserts default repository on database migration
   - Repository will be synced automatically by sync service on startup
   - URL: https://github.com/JoshuaAFerguson/streamspace-templates
   - Branch: main
   - Auth: none (public repository)

Benefits:
- Users get 195+ templates out of the box
- No manual configuration required
- Repository sync happens automatically
- Fixes API version mismatch between parser and CRD definition

Files modified:
- api/internal/sync/parser.go: Updated API version validation
- api/internal/db/database.go: Added ensureDefaultRepository() function
@JoshuaAFerguson JoshuaAFerguson merged commit f54d2d5 into main Nov 18, 2025
7 of 23 checks passed
@JoshuaAFerguson JoshuaAFerguson deleted the claude/review-templates-format-01TdJQzTbw23gf7bpBhWNjf5 branch November 18, 2025 00:25
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.

2 participants