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
- Ensure that the SRPM that contains the update/package source is on the machine.
- Boot into the machine/VM you wish to test.
- Install
eclipse-fedorapackager-0.2.1-1.fc16
viayum install eclipse-fedorapackager
. - Make sure that file ~/.fedora.cert exists.
How to test
- Open Eclipse (it is recommended to use a new workspace).
- Open the "Import from Fedora Git" wizard. Press Ctrl+Alt+F I. Alternatively, use File => Import => Git => Projects from Fedora Git
- Enter the name of the desired package.
- You should now see the imported Fedora Git project in your Eclipse workspace.
- If you right-click on this project and go Fedora Packager => Import SRPM to Repository.
- You should now see a file browser. Select the SRPM to import from the file system.
Expected Results
- The local repository should contain the contents of the SRPM in addition to any existing files.
- The files which should be uploaded to Fedora git should be added but not committed.
- The files which should be uploaded to the lookaside cache should be in the lookaside cache. To verify:
- Move the local source files to a different project or folder.
- Right-click on the project, and go Fedora Packager => Download Sources.
- Verify that the local files are the same as the moved files.