-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
SourceHut (sr.ht) username validation
Category: dev
Goal: Add validation for SourceHut user handles.
Suggested URL format (to verify):
- Candidate profile URL:
https://sr.ht/~{username}
Logic (to confirm while implementing):
- Ideally:
200→ username exists404→ username not found
- If SourceHut behaves differently, document and adapt the logic accordingly.
Implementation notes:
- Add
dev/sourcehut.py. - Implement
validate_sourcehut(username: str). - Prefer
status_validate()if status-based; otherwise usegeneric_validate()and inspectresponse.text.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers