[refactor] Harden Forgejo CLI Helper Repository Parsing and Environment Loading #41

Closed
opened 2026-08-30 16:14:08 +03:00 by jalmari · 1 comment
Owner

Parent

Part of #39

What to build

Harden scripts/forgejo.py to validate owner/repo format during client initialization and consolidate .env configuration loading to remove duplicate parsing logic.

Acceptance criteria

  • ForgejoClient.__init__ strictly validates and parses owner/repo paths
  • Dependency payload construction uses validated owner and repository attributes
  • Environment file loading logic is unified with repository codecs standards
  • Forgejo script CLI commands continue to function across all subcommands

Blocked by

  • None (can start immediately)
## Parent Part of #39 ## What to build Harden `scripts/forgejo.py` to validate `owner/repo` format during client initialization and consolidate `.env` configuration loading to remove duplicate parsing logic. ## Acceptance criteria - [ ] `ForgejoClient.__init__` strictly validates and parses `owner/repo` paths - [ ] Dependency payload construction uses validated owner and repository attributes - [ ] Environment file loading logic is unified with repository codecs standards - [ ] Forgejo script CLI commands continue to function across all subcommands ## Blocked by - None (can start immediately)
Author
Owner

Implemented repository path validation and unified .env loading with mailsweep.codecs standards.

Implemented repository path validation and unified .env loading with mailsweep.codecs standards.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Lavisys/mailsweep#41
No description provided.