From Fedora Project Wiki
Enlaces rápidos
gitweb

fedora-easy-karma te permite dar fácilmente karma (votar) las actualizaciones que se encuentran en "testing updates" que tengas instaladas. Este es el ejemplo común de trabajo.

  1. Instala paquetes desde updates-testing: su -c 'dnf --enablerepo=updates-testing update'
  2. Ejecuta fedora-cert, incluida como dependencia de fedora-easy-karma, para crear un certificado con tus credenciales de la FAS (Fedora Account System)
  3. Puedes usar directamente los paquetes para identificarlos o directamente ejecutar fedora-easy-karma y probar/testar los paquetes acorde con las notas de actualización. (updates notes)
  4. Ejecuta fedora-easy-karma

Instalación

Tienes que tener la versión 0.4.0 o superior de Package-x-generic-16.pngfedora-packager para usarlo. Puedes instalar Package-x-generic-16.pngfedora-easy-karma para cualquier versión liberada de Fedora mediante el comando: su -c 'dnf --enablerepo=updates-testing install fedora-easy-karma'

Ejemplo de salida

$ fedora-easy-karma --help
Usage: fedora-easy-karma [options] [pattern, ..]

You will be asked for every package installed from updates-testing to provide
feedback using karma points. If patterns are provided, you will be only prompted
for updates related to packages or builds that match any of the patterns.
Possible wildcards are *, ?, [seq] and [!seq] as explained at
http://docs.python.org/library/fnmatch.html
After selecting the karma points, you will be asked for a comment. An empty
comment skips the update.

Possible karma points are:
-1 : Update breaks something or does not fix a bug it is supposed to
 0 : The update has not been tested much or at all
 1 : The update seems not to break anything new
All other inputs will skip the update.
You can use <CTRL>-<D> on an empty prompt to exit
If you use a default comment, '<CTRL>-<X> <backspace>' can be used to delete the
default comment to easily enter a custom one.

The source can be found at
http://fedorapeople.org/gitweb?p=till/public_git/fedora-easy-karma.git;a=summary
Please send bug reports and feature requests to
'Till Maas <opensource@till.name>'
For patches please use 'git send-email'.

Options:
  -h, --help            show this help message and exit
  --bodhi-cached        Use cached bodhi query
  --bodhi-cachedir=BODHI_CACHEDIR
                        Directory to store bodhi cache, default: ~/.fedora-
                        easy-karma
  --bodhi-update-cache  Update bodhi query cache
  --critpath-only       Only consider unapproved critpath updates
  --debug               Enable debug output
  --default-comment=COMMENT
                        Default comment to use, default:
  --default-karma=KARMA
                        Default karma to use, default:
  --fas-username=FAS_USERNAME
                        FAS username
  --include-commented   Also ask for more comments on updates that already got
                        a comment from you, this is enabled if patterns are
                        provided
  --installed-max-days=DAYS
                        Only check packages installed within the last XX days,
                        default: 28
  --installed-min-days=DAYS
                        Only check packages installed for at least XX days,
                        default: 0
  --list-rpms-only      Only list affected rpms
  --no-skip-empty-comment
                        Do not skip update if comment is empty
  --product=PRODUCT     product to query Bodhi for, 'F' for Fedora, 'EL-' for
                        EPEL, default: F
  --releasever=RELEASEVER
                        releasever to query Bodhi for, default: releasever
                        from yum
  --retries=RETRIES     Number if retries when submitting a comment in case of
                        an error, default: 3
  --wrap-bugs           Apply line-wrapping to bugs
  --wrap-rpms           Apply line-wrapping to list of installed rpms
  --wrap-width=WRAP_WIDTH
                        Width to use for line wrapping of updates, default: 80
$ fedora-easy-karma
Getting list of installed packages...
Getting list of packages in updates-testing...
================================================================================
     fedora-easy-karma-0-0.7.20100709git561718c8.fc12
================================================================================
  Update ID: FEDORA-2010-11029
    Release: Fedora 12
     Status: testing
       Type: enhancement
      Karma: 1
      Notes: Introduce the --critpath-only parameter.
  Submitter: till
  Submitted: 2010-07-09 15:30:58
   Comments: bodhi - 2010-07-09 15:30:58 (karma 0)
             This update has been submitted for testing by till.
             bodhi - 2010-07-13 07:45:42 (karma 0)
             This update has been pushed to testing
             robatino (proventesters) - 2010-07-13 08:49:36 (karma 1)
             Seems to work properly.

  https://admin.fedoraproject.org/updates/F12/FEDORA-2010-11029

 inst. RPMS: fedora-easy-karma-0-0.7.20100709git561718c8.fc12.noarch - Fedora update feedback made easy (installed 0 days ago)

Comment? -1/0/1 ->karma, other -> skip> 1
Comment> It works perfectly.
FAS Password for till:

Cómo trabaja

Actualiza el sistema siempre, entonces miras la actualización y llevas acabo varias pruebas de forma directa

Primera actualización:

dnf update --enablerepo="*-testing"

Ejecuta fedora-easy-karma:

fedora-easy-karma

Ahora lee la información sobre la actualización que te aparece. Si esta es una actualización que podría interesarte para probarla, házlo de forma paralela, por ejemplo. Si es un editor de texto, ábrelo, abre varios ficheros, edita cualquier cosa etc. Decida que karma deberías darle en base a lasQA:Update feedback guidelines, entonces insértalo en el prompt. Si no quieres saber cómo testar/probar el paquete, sal directamente pulsando "Enter".

Frequently Asked Questions

  • P: Acabo de actualizar el paquete foo desde el repositorio updates-testing, pero cuando ejecuto fedora-easy-karma, ¿Por qué no me pregunta por feedback (retroalimentación)?
R: La actualización para el paquete está probablemente solicitada para que sea una actualización estable o quizás está con muy mal karma desde el repositorio testing. No se te preguntará por un feedback con actualizaciones que estén disponibles de ese paquete. Si encuentras un nuevo error (bug), por favor repórtalo pero en un nuevo ticket.

Código fuente

Actualmente el código está disponible en un repositorio git de Fedora People