From Fedora Project Wiki
Description
This test case tests whether archives of sources of software required for their Fedora packages can be uploaded to the lookaside cache. Once sources have been uploaded, it should be possible to download them.
Setup
- 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. - Ensure that you have source archives handy for a package you maintain. If you don't have that you may skip this test.
How to test
- Open Eclipse and use a new workspace.
eclipse -data test_day_20111013_fpe_upload_sources
- Press Ctrl+Alt+F I to open the import wizard. Alternatively press Ctrl+3 and start typing "Projects from Fedora Git", then press return.
- Enter the package name of a package you maintain, make sure that Eclipse found your
~/.fedora.cert
and was able to extract your FAS username from the certificate - there should be a message similar to the following image showing you that - then click "Finish". - The package you've just cloned should show up in your workspace.
- Next, copy sources you'd like to upload into the project in your workspace. You can do that by drag-and-drop by opening up nautilus, navigating to the source tarball and dragging it into the project. If the sources are available via an URL you can use that URL in the .spec file directly and use the .spec file editor to dowload the referenced file directly Ctrl + hover over URL.
Expected Results
- <<<FIXME>>>