From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
# This will trigger the following actions (in this order): | # This will trigger the following actions (in this order): | ||
## It will be checked if there are unpushed changes on the current branch. Note that this might prompt for your SSH passphrase. | ## It will be checked if there are unpushed changes on the current branch. Note that this might prompt for your SSH passphrase. | ||
## A login screen pops up requesting FAS credentials from you. | ## A login screen pops up requesting Bodhi/FAS credentials from you. | ||
## The Bodhi update dialog is shown in order to specify the updates one would like to push and other options. | ## The Bodhi update dialog is shown in order to specify the updates one would like to push and other options. | ||
# After the dialog of step 7.3 has been filled in the update will get pushed to Bodhi. | # After the dialog of step 7.3 has been filled in the update will get pushed to Bodhi. |
Revision as of 02:23, 29 September 2011
Description
This test case tests whether Bodhi updates work as expected.
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.
- For this test you will need a package for which you'd like to push a Bodhi update for. I.e. you need to be at least a sponsored packager. If you aren't, please skip this test. We are aware that this is a fairly specific requirement. Kudos to everyone who has packages to update :)
How to test
- Open Eclipse and use a new workspace.
eclipse -data test_day_20111013_fpe_bodhi_update
- 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 name of the package you had prepared for pushing an update and click "Finish".
- The package you've just cloned should show up in your workspace.
- Open the .spec file by double-clicking on it. This should open the .spec file editor in Eclipse.
- In the .spec file right-click => "Fedora Packager" => "Create New Bodhi Update". Alternatively you can press Ctrl+Alt+F B when the .spec file is in focus.
- This will trigger the following actions (in this order):
- It will be checked if there are unpushed changes on the current branch. Note that this might prompt for your SSH passphrase.
- A login screen pops up requesting Bodhi/FAS credentials from you.
- The Bodhi update dialog is shown in order to specify the updates one would like to push and other options.
- After the dialog of step 7.3 has been filled in the update will get pushed to Bodhi.
Expected Results
- <<<FIXME>>>