{"id":21887051,"url":"https://github.com/boredsquirrel/copr-command","last_synced_at":"2025-04-15T09:50:18.600Z","repository":{"id":119706587,"uuid":"607131256","full_name":"boredsquirrel/COPR-command","owner":"boredsquirrel","description":"A small script reenabling the \"COPR\" command on Fedora distros not including it","archived":false,"fork":false,"pushed_at":"2025-01-19T13:35:32.000Z","size":67,"stargazers_count":26,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T18:55:09.667Z","etag":null,"topics":["atomic","copr","fedora","kinoite","repository","rpm","rpm-ostree","sericea","silverblue","ublue"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boredsquirrel.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":"2023-02-27T11:32:36.000Z","updated_at":"2025-03-15T00:30:04.000Z","dependencies_parsed_at":"2024-04-03T12:37:33.117Z","dependency_job_id":"bee10b00-6b8c-4773-89a3-928ab30bccac","html_url":"https://github.com/boredsquirrel/COPR-command","commit_stats":null,"previous_names":["boredsquirrel/copr-command"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boredsquirrel%2FCOPR-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boredsquirrel%2FCOPR-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boredsquirrel%2FCOPR-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boredsquirrel%2FCOPR-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boredsquirrel","download_url":"https://codeload.github.com/boredsquirrel/COPR-command/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249048710,"owners_count":21204304,"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":["atomic","copr","fedora","kinoite","repository","rpm","rpm-ostree","sericea","silverblue","ublue"],"created_at":"2024-11-28T11:08:10.511Z","updated_at":"2025-04-15T09:50:18.593Z","avatar_url":"https://github.com/boredsquirrel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# standalone copr command\n\u003e [!NOTE]\n\u003e This Tool is not made or supported by the Fedora Project,\nbut aims to reproduce the `dnf copr` functionalities for easily adding COPRs on Fedora Atomic Desktops, IoT and CoreOS.\n\nIt does most actions rootless (unlike `dnf copr`) and only requires privilege escalation using `run0` for writing or changing the repo file. Thus it also works without `sudo`.\n\nThe tool also fixes SELinux contexts and filesystem permissions, to secure the repo files from tampering. Atomic Desktops allow unprivileged updates from existing repos, so this is important.\n\n```\nUsage: copr [OPTION] [ARGUMENT]\n\nOptions:\n  enable    Add COPR repository\n  disable   Keep a repo but disable it\n  remove    Remove COPR repository after backing it up\n  list      List all COPR repositories in your repo folder\n  search    Search for a COPR repository by name (in your Browser)\n  help      Display this help text\n\nArgument:\n  Name of the COPR repository (for search) or \"author/repo\" (for install and remove)\n\nExamples:\n  copr enable kwizart/kernel-longterm-6.6\n  copr remove kdesig/kde-nightly-qt6\n  copr list\n  copr search bubblejail\n```\n\nInstall:\n\n```\ncurl https://raw.githubusercontent.com/boredsquirrel/COPR-command/main/copr -O ./copr\nrun0 sh -c '\n  mkdir /var/usrlocal/bin\n  mv ./copr /var/usrlocal/bin\n  chown -R root:root /var/usrlocal/bin\n  chcon -R system_u:object_r:bin_t:s0 /var/usrlocal/bin\n  chmod +x /var/usrlocal/bin/copr\n'\n```\n\n\u003e [!NOTE]\n\u003e COPR repos are version-independent, but there is always a chance that they are unmaintained and thus dont support the current version.\n\u003e A solution like warning about that, or even removing them, could be useful.\n\u003e I did not test such a case on Fedora Atomic, and guess such a package would result in an `rpm-ostree` error.\n\n\u003e [!WARNING]\n\u003e COPR repositories can contain anything. Only add them if you trust the developers and know the repo really belongs to them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboredsquirrel%2Fcopr-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboredsquirrel%2Fcopr-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboredsquirrel%2Fcopr-command/lists"}