Skip to content

Add repository lifecycle to Store - #21

Merged
asim merged 6 commits into
masterfrom
feature/store-lifecycle
Sep 6, 2026
Merged

Add repository lifecycle to Store#21
asim merged 6 commits into
masterfrom
feature/store-lifecycle

Conversation

@asim

@asim asim commented Sep 6, 2026

Copy link
Copy Markdown
Owner

This adds repository lifecycle operations to the storage abstraction without coupling storage to the Git executable.

Changes

  • expands Store with Create, Delete, Exists, and List
  • adds ErrRepositoryExists
  • implements lifecycle operations for FilesystemStore
  • supports nested repository names such as team/example.git
  • rejects path traversal outside the store root
  • returns sorted repository names from List
  • adds lifecycle and interface-conformance tests

Design

Store.Create allocates repository storage but does not run git init. Git initialization belongs to the server/Git-engine layer so future remote or object-backed stores do not need to invoke the local Git binary.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T06:49:15.673067Z fd46971 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fd46971208

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread server/storage.go
Comment thread server/storage.go
@asim
asim merged commit 8bd3db3 into master Sep 6, 2026
2 checks passed
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