UbuntuWiki:5-A-Day

出自Ubuntu中文


目录

What is 5-A-Day?

We, that means everybody, will do 5 bugs a day - every day. With only five bugs that everybody looks at every day, we will cover a lot of ground. What you can do? That's up to you, your interests and your abilities.

  • If you're a developer, you can help out reviewing patches and getting them uploaded.
  • If you want to just confirm new bugs, you can do that.
  • If you've experience with a certain package and want to triage bugs you can do that and forward them upstream if necessary.
  • If you know your way around Ubuntu quite well, you can help assign bugs to the right package.

What you need to do to participate?

Anybody who reports bugs

Did you report a bug on a previous release of Ubuntu?

  • Is it the best quality bug report it could be?
  • Could it use a better summary or a test case?
  • Do you know if the bug is still occurs in the development release?

You can review the bugs you've reported at https://bugs.launchpad.net/people/+me/+reportedbugs .

Not a developer?

Once you feel comfortable to start triaging, the following lists may be a helpful starting point:

  1. If the report has not had any recent activity, it would be helpful to know if the issue reported still exists or not.
  2. Additionaly, if the issue still exists, it would be useful to know if it is still present in the actively developed kernel.
  • If you're interested on GUI applications you may want to take a look to:
Product Debugging Instructions
UpdateManager DebuggingUpdateManager
Compiz DebuggingCompiz

You're a developer?

You might be interested in the following lists of bugs:

  1. Make sure the bug is still relevant.
  2. Assign it to you.
  3. Transform the patch into a debdiff if necessary.
  4. Make sure it builds and fixes the bug.
  5. Add it to the sponsoring queue or upload it yourself.

What you can do to spread the message?

Example:

My 5 today:
 - Bug 123456 (upstream fix included in Ubuntu)
 - Bug 123457 (upstream fix included in Ubuntu)
 - Bug 123458 (explained about debdiff process)
 - Bug 123459 (sponsored the upload)
 - Bug 123460 (guided patch into sponsoring queue)

Do 5 a day - every day! https://wiki.ubuntu.com/5-A-Day

Anchor(Log)

Automatic Reporting

This step is optional, but will automatically report your bug numbers and update your signature file if you like it to.

Reporting to the 5-A-Day log

  1. Add the following line to your `/etc/apt/sources.list`:
  • For Hardy:
deb http://ppa.launchpad.net/5-a-day/ubuntu hardy main
  • For Gutsy:

deb http://ppa.launchpad.net/5-a-day/ubuntu gutsy main deb http://ppa.launchpad.net/bughelper-dev/ubuntu gutsy main

deb http://ppa.launchpad.net/bzr/ubuntu gutsy main

NOTE: At this moment 5-A-Day can only be installed in Hardy+ check https://bugs.launchpad.net/ubuntu/+source/python-launchpad-bugs/+bug/226949

  1. Install the `five-a-day` package:
    sudo apt-get update; sudo apt-get install five-a-day
  2. Join the 5-a-day team on Launchpad.
  3. Tell `5-a-day` which Launchpad user you have:
    echo <Your Launchpad ID> > ~/.5-a-day
  4. If you haven't done so, add your SSH key to Launchpad.
  5. Run `5-a-day --add`:
    5-a-day --add <bugnumbers>
    For example:
    5-a-day --add 123456 123457 123458 123459 123460
    
  6. Done. :-)

Update ~/.signature

  1. Follow the steps above.
  2. Run:
    update-signature
    and it will automatically update your signature. (It will also preserve an old `~/.signature` file if it finds it.)
  3. Make sure your mail client picks up the shiny new `~/.signature`.

Generate a blog "signature"

  1. Follow the steps above.
  2. Run:
    update-signature --html
    and it will spit out HTML code you can add to your blog entry.

5-A-Day Applet

  1. Add the PPAs as mentioned above.
  2. Run
    sudo apt-get update; sudo apt-get install five-a-day-applet
  3. Right-click on your GNOME panel, add the 5-A-Day applet to it.
  4. Work on a bug as mentioned above.
  5. Drag the Firefox / Epiphany tab on the applet, done.

Check out this video to see how it works.

Contribute within your LoCo Team

We explicitly want LoCo teams to be in this. Sure the `motu` team would do great, the `bugsquad` too but that would be cheating, wouldn't it? :-)

  1. Run
    echo <your LoCo Team's LP ID> > ~/.5-a-day-team
    for example:
    echo ubuntu-berlin > ~/.5-a-day-team
    (Note: You need to member of that team.)
  2. If you're unsure what your team's Launchpad ID is,
    1. check out your Launchpad team participation page.
    2. find the LoCo team you're member of
      5-A-Day?action=AttachFile&amp;do=get&amp;target=identify-loco.png
    3. click on it
    4. check out the URL in the URL bar of your browser
      loco-id.png<?action=AttachFile&do=get&target=li%3E%3C%2Fol%3E

      Anchor(Tag)

      Tagging 5-A-Day Bugs

      This new feature is particularly useful during events like Hug Days or Bug Jams.

      1. Make sure you have `five-a-day` version `>= 0.26` installed.
      2. Run
        5-a-day --add-tag tag-you-are-going-to-use
        
      3. Add 5-A-Day bugs as usual.
      4. ...
      5. Run
        5-a-day --remove-tag tag-you-are-going-to-use
        
        to stop using the particular tag.