{"id":49232678,"url":"https://github.com/flathub-infra/flat-manager-hooks","last_synced_at":"2026-04-24T12:35:16.104Z","repository":{"id":64764632,"uuid":"578035148","full_name":"flathub-infra/flat-manager-hooks","owner":"flathub-infra","description":"Hooks for integrating Flathub's backend with flat-manager","archived":false,"fork":false,"pushed_at":"2026-04-09T20:39:21.000Z","size":193,"stargazers_count":5,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-09T22:22:23.512Z","etag":null,"topics":["flat-manager","flathub","flatpak"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flathub-infra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-14T05:10:48.000Z","updated_at":"2026-04-09T20:39:36.000Z","dependencies_parsed_at":"2024-02-06T08:30:12.788Z","dependency_job_id":"36a6f81f-b201-44bc-a89d-faa7ec73da74","html_url":"https://github.com/flathub-infra/flat-manager-hooks","commit_stats":null,"previous_names":["flathub-infra/flat-manager-hooks"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/flathub-infra/flat-manager-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flathub-infra%2Fflat-manager-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flathub-infra%2Fflat-manager-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flathub-infra%2Fflat-manager-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flathub-infra%2Fflat-manager-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flathub-infra","download_url":"https://codeload.github.com/flathub-infra/flat-manager-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flathub-infra%2Fflat-manager-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32224397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flat-manager","flathub","flatpak"],"created_at":"2026-04-24T12:35:13.787Z","updated_at":"2026-04-24T12:35:16.098Z","avatar_url":"https://github.com/flathub-infra.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flathub Hooks\n\nThis is a collection of scripts intended to integrate Flathub's backend with its flat-manager instance. It uses the\nhooks feature of flat-manager, which runs commands at certain points in the upload/build/publish process.\n\nThese scripts are specific to Flathub. They aren't intended to be generalizable, but if you're running your own\ninstance of flat-manager you can specify your own set of scripts to do something similar.\n\nAll of the hooks are built as the same Rust binary and called using subcommands.\n\n## flathub-hooks publish\n\nThis hook is run *during* the publish job. It fetches information about the app from the backend and edits the\nbuild's commits to match. It updates appstream data, commit subsets, and token type.\n\n## flathub-hooks review\n\nThis is the hook for reviewing a build. It checks with the backend for changes in appstream metadata and requests\na moderator review if necessary. It also runs some validators on the uploaded commits and reports any warnings or\nerrors to flat-manager.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflathub-infra%2Fflat-manager-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflathub-infra%2Fflat-manager-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflathub-infra%2Fflat-manager-hooks/lists"}