Hi,
For everybody not wanting to test the code himself, here is the output of running the test Hub and password Spoke using our run-hub tool:
[msivak@office68 tui]$ make runtexthub HUB_MODULE=summary HUB_CLASS=SummaryHub ANACONDA_DATA=/home/msivak/Work/anaconda/tui/data \ ANACONDA_INSTALL_CLASSES=/home/msivak/Work/anaconda/tui/pyanaconda/installclasses \ PYTHONPATH=.:pyanaconda/isys/.libs:widgets/python/:widgets/src/.libs/ \ LD_LIBRARY_PATH=widgets/src/.libs \ pyanaconda/ui/tui/tools/run-hub.py summary SummaryHub dm.c: 1693: not running as root returning empty list Running hub <class 'pyanaconda.ui.tui.hubs.summary.SummaryHub'> from <module 'pyanaconda.ui.tui.hubs.summary' from '/home/msivak/Work/anaconda/tui/pyanaconda/ui/tui/hubs/summary.pyc'> Loaded plugins: blacklist, langpacks, presto, refresh-packagekit, whiteout Loaded plugins: blacklist, langpacks, presto, refresh-packagekit, whiteout Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-bluesky&arch=x86_... error was No repomd file Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=updates-released-fbluesky&am... error was No repomd file ================================================================================ ================================================================================ Install hub
1 [ ] Set root password (Password is not set.) Please make your choice from above ['q' to quit]: 1 ================================================================================ ================================================================================ Set root password
Please select new root password. You will have to type it twice.
Password: Password (confirm): Passwords do not match! ================================================================================ ================================================================================ Install hub
1 [ ] Set root password (Password is not set.) Please make your choice from above ['q' to quit]: 1 ================================================================================ ================================================================================ Set root password
Please select new root password. You will have to type it twice.
Password: Password (confirm): ================================================================================ ================================================================================ Install hub
1 [x] Set root password (Password is set.) Please make your choice from above ['q' to quit]: q ================================================================================ ================================================================================ Question
Do you really want to quit?
Please respond 'yes' or 'no': no ================================================================================ ================================================================================ Install hub
1 [x] Set root password (Password is set.) Please make your choice from above ['q' to quit]: q ================================================================================ ================================================================================ Question
Do you really want to quit?
Please respond 'yes' or 'no': yes Hub kickstart fragment: #version=DEVEL # System timezone timezone # Root password rootpw --plaintext aaaaa # Installation logging level logging --level=info
Martin
----- Original Message -----
In my git.
Start it using make runtexthub HUB_MODULE=summary HUB_CLASS=SummaryHub
About activate method, we need to decide on when to call it. Whether everytime Spoke is closed or only if it gets closed using "back", "continue" (not there right now, but very easy to add to TUISpoke.input method).
I did password spoke as well to compare, it uses overriden prompt method to get the passwords. You would just return string from prompt() and handle the input in input() in standard NormalSpoke.
Martin
----- Original Message -----
On 07/30/2012 12:28 PM, Jesse Keating wrote:
I will add the documentation and some unit tests as time allows.
web:http://http://fedorapeople.org/cgit/msivak/public_git/anaconda.git/
I'll take a look.
Can you please include a working hub/spoke so that we can see how this all interacts? that was the main goal to my work, have a hub/spoke actually working so that we can see what code was necessary. I have a text summary hub that when executed is able to find the rootpw spoke and run it, including stuffing some data into the kickstart object. I'd like to see something like that in your code set.
-- Jesse Keating Fedora -- Freedom² is a feature!
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list