{"id":16709719,"url":"https://github.com/drahnr/concourse-copr-resource","last_synced_at":"2026-05-19T14:07:58.902Z","repository":{"id":147435225,"uuid":"90769177","full_name":"drahnr/concourse-copr-resource","owner":"drahnr","description":"A resource for concourse ci to push to copr","archived":false,"fork":false,"pushed_at":"2017-06-22T21:39:00.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-11T06:08:08.280Z","etag":null,"topics":["ci","concourse","continuous-integration","copr","fedora","resource","rpm"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/drahnr.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":"2017-05-09T16:43:07.000Z","updated_at":"2017-05-27T12:37:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"1545414b-d5d7-4c0f-b0df-09a8693bd3c8","html_url":"https://github.com/drahnr/concourse-copr-resource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drahnr/concourse-copr-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drahnr%2Fconcourse-copr-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drahnr%2Fconcourse-copr-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drahnr%2Fconcourse-copr-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drahnr%2Fconcourse-copr-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drahnr","download_url":"https://codeload.github.com/drahnr/concourse-copr-resource/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drahnr%2Fconcourse-copr-resource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33219450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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":["ci","concourse","continuous-integration","copr","fedora","resource","rpm"],"created_at":"2024-10-12T20:05:45.917Z","updated_at":"2026-05-19T14:07:58.880Z","avatar_url":"https://github.com/drahnr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# copr resource for concourse\n\nA resource intended to make use of the copr infrastructure\n\nhttps://copr.fedoraproject.org/\n\nhttp://copr-rest-api.readthedocs.io/en/latest/index.html\n\n\n## usage\n\n\tresource_types:\n\t- name: copr\n\t  type: docker-image\n\t  source:\n\t    repository: quay.io/ahoi/concourse-copr-resource\n\n\tresources:\n\t- name: copr-resource\n\t  type: copr\n\t  source:\n\t    project_id: {{copr-project-id}}\n\t    login: {{copr-login}}\n\t    token: {{copr-token}}\n\t    url: {{copr-url}}\n\t    regex: \".*\\\\.src\\\\.rpm\"\n\n## example\n\nSee [oregano](https://github.com/drahnr/oregano) for up to date usage.\n\n### source\n\n* `login` copr login as provided by the API page\n* `token` copr token used to login in combination with `login`\n* `url` copr url, usually `https://copr.fedorainfracloud.org/api_2/builds` or whatever you see while logged in with [copr](https://copr.fedoraproject.org/api/)\n\n### check\n\nalways returns `[]` which means no new version, not intended to be checked for\n\n### in\n\n`nop`, not intended to be pulled in\n\n### out\n\nPushes a local srpm to copr\n\n* `rpmbuild_dir` the path to the `rpmbuild` base directory which is expected to contain the srpm somewhere underneath\n* `project_id` the associated project_id `curl -u \"$LOGIN:$TOKEN\" -X GET https://copr.fedorainfracloud.org/api_2/projects?name=$PROJECT_NAME | jq -r \".projects[].project.id\"` to\n* `regex` regular expression to match the path to the srpm including the srpm name, capture the name as group if possible, if multiple match, the first one is choosen - the default should be fine\n* `chroots` list of change roots, default: `[\"fedora-25-x86_64\"]`\n* `enable_net` : enable only if you need the web for building the rpm from your srpm, default: `false`\n* `max_n_bytes` : the maximum total number of bytes to push, default: `1000000000`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrahnr%2Fconcourse-copr-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrahnr%2Fconcourse-copr-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrahnr%2Fconcourse-copr-resource/lists"}