Legacy/QAPublish

From FedoraProject

Jump to: navigation, search

Contents

Testing packages for release to updates-testing (PUBLISH)

1. Download the SRPM package from the location specified in Bugzilla.

2. Inspect the code and .spec file looking for any problems. See the QA Checklist below for things to check.

3. Verify that the patch comes from a trusted source (e.g., by doing a diff), should fix the bugs on the package.

If the changes have been non-trivial, you should also consider doing the following:

Recommendations for Publish QA

Publish QA can be done even if you do not have access to the OS version in question, because all you are required to do (when the changes are simple enough) is verify the correctness. Therefore when doing PUBLISH voting, it is good idea to check all the OS versions available at the same time, because the packages will not be rebuilt for updates-testing until all the OS versions have been voted for PUBLISH.

There are a couple of cases where you can give a PUBLISH and the problem can be corrected later

An example procedure for PUBLISH QA for simple updates

Using this process, there is experience of being able to do PUBLISH QA for 4 OS versions of a package in less than 15 minutes from the start to finish.

script (see QA Testing ). If there is a QA'd update or update-testing package, fetch those; if not (list-latest.sh doesn't show these), get the originals from Red Hat/Fedora repository.

for all the .src.rpm's.

1. Check which files have been added or deleted. Typically there should be no removals, just an added patch or two. You'll need to find out if something has been removed; note which ones have been added.

2. Check the SHA1sums for the included files. Ignore the new files (from above). Ignore the .spec file change which always happens. Take special note if there are others (typically there shouldn't be; if there are, these need to be checked carefully).

3. If all you had was an added patch (or two) and the .spec file changes, you can ignore the rest of the diffs and go straight into checking the .spec file (we'll look at the added patches later). Other change diffs need to be reviewed now.

4. Check that .spec file only includes the intended changes, e.g., bump of the release tag, added buildrequires, the added patch(es), applying the patch(es) with %patch, and the update of %changelog. In particular, verify that the patches have bee applied, the versioning is sane, and there are no other substantial changes.

If there were issues (e.g., a patch for one version was missing something) and you cannot give PUBLISH vote right away, describe the issues clearly; the message does not need to be gpg signed.

QA Checklist for PUBLISH

The following is a QA checklist for the first step in the QA process. This is simply a checklist that should be done for each package during the first step of the QA process, but it is not the entire QA process. Each package may have steps unique to that package which are not listed here. If there are major changes in the spec file, fedora.us QAChecklist [1] may optionally be consulted.

Required checklist

1. Are the sources, patches, etc. correct and free from trojans?

2. Does the package naming scheme follow the Fedora Legacy RPM Versioning conventions?

3. Check the spec file for any changes from the previous release. Most Legacy releases shouldn't change more than adding a patch (or multiple patches) and a changelog entry, as well as bumping the release number.