Feature curated projects on homepage
Deploy production / deploy (push) Successful in 4s

This commit is contained in:
2026-08-12 06:40:57 -07:00
parent bd49e93abd
commit 4223691e43
7 changed files with 109 additions and 48 deletions
+5
View File
@@ -14,6 +14,7 @@ from project_sources import ( # noqa: E402
RepositoryNotPublicError,
append_fields,
fetch_json,
load_registry,
metadata_digest,
normalize_tag_value,
parse_record,
@@ -25,6 +26,10 @@ from project_sources import ( # noqa: E402
class ProjectSourceTests(unittest.TestCase):
def test_registry_feature_order_is_optional_and_numeric(self) -> None:
site_root = Path(__file__).resolve().parents[1]
self.assertEqual(load_registry(site_root)[0]["featured_order"], 10)
def test_registry_urls_must_be_public_https_without_credentials(self) -> None:
self.assertEqual(
validate_url("https://git.example.test/owner/repo.git", "repository"),