From Fedora Project Wiki
(Remove unnecessary cd statement, add links to docs, use sudo where necessary, and add $ for prompt on commands.)
Line 21: Line 21:


<pre>$ bodhi updates query --packages=rakudo-star</pre>
<pre>$ bodhi updates query --packages=rakudo-star</pre>
== Submitting a new update for multiple builds ==
<pre>$ bodhi updates new --request=testing --notes="update to 2016.11" --type=enhancement --user gerd nqp-0.0.2016.11-1.fc25,moarvm-0.2016.11-1.fc25
Password:
================================================================================
    nqp-0.0.2016.11-1.fc25 moarvm-0.2016.11-1.fc25
================================================================================
  Update ID: FEDORA-2016-cd7e9b089e
    Release: Fedora 25
    Status: pending
      Type: enhancement
      Karma: 0
    Request: testing
      Notes: update to 2016.11
  Submitter: gerd
  Submitted: 2016-12-13 23:34:59
  Comments: bodhi - 2016-12-13 23:34:59 (karma 0)
            This update has been submitted for testing by gerd.
  https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd7e9b089e
</pre>

Revision as of 04:39, 22 December 2016

Using the bodhi command-line interface

Installing the client

Bodhi 2 is distributed with Fedora >= 26. If you are on an older Fedora version, you can install bodhi 2 from Copr:

$ sudo dnf copr enable bowlofeggs/bodhi
$ sudo dnf update bodhi-client

Manual page

You can read Bodhi's man page online, or you can read it on your system:

$ man bodhi

Querying updates

$ bodhi updates query

View all updates for a given package

$ bodhi updates query --packages=rakudo-star

Submitting a new update for multiple builds

$ bodhi updates new --request=testing --notes="update to 2016.11" --type=enhancement --user gerd nqp-0.0.2016.11-1.fc25,moarvm-0.2016.11-1.fc25
Password: 
================================================================================
     nqp-0.0.2016.11-1.fc25 moarvm-0.2016.11-1.fc25
================================================================================
  Update ID: FEDORA-2016-cd7e9b089e
    Release: Fedora 25
     Status: pending
       Type: enhancement
      Karma: 0
    Request: testing
      Notes: update to 2016.11
  Submitter: gerd
  Submitted: 2016-12-13 23:34:59
   Comments: bodhi - 2016-12-13 23:34:59 (karma 0)
             This update has been submitted for testing by gerd.

  https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd7e9b089e