{"id":18663576,"url":"https://github.com/sanjacob/python-flatpak-generator-action","last_synced_at":"2025-11-06T08:30:27.513Z","repository":{"id":197669885,"uuid":"699058366","full_name":"sanjacob/python-flatpak-generator-action","owner":"sanjacob","description":"Regenerate flatpak pip sources based on requirements.txt on CI","archived":false,"fork":false,"pushed_at":"2024-09-20T07:39:27.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T20:26:10.700Z","etag":null,"topics":["ci","flatpak","pip"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanjacob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-10-01T19:42:52.000Z","updated_at":"2024-09-20T07:29:25.000Z","dependencies_parsed_at":"2024-08-16T15:21:27.036Z","dependency_job_id":null,"html_url":"https://github.com/sanjacob/python-flatpak-generator-action","commit_stats":null,"previous_names":["jacobszpz/python-flatpak-generator-action","sanjacob/python-flatpak-generator-action"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjacob%2Fpython-flatpak-generator-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjacob%2Fpython-flatpak-generator-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjacob%2Fpython-flatpak-generator-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjacob%2Fpython-flatpak-generator-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjacob","download_url":"https://codeload.github.com/sanjacob/python-flatpak-generator-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239487746,"owners_count":19647057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ci","flatpak","pip"],"created_at":"2024-11-07T08:18:49.621Z","updated_at":"2025-11-06T08:30:27.480Z","avatar_url":"https://github.com/sanjacob.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Flatpak Generator Action\n\nA really niche action that will:\n\n1. Set up python\n2. Clone a repository containing a flatpak manifest repository for a Python app\n3. Run flatpak-pip-generator on the current repository's requirements.txt (or Pipfile)\n\nAdditionally:\n\n4. If detected, run flatpak-cargo-generator on pydantic-core\n5. If desired, run flatpak-cargo-generator on maturin (version provided)\n\nFinally:\n\n6. Place the generated files on the flatpak manifest repository locally\n\nThe last step is to commit these changes, which is something this action does not cover,\nbut should be trivial.\n\n## Usage\n```yaml\n- uses: jacobszpz/python-flatpak-generator-action@v1\n  env:\n    MATURIN_REF: v1.2.3\n    SETUPTOOLS_RUST_REF: v1.7.0\n  with:\n    flatpak-repo: 'user/flathub'\n    flatpak-repo-branch: 'yourbranch'\n    flatpak-repo-secret: ${{ secrets.YOUR_SECRET }}\n    use-pipfile: true\n    from-pipfile: true\n    python-version: '3.10.10'\n    maturin-version: ${{ env.MATURIN_REF }}\n    setuptools-rust-version: ${{ env.SETUPTOOLS_RUST_REF }}\n```\nBy default, maturin-version / setuptools-rust-version will not take effect unless you specify them.\n\n## Why?\n~~I dunno~~\n\nReally though, pydantic has wrecked havoc on my build process by needing to be built with maturin and this action addresses just this specific problem.\nIt may be helpful if you, like me, have been affected by pydantic or any other python library built with Rust, though you will need to modify the action if the latter is true.\n\nIf you do wish to contribute, feel free to request support for a specific use case and if it is useful enough I will add it.\nOn the flip side, for those python projects which do not require any crazy stunts, this should still make it easier to generate the flatpak sources on CI.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjacob%2Fpython-flatpak-generator-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjacob%2Fpython-flatpak-generator-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjacob%2Fpython-flatpak-generator-action/lists"}