{"id":21273315,"url":"https://github.com/sclorg/centpkg-sclo","last_synced_at":"2025-06-30T03:07:00.823Z","repository":{"id":69908510,"uuid":"49196160","full_name":"sclorg/centpkg-sclo","owner":"sclorg","description":"Wrapper script around centpkg and cbs utility, that is especially designed for working with packages and repos in SCLo SIG group.","archived":false,"fork":false,"pushed_at":"2016-08-24T04:51:47.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-15T12:44:51.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sclorg.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}},"created_at":"2016-01-07T09:51:09.000Z","updated_at":"2016-01-16T14:57:42.000Z","dependencies_parsed_at":"2023-05-16T23:30:43.851Z","dependency_job_id":null,"html_url":"https://github.com/sclorg/centpkg-sclo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sclorg/centpkg-sclo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fcentpkg-sclo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fcentpkg-sclo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fcentpkg-sclo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fcentpkg-sclo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sclorg","download_url":"https://codeload.github.com/sclorg/centpkg-sclo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fcentpkg-sclo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262702325,"owners_count":23350642,"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":[],"created_at":"2024-11-21T09:13:30.543Z","updated_at":"2025-06-30T03:07:00.812Z","avatar_url":"https://github.com/sclorg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# centpkg-sclo\n\nWrapper script around centpkg and cbs utility, that is especially designed for working with packages and repos in SCLo SIG group.\n\nCurrently, since there is no dist-git and look-aside cache working in CentOS for SIG groups, this tool uses repositories on Github space at [https://github.com/sclorg-distgit](https://github.com/sclorg-distgit) and look-aside cache from Fedora. As the build system, CentOS Build System (CBS, at [cbs.centos.org](http://cbs.centos.org) us used.\n\n## Install instructions\n\nThis tool is build as RPM in Copr at [https://copr.fedoraproject.org/coprs/hhorak/centpkg-sclo/](https://copr.fedoraproject.org/coprs/hhorak/centpkg-sclo/).\n\n### Install instructions for Fedora 23\n```\nsudo dnf copr enable hhorak/centpkg-sclo\nsudo dnf copr enable bstinson/centos-packager\nsudo yum install centpkg-sclo\n```\n\nOr alternatively, if you don't use `dnf copr` plugin:\n\n```\nsudo curl https://copr.fedoraproject.org/coprs/hhorak/centpkg-sclo/repo/fedora-23/hhorak-centpkg-sclo-fedora-23.repo \u003e/etc/yum.repos.d/centos-sclo.repo\nsudo curl https://copr.fedoraproject.org/coprs/bstinson/centos-packager/repo/fedora-23/bstinson-centos-packager-fedora-23.repo \u003e/etc/yum.repos.d/centos-packager.repo\nsudo yum install centpkg-sclo\n```\n\n### Install instructions for EPEL 7\n```\nsudo curl https://copr.fedoraproject.org/coprs/hhorak/centpkg-sclo/repo/epel-7/hhorak-centpkg-sclo-epel-7.repo \u003e/etc/yum.repos.d/centos-sclo.repo\nsudo curl https://copr.fedoraproject.org/coprs/bstinson/centos-packager/repo/epel-7/bstinson-centos-packager-epel-7.repo \u003e/etc/yum.repos.d/centos-packager.repo\nsudo yum install centpkg-sclo\n```\n\n## Usage instructions\n\nAPI of `centpkg-sclo` was deliberately designed to be the same as we know it from `fedpkg` or what will eventually be in `centpkg`.\n\nThat said, all actions, except 'create-branch', work the same as we know it from 'fedpkg'.\n\nAction 'create-branch' creates a new branch in current repository. For creating entirely new repository, go to https://github.com/sclorg-distgit.\n\n### Example of whole workflow when building a new package\n```\n# 1. Create a repository in GUI at https://github.com/sclorg-distgit, e.g. mariadb\n\n# 2. Clone the repository locally and enther the directory\n$\u003e centpkg-sclo clone mariadb\n$\u003e cd mariadb\n\n# 3. Create a new branch according the scheme documented in https://wiki.centos.org/BrianStinson/GitBranchesandKojiTags\n# For CentOS 7 and rh-mariadb101 SCL it will be 'sig-sclo7-rh-mariadb101-rh'\n$\u003e centpkg-sclo create-branch rh-mariadb101 7\n\n# 4. (optionally) Switch to particular branch\n$\u003e centpkg-sclo switch-branch sig-sclo6-rh-mariadb101-rh\n\n# 5. Import the srpm package\n$\u003e centpkg-sclo import rh-mariadb101-mariadb-10.1.10-1.el7.src.rpm\n\n# 6. Commit the changes\n$\u003e git commit -am \"Initial commit\"\n\n# 7. Push the changes\n$\u003e git push\n\n# 8. (optionally) Build package locally\n$\u003e centpkg-sclo local\n\n# 9. (optionally) Build testing package in CBS\n$\u003e centpkd-sclo scratch-build\n\n# 10. (optionally) Create SRPM that may be submitted to CBS manually using `cbs` utility\n$\u003e centpkg-sclo srpm\n\n# 11. Finally, build regular package in CBS\n$\u003e centpkg-sclo build\n```\n\nFor questions, suggestions or generally help with building packages in SCLo SIG in CentOS, contact `sclorg@redhat.com` mailing list.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fcentpkg-sclo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsclorg%2Fcentpkg-sclo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fcentpkg-sclo/lists"}