From Fedora Project Wiki
(Created page with "{{QA/Test_Case |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 S...") |
No edit summary |
||
Line 8: | Line 8: | ||
|actions= | |actions= | ||
# Open Eclipse (it is recommended to use a new workspace). | # Open Eclipse (it is recommended to use a new workspace). | ||
# Open the "Import from Fedora Git" wizard. Press {{command|CTRL+ | # Open the "Import from Fedora Git" wizard. Press {{command|CTRL+ALT+F I}}. Alternatively, use File => Import => Git => Projects from Fedora Git | ||
# Enter the name of the desired package | # Enter the name of the desired package. | ||
# You should now see | # 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. | # 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. | # You should now see a file browser. Select the SRPM to import from the file system. | ||
Line 16: | Line 16: | ||
# The local repository should contain the contents of the SRPM in addition to any existing files. | # 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 Fedora git should be added but not committed. | ||
# The files which should be uploaded to the lookaside cache should be in the lookaside cache. | # The files which should be uploaded to the lookaside cache should be in the lookaside cache. <<<FIXME: Describe how to verify>>> | ||
}} | }} |
Revision as of 21:34, 2 September 2011
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. <<<FIXME: Describe how to verify>>>