{"id":49341324,"url":"https://github.com/redborder/repoinit","last_synced_at":"2026-04-27T04:03:57.691Z","repository":{"id":9440932,"uuid":"60765016","full_name":"redBorder/repoinit","owner":"redBorder","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-12T14:18:21.000Z","size":609,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-03-12T20:33:22.824Z","etag":null,"topics":["redborder-ng"],"latest_commit_sha":null,"homepage":null,"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/redBorder.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-06-09T09:59:47.000Z","updated_at":"2026-03-12T14:18:27.000Z","dependencies_parsed_at":"2023-02-15T10:01:43.280Z","dependency_job_id":"d69f6b01-9f38-4264-b2fe-278bafe347e6","html_url":"https://github.com/redBorder/repoinit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redBorder/repoinit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Frepoinit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Frepoinit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Frepoinit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Frepoinit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redBorder","download_url":"https://codeload.github.com/redBorder/repoinit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Frepoinit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32321945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["redborder-ng"],"created_at":"2026-04-27T04:03:56.851Z","updated_at":"2026-04-27T04:03:57.663Z","avatar_url":"https://github.com/redBorder.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repoinit\n`repoinit` provides tooling and configuration for packaging software into either **RPMs** or **bootable ISOs**, with built-in support for uploading generated artifacts to a `https://repo.redborder.com`.  \nIt is intended for developers who need a repeatable and configurable way to build and distribute system images or packages.\n\n## ⚠️ Important considerations\n  - `repo.redborder.com` is on deprecation. We normally use `packages.redborder.com`.\n  - Developers can access to `rbrepo.redbordersc.lan`.\n  - `rbrepo` and `rbrepo-devel` are on deprecation. We can use `https://github.com/redBorder/redborder-repo`, which points to `packages.redborder.com`.\n\n## Features\n- Build **RPM packages** or full **ISO images**.\n- Architecture-aware configuration (x86, ARM, etc.).\n- Modular structure for extending and customizing builds.\n- Ready-to-use Kickstart and repo configs.\n- Automated upload to the web server after build.\n\n## 📂 Repository Structure\n- **`*.sh` scripts** → Main entry points for building packages and ISOs.\n  - `build_common.sh` – shared helpers used across other scripts.\n  - `build_minimal_structure.sh` – sets up the minimal directory structure for builds.\n  - `build_module.sh` – builds individual modules/packages.\n  - `make_isofile.sh` – generates a bootable ISO image.\n- **Config files**:\n  - `sdk7.cfg` – Config file for running mock for a Centos 7\n  - `sdk9.cfg` – Config file for running mock for a Rocky 9\n  - `.repoinit_project`, `.sdk7_project` – SDK and repo definitions per architecture.\n  - `ks-base.cfg`, `isolinux-base.cfg` – Kickstart and bootloader configurations for ISOs.\n  - `rbrepo.cfg`, `rbrepo.repo` – repository definitions.\n- **`modules/`** – source modules available for packaging.\n- **`projects/IPS/`** – example project layout.\n- **`Jenkinsfile`** – CI/CD integration.\n- **`splash.png`** – boot splash for generated ISOs.\n\n## Requirements\n- A **Red Hat–based operating system** (CentOS, RHEL, Rocky Linux, AlmaLinux, etc.) is expected as the build environment.\n- Basic development and packaging tools must be installed:\n```bash\nyum install -y epel-release mock\n```\n\n## Usage\n### 1. Clone the repository\n```bash\ngit clone https://github.com/redBorder/repoinit.git\ncd repoinit\n```\n\n### 2. Select the script for your task\nTo build a minimal build structure:\n```bash\n./build_minimal_structure.sh\nTo build a module/package:\n```\n\nTo build just one of the directories:\n```bash\n./build_module.sh \u003cmodule-name\u003e\n```\n\nTo create an ISO image:\n```bash\n./make_isofile.sh\n```\n\nTo build a full release (RPMs + ISO), run the appropriate script for your architecture and configuration.\n\n### 3. Upload\nBy default, generated packages/ISOs are uploaded to the configured `repo.redborder.com`.\n\n## 👩‍💻 Intended Audience\nThis project is meant for:\n\n- Developers working on packaging modules and systems.\n- Release supervisors responsible for generating and publishing official RPM/ISO releases.\n- External contributors\n\n## 🔍 Please, review these links:\n\nhttp://www.smorgasbork.com/2014/07/16/building-a-custom-centos-7-kickstart-disc-part-1/\nhttp://kfei.logdown.com/posts/143152-build-your-own-customized-install-disc-from-centos-64\nhttps://fedoraproject.org/wiki/QA:Testcase_Kickstart_File_Path_Ks_Cfg\nhttps://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-anaconda-boot-options.html#list-boot-options-sources\n\n## 🤝 Contributing\n\n- Fork the repo\n- Create a feature branch (git checkout -b feature/your-feature)\n- Commit your changes\n- Open a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredborder%2Frepoinit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredborder%2Frepoinit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredborder%2Frepoinit/lists"}