PPA_Testing

Differences between revisions 3 and 44 (spanning 41 versions)
Revision 3 as of 2008-01-22 10:39:28
Size: 2299
Editor: yttrium
Comment:
Revision 44 as of 2013-07-31 05:47:05
Size: 3038
Editor: d154-5-184-90
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
SRU Verification is the process of testing packages, updated to fix a bug, that exist in the -proposed repository. These packages need testing to ensure that the package continues to function as designed and that the bug is fixed. ## page was copied from QATeam/PerformingSRUVerification
<<Include(QATeam/Header)>>
Line 3: Line 4:
== How to find bugs needing verification == ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents>>||
Line 5: Line 6:
Bugs needing SRU verification can be found by querying Launchpad for the bug tag [https://launchpad.net/ubuntu/+bugs?field.tag=verification-needed verification-needed] or by viewing the [http://people.ubuntu.com/~ubuntu-archive/pending-sru.html Pending Ubuntu SRUs]. The Pending Ubuntu SRUs are generated by parsing the changelogs of the packages in -proposed repository. By clicking on '''changelog bugs''' entry you will be taken to the Launchpad bug report (if it exists). Some bugs resolved by -proposed packages require specific hardware and these can be identified by the '''hw-specific''' tag in Launchpad or by the '''(hw)''' next to the bug number at the Pending Ubuntu SRUs page. = PPA Testing =
||<tablestyle="font-size: 0.9em; margin: 0.5em;" style="padding:0.5em;">{{attachment:IconsPage/flask192x192.png}}||
Line 7: Line 9:
== Identifying how to test ==
Line 9: Line 10:
The first step in identifying how to test is determing the release or releases of Ubuntu affected by the particular bug. This can be done by looking at the bug report and determining the release affected by the bug. (use a screenshot of bug 160176 to show what bugs targeted to a release look like). Alternatively, at the [http://people.ubuntu.com/~ubuntu-archive/pending-sru.html Pending Ubuntu SRUs] page there are sections for each release of Ubunut that is currently supported.
Line 11: Line 11:
After identifying the release or releases to test on detailed steps to recreate the bug can be found in the "TEST CASE" section of the bug's description. Sometimes during the test cycle one of the developers may ask you to test something specific for them. This is often phrased as
Line 13: Line 13:
== How to perform the test == ''' please install application from ppa:xyz and test'''.
[[http://en.wikipedia.org/wiki/Personal_Package_Archive|(What is a ppa?)]]
Line 15: Line 16:
After booting into the affected release of Ubuntu the following steps should be taken: As the developers spend most of their time talking in a language that I understand as well as I do [[http://en.wikipedia.org/wiki/Klingon#Language | Klingon]] I did ask for an explanation that humans could understand. In the below example, I will use the application '''application''' from the ppa '''ppa:xyz'''. These two pieces of information will be given to you. If you are ever in doubt of either the application or the ppa full names, please do ask the devs. Do '''not''' install ppa's that you do not fully trust, they can be a source of [[http://en.wikipedia.org/wiki/Malware | malware]], if in doubt.... '''ASK'''. Some PPA's will ask for acceptance of a GPG key... Again, if in doubt '''ASK'''.
Line 17: Line 18:
1. Install all available updates
1. Recreate the bug using the steps identified in the "TEST CASE"
1. Update your '/etc/apt/sources.list' file to include the -proposed repository
 * what the line looks like for Gutsy
1. Install the updated package via 'sudo apt-get install package' or 'sudo apt-get install package=version-number'
1. Try to recreate the bug using the steps identified in the "TEST CASE"
1. Use the software installed by the package in common ways
== Adding ==
Line 25: Line 20:
== Ways to test using virtual machines == Open a [[https://help.ubuntu.com/community/UsingTheTerminal| terminal]] session:

{{{
sudo apt-add-repository ppa:xyz
sudo apt-get update
sudo apt-get install application
}}}

If being asked to accept a GPG key, the steps will be slightly different. At the step
{{{
sudo apt-add-repository ppa:xyz
}}}
you will asked to accept the GPG key, simply press ''Enter'' to accept, provided you trust the PPA.

What the above does:

 1. sudo apt-add-repository ppa:xyz '''''add the ppa called xyz to your system index''''',
 2. sudo apt-get update '''''tell your system it is there to be used'''''.
 3. sudo apt-get install application '''''install the application'''''.

== Removing ==

If the new '''application''' does not work, report a [[https://wiki.ubuntu.com/Lubuntu/ReportingBugs | Bug]]. Then you may want / need to get rid of it and re-install the current version.

Open a [[https://help.ubuntu.com/community/UsingTheTerminal| terminal]] session:

{{{
sudo apt-add-repository -r ppa:xyz
sudo apt-get update
sudo apt-get remove application
sudo apt-get install application
}}}

What the above does:

 1. sudo apt-add-repository -r ppa:xyz '''''remove the test ppa area'''''
 2. sudo apt-get update '''''tell your system it is no longer to be used'''''
 3. sudo apt-get remove application '''''remove the new version'''''
 4. sudo apt-get install application '''''now that the test ppa is no longer in use, the install will 'grab' the one from the normal area.'''''


== GPG Keys ==

A full description of GPG keys and their use can be found at [[https://help.ubuntu.com/community/GnuPrivacyGuardHowto | About GPG Keys]].

PPA Testing

IconsPage/flask192x192.png

Sometimes during the test cycle one of the developers may ask you to test something specific for them. This is often phrased as

please install application from ppa:xyz and test. (What is a ppa?)

As the developers spend most of their time talking in a language that I understand as well as I do Klingon I did ask for an explanation that humans could understand. In the below example, I will use the application application from the ppa ppa:xyz. These two pieces of information will be given to you. If you are ever in doubt of either the application or the ppa full names, please do ask the devs. Do not install ppa's that you do not fully trust, they can be a source of malware, if in doubt.... ASK. Some PPA's will ask for acceptance of a GPG key... Again, if in doubt ASK.

Adding

Open a terminal session:

sudo apt-add-repository ppa:xyz
sudo apt-get update
sudo apt-get install application

If being asked to accept a GPG key, the steps will be slightly different. At the step

sudo apt-add-repository ppa:xyz

you will asked to accept the GPG key, simply press Enter to accept, provided you trust the PPA.

What the above does:

  1. sudo apt-add-repository ppa:xyz add the ppa called xyz to your system index,

  2. sudo apt-get update tell your system it is there to be used.

  3. sudo apt-get install application install the application.

Removing

If the new application does not work, report a Bug. Then you may want / need to get rid of it and re-install the current version.

Open a terminal session:

sudo apt-add-repository -r ppa:xyz
sudo apt-get update
sudo apt-get remove application
sudo apt-get install application

What the above does:

  1. sudo apt-add-repository -r ppa:xyz remove the test ppa area

  2. sudo apt-get update tell your system it is no longer to be used

  3. sudo apt-get remove application remove the new version

  4. sudo apt-get install application now that the test ppa is no longer in use, the install will 'grab' the one from the normal area.

GPG Keys

A full description of GPG keys and their use can be found at About GPG Keys.

QATeam/PPA_Testing (last edited 2013-08-03 04:38:53 by d154-5-184-90)