Giter Site home page Giter Site logo

trytomakeyouprivate / copr-command Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 4.0 47 KB

A small script reenabling the "COPR" command on Fedora distros not including it

License: GNU General Public License v3.0

Shell 100.00%
atomic copr fedora kinoite repository rpm rpm-ostree sericea silverblue ublue

copr-command's Introduction

standalone copr command

This Tool is not made or supported by the Fedora Project, but aims to reproduce the dnf copr functionalities for easily adding COPRs on Fedora Atomic.

It does everything rootless (unlike dnf copr) and only requires privilege escalation using pkexec for writing the repo file. Thus is also works without sudo.

Usage: copr [OPTION] [ARGUMENT]

Options:
  enable    Add COPR repository.
  remove    Remove COPR repository after backing it up.
  list      List all COPR repositories in your repo folder.
  search    Search for a COPR repository by name (in your Browser)
  disable   Keep a repo but disable it
  enable    Make a disabled repo active
  help      Display this help text.

Arguments:
  [ARGUMENT]  Name of the COPR repository (for search) or `author/repo` (for install and remove)

Examples:
  copr enable kdesig/kde-nightly-qt6
  copr remove kdesig/kde-nightly-qt6
  copr list
  copr search uutils

Install:

wget https://raw.githubusercontent.com/trytomakeyouprivate/COPR-OSTree/main/copr -P ~/.local/bin/ &&\
chmod +x ~/.local/bin/copr

NOTE: COPR repos are version-independent, but there could be a chance they are unmaintained and thus dont support the current version. A solution like at least warning about it, or even removing them, could be useful. I did not test such a case on Fedora Atomic, and guess such a package would simply result in an rpm-ostree error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.