Skip to content

Accept arXiv categories and list URLs#235

Merged
user1303836 merged 1 commit intomainfrom
codex/arxiv-source-input
Mar 8, 2026
Merged

Accept arXiv categories and list URLs#235
user1303836 merged 1 commit intomainfrom
codex/arxiv-source-input

Conversation

@user1303836
Copy link
Owner

Summary

  • accept raw arXiv category identifiers like cs.AI when adding sources
  • normalize arXiv list and RSS URLs to canonical category identifiers
  • validate the derived arXiv RSS feed URL instead of rejecting non-HTTP category input

Why

/source add currently rejects valid arXiv category input such as cs.AI before arXiv-specific parsing runs, even though the adapter expects category identifiers. It also accepts list URLs poorly by treating them as raw identifiers.

Verification

  • /Users/user1303836/Development/intelstream/.venv/bin/ruff check .
  • /Users/user1303836/Development/intelstream/.venv/bin/ruff format --check .
  • /Users/user1303836/Development/intelstream/.venv/bin/mypy src/
  • PYTHONPATH=/Users/user1303836/Development/intelstream/src /Users/user1303836/Development/intelstream/.venv/bin/pytest -q

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@user1303836 user1303836 merged commit 6be076f into main Mar 8, 2026
4 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