Add per-repo cover image support for RSS feed items #1

Merged
Pakobbix merged 1 commits from feature/rss-cover-image into master 2026-08-05 09:44:03 +00:00
Owner

Summary

  • Add image_url column to repos table with automatic migration
  • New CLI commands: ghrel image add <repo> <url> and ghrel image remove <repo>
  • RSS feed items include <media:content> element (Media RSS) when a repo has a cover image
  • URL validation (http/https), repo existence checks, 200+ lines of tests

Changes

  • src/db.pyimage_url column, set_repo_image(), remove_repo_image(), get_all_entries() returns image
  • src/rss.py — Media RSS namespace, <media:content> element for items with images
  • src/cli.pyimage subparser with add/remove sub-commands
  • tests/ — 20 new tests covering DB, RSS, and CLI image functionality
## Summary - Add `image_url` column to `repos` table with automatic migration - New CLI commands: `ghrel image add <repo> <url>` and `ghrel image remove <repo>` - RSS feed items include `<media:content>` element (Media RSS) when a repo has a cover image - URL validation (http/https), repo existence checks, 200+ lines of tests ## Changes - `src/db.py` — `image_url` column, `set_repo_image()`, `remove_repo_image()`, `get_all_entries()` returns image - `src/rss.py` — Media RSS namespace, `<media:content>` element for items with images - `src/cli.py` — `image` subparser with `add`/`remove` sub-commands - `tests/` — 20 new tests covering DB, RSS, and CLI image functionality
ARIA added 1 commit 2026-08-05 09:42:57 +00:00
Add image_url column to repos table with migration, CLI image add/remove
commands, and Media RSS <media:content> elements in generated feed output.

New CLI commands: ghrel image add <repo> <url>, ghrel image remove <repo>
Collaborator

No issues found — changes look consistent with the stated intent. Ready to be merged.

✅ No issues found — changes look consistent with the stated intent. Ready to be merged.
Pakobbix merged commit ac9eb84cb5 into master 2026-08-05 09:44:03 +00:00
Pakobbix deleted branch feature/rss-cover-image 2026-08-05 09:44:03 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ARIA/github_release_monitor#1