{"id":42874899,"url":"https://github.com/teragrep/dfg_01","last_synced_at":"2026-02-24T12:00:29.742Z","repository":{"id":335480129,"uuid":"1139693663","full_name":"teragrep/dfg_01","owner":"teragrep","description":"DNF-Repo For GitHub","archived":false,"fork":false,"pushed_at":"2026-01-30T11:53:24.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-31T04:19:29.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teragrep.png","metadata":{"files":{"readme":"README.adoc","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":"2026-01-22T09:42:52.000Z","updated_at":"2026-01-30T11:52:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/teragrep/dfg_01","commit_stats":null,"previous_names":["teragrep/dfg_01"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/teragrep/dfg_01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdfg_01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdfg_01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdfg_01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdfg_01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teragrep","download_url":"https://codeload.github.com/teragrep/dfg_01/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fdfg_01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29781187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"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":[],"created_at":"2026-01-30T13:54:56.384Z","updated_at":"2026-02-24T12:00:29.730Z","avatar_url":"https://github.com/teragrep.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"= DFG_01 DNF-Repo For GitHub\n\nA simple to use GitHub Action that updates a dnf-compatible repository from any `.rpm` files present in the working directory at the time of calling.\n\n== Features\n\n- Supports configurable max retries to avoid merge issues and infinite loops.\n\n- Creates a ready to use `.repo` file.\n\n== Requirements\n\nYou need to have a https://docs.github.com/en/authentication/connecting-to-github-with-ssh/managing-deploy-keys[deploy key] configured to the `to_repository` that has `write` permission and pass the private key with `deploy_key`.\n\n== Limitations\n\n- Supports deploying only to GitHub repositories.\n\n- The repository file's checksum will not be included in the metadata filename.\n\n== Usage\n\nAdd a `uses: teragrep/dfg_01@main` https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsuses[step] to your workflow.\n\nExamples uses a secret called `DEPLOY_KEY` that contains the key. **DO NOT** hardcode the key at any point.\n\n.Minimum configuration with only required arguments\n[source,yaml]\n----\n- name: Update from release\n  uses: teragrep/dfg_01@main\n  with:\n    from_repository: teragrep/example-repository\n    from_version: 1.0.0\n    to_repository: teragrep/central-repository\n    deploy_key: ${{ secrets.DEPLOY_KEY }}\n    files: target/wanted-rpm-*.rpm\n    gpg_public_key: \"${{ secrets.RPM_SIGNING_PUBLIC_KEY }}\"\n----\n\n.Full configuration with optional arguments\n[source,yaml]\n----\n- name: Update from release\n  uses: teragrep/dfg_01@main\n  with:\n    from_repository: teragrep/example-repository\n    from_version: 1.0.0\n    to_repository: teragrep/central-repository\n    deploy_key: ${{ secrets.DEPLOY_KEY }}\n    files: target/wanted-rpm-*.rpm\n    gpg_public_key: ${{ secrets.RPM_SIGNING_PUBLIC_KEY }}\n    to_branch: arbitrary-git-branch\n    to_path: arbitrary-base-path\n    max_attempts: 1\n    repo_baseurl: https://custom.repo.example.com/example-repo\n    repo_name: custom-repo-example\n----\n\n== Documentation\n\nThese are required arguments to be used in `with:` block.\n\n|===\n|Required input argument|Description|Example value\n\n|`from_repository`\n|The source GitHub repository for the release. In `user/repository` format.\n|`teragrep/release-repo`\n\n|`from_version`\n|The *exact* release version.\n|`1.0.0`\n\n|`to_repository`\n|The target GitHub repository where the repodata is deployed to. In `user/repository` format.\n|`teragrep/dnf-repo`\n\n|`deploy_key`\n|The private part of the deployment key to be used with pushing to the target repository.\n|`${{ secrets.DEPLOY_KEY }}`\n\n|`files`\n|The files that are used for making the repodata. Supports glob.\n|`target/wanted-rpm-*.rpm`\n\n|`gpg_public_key`\n|The public part of the GPG key the `.rpm` was signed with.\n|`${{ secrets.RPM_SIGNING_PUBLIC_KEY }}`\n|===\n\nThese are optional arguments to be used in `with:` block.\n|===\n|Optional input argument|Description|Default value\n\n|`to_branch`\n|The branch where repository files are commited to.\n|`gh-pages`\n\n|`to_path`\n|The path where repository files are commited to. No trailing slash required.\n|`central`\n\n|`max_attempts`\n|How times should committing should be attempted.\n|`5`\n\n|`repo_baseurl`\n|The baseurl used in the `.repo` file. Note that it is evaluated to the default value if left empty, and that it can't contain variables if explicitly set. The value of `to_path` is appended to it.\n|`https://raw.githubusercontent.com/${{ inputs.to_repository }}/refs/heads/${{ inputs.to_branch }}/${{ inputs.to_path }}`\n\n|`repo_name`\n|Sets the repository name.\n|`teragrep-central-releases`\n|===\n\n== Contributing\n\nYou can involve yourself with our project by https://github.com/teragrep/dfg_01/issues/new/choose[opening an issue] or submitting a pull request.\n\nContribution requirements:\n\n. *All changes must be accompanied by a new or changed test.* If you think testing is not required in your pull request, include a sufficient explanation as why you think so.\n. Security checks must pass\n. Pull requests must align with the principles and http://www.extremeprogramming.org/values.html[values] of extreme programming.\n. Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).\n\nRead more in our https://github.com/teragrep/teragrep/blob/main/contributing.adoc[Contributing Guideline].\n\n=== Contributor License Agreement\n\nContributors must sign https://github.com/teragrep/teragrep/blob/main/cla.adoc[Teragrep Contributor License Agreement] before a pull request is accepted to organization's repositories.\n\nYou need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep's repositories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fdfg_01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteragrep%2Fdfg_01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fdfg_01/lists"}