{"id":18584675,"url":"https://github.com/fedora-modularity/fed-to-brew","last_synced_at":"2025-04-10T12:30:44.948Z","repository":{"id":56005259,"uuid":"98444736","full_name":"fedora-modularity/fed-to-brew","owner":"fedora-modularity","description":"A script to sync and build packages currently in Fedora on Red Hat's Brew system.","archived":false,"fork":false,"pushed_at":"2020-12-01T19:00:21.000Z","size":52,"stargazers_count":4,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T21:22:09.864Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fedora-modularity.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}},"created_at":"2017-07-26T16:39:54.000Z","updated_at":"2020-12-01T19:00:24.000Z","dependencies_parsed_at":"2022-08-15T11:10:51.992Z","dependency_job_id":null,"html_url":"https://github.com/fedora-modularity/fed-to-brew","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedora-modularity%2Ffed-to-brew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedora-modularity%2Ffed-to-brew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedora-modularity%2Ffed-to-brew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedora-modularity%2Ffed-to-brew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedora-modularity","download_url":"https://codeload.github.com/fedora-modularity/fed-to-brew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217124,"owners_count":21066633,"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-07T00:28:26.253Z","updated_at":"2025-04-10T12:30:44.627Z","avatar_url":"https://github.com/fedora-modularity.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fed-to-brew\nfed-to-brew is a multipurpose tool to help tracking, syncing, and building packages between fedora and brew.\n\nfed-to-brew.conf has to be in the same directory as fed-to-brew, or in /etc/.  This seperate configuration file allows you to customize variables so you do not have to keep setting them as options.\n\n## Configuration\n\n### Setup\n**fed-to-brew** can be set anywhere.  If it is not in your path, you will need to specifically call it with ./fed-to-brew\n\n**fed-to-brew.conf** needs to be either in /etc/ or in the same directory as fed-to-brew\n\n### User Setable Variables\n * WORKDIR\n   * Where all the maps, results, logs, and general work gets done\n   * Example: ${HOME}/fedtobrew\n * FED_GIT_CHECKOUT\n   * What to checkout of the fedora dist-git to sync to brew\n   * Can be a dist-git branch or a git hash\n   * Example1: master  Example2: f26\n   * Example3: 082464dc0d06d48d2f9c4d2110e8aafe4ef1c957\n * FED_DIST\n   * What is %dist set to in fedora\n   * Used when pulling sources for syncing\n   * Set to rawhide if using rawhide branch\n   * Example: f26\n * BREW_WEB_URL\n   * What is URL to Brew Koji Web interface?\n   * Example: https://brewweb.example.com/brew\n * BREW_DISTGIT_URL\n   * What is URL to packages dis-git?\n   * Example: http://packages.example.com/cgit\n * BREW_BRANCH\n   * What branch in brew dist-git to sync into\n   * Examples: rhel-7.4\n * BREW_DIST\n   * What is %dist set to in brew\n   * Used for checking if a package is built in brew.\n   * Example: .el7\n * SYNC_REMOTE\n   * Where to rsync maps and results\n   * Blank - No rsync, local only\n   * Example: SYNC_REMOTE=\"user@mymachine.mydomain:/home/user/fedtobrew/\"\n\n## Usage\n\nUsage fed-to-brew [command] \u003coptions\u003e \u003c[package 1] ... [package n]\u003e\n\nMultipurpose tool to help tracking, syncing, building packages between\n  fedora and brew.\n\n**Commands:** (there must be one command, only one)\n * --sync\n   * Sync package(s) from Fedora dist-git to Brew dist-git.\n   * Only syncs from one git commit, does not do entire history.\n   * Mandatory: --yaml OR --txt OR [package]\n * --check\n   * Check the status of builds\n * --double-check --dc --doublecheck\n   * Goes through an entire release and double checks all the builds\n * --check-modules --checkmodules\n   * Check the modules to see if all their packages built.\n * --build --rebuild\n   * Build package(s) in brew, if they have not already been built.\n   * Will sync packages Fedora dist-git to Brew dist-git if needed.\n   * Mandatory: --brew-branch\n   * Mandatory: --brew-dist\n   * Mandatory: --yaml OR --text OR [package]\n\n**Options:**\n * -c --checkout [branch or hash]\n   * What to checkout of the fedora dist-git, can be branch or hash\n   * Warning: If using hash, only use one package\n   * Default: master\n   * Example branch: f26\n   * Example hash: 082464dc0d06d48d2f9c4d2110e8aafe4ef1c957\n * -bb --brew-branch [branch]\n   * What brew branch to sync to\n * -fd --fed-dist [dist]\n   * What to dist to pull the fedora source from\n   * Should only be needed if using a hash for checkout\n   * Default: rawhide\n   * Example: f26\n * -bd --brew-dist [dist]\n   * What dist tag to use when checking brew build status\n   * Example: .el7\n * -m --message [message]\n   * Use a custom commit message for brew dist-git\n * --text [file]\n   * Text file to use for list of packages\n   * Each package is on its own line in format \u003cn-v-r\u003e.src\n   * Example:acl-2.2.52-15.fc27.src\n * --yaml [file]\n   * yaml file to use for list of packages\n   * Should be in the standard fedora module yaml file format.\n * --no-remote --noremote\n   * Do not sync map ore results remotely.  Default: FALSE \n * -v --verbose --debug\n   * Be verbose, for debugging\n * -h, --help\n   * Show this options menu\n\n**Other:**\n * [package]\n   * If you want to do just a single file, list just the name\n   * Not applied if either --yaml or --text are used.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedora-modularity%2Ffed-to-brew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedora-modularity%2Ffed-to-brew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedora-modularity%2Ffed-to-brew/lists"}