From Fedora Project Wiki

Description

This test case tests whether importing SRPMs functions as expected. Note that this requires the tester to be a Fedora package maintainer that has an SRPM that contains a desired update to a repository or an SRPM of an approved package that has not been uploaded yet. Testers that do not fall into this category should skip this test case.

Setup

  1. Ensure that the SRPM that contains the update/package source is on the machine.
  2. Boot into the machine/VM you wish to test.
  3. Install eclipse-fedorapackager-0.2.1-1.fc16 via yum install eclipse-fedorapackager.
  4. Make sure that file ~/.fedora.cert exists.

How to test

  1. Open Eclipse (it is recommended to use a new workspace).
  2. Open the "Import from Fedora Git" wizard. Press Ctrl+Alt+F I. Alternatively, use File => Import => Git => Projects from Fedora Git
  3. Enter the name of the desired package.
  4. You should now see the imported Fedora Git project in your Eclipse workspace.
  5. If you right-click on this project and go Fedora Packager => Import SRPM to Repository.
  6. You should now see a file browser. Select the SRPM to import from the file system.

Expected Results

  1. The local repository should contain the contents of the SRPM in addition to any existing files.
  2. The files which should be uploaded to Fedora git should be added but not committed.
  3. The files which should be uploaded to the lookaside cache should be in the lookaside cache. To verify:
    1. Move the local source files to a different project or folder.
    2. Right-click on the project, and go Fedora Packager => Download Sources.
    3. Verify that the local files are the same as the moved files.