On 01/ 6/11 07:10 PM, Keith Mitchell wrote:
Hi Jean, Joe, Karen,

Thanks for volunteering to review the SCI code. The webrev is at:

http://cr.opensolaris.org/~kemitche/sci.1/

Jean/Joe - you agreed to look at part [a]. Karen, part [d]. Again, it's
mostly moved files and updated imports.

- Keith

[a] sysconfig module - UI part

usr/src/cmd/system-config/date_time.py
usr/src/cmd/system-config/helpfiles/Makefile
usr/src/cmd/system-config/helpfiles/date_time.txt
usr/src/cmd/system-config/helpfiles/network.txt
usr/src/cmd/system-config/helpfiles/network_manual.txt
usr/src/cmd/system-config/helpfiles/summary.txt
usr/src/cmd/system-config/helpfiles/timezone.txt
usr/src/cmd/system-config/helpfiles/users.txt
usr/src/cmd/system-config/helpfiles/welcome.txt
usr/src/cmd/system-config/network_nic_configure.py
usr/src/cmd/system-config/network_nic_select.py
usr/src/cmd/system-config/network_type.py
usr/src/cmd/system-config/summary.py
usr/src/cmd/system-config/timezone.py
usr/src/cmd/system-config/users.py
usr/src/cmd/system-config/welcome.py
usr/src/cmd/system-config/sysconfig.py
usr/src/cmd/system-config/test/test_users.py
usr/src/pkg/manifests/system-install-configuration.mf
usr/src/cmd/system-config/__init__.py
usr/src/cmd/system-config/Makefile

[d] terminalui Python module

usr/src/lib/Makefile.targ
usr/src/lib/terminalui/Makefile
usr/src/lib/terminalui/__init__.py
usr/src/lib/terminalui/action.py
usr/src/lib/terminalui/base_screen.py
usr/src/lib/terminalui/color_theme.py
usr/src/lib/terminalui/edit_field.py
usr/src/lib/terminalui/error_window.py
usr/src/lib/terminalui/help_screen.py
usr/src/lib/terminalui/i18n.py
usr/src/lib/terminalui/inner_window.py
usr/src/lib/terminalui/list_item.py
usr/src/lib/terminalui/main_window.py
usr/src/lib/terminalui/screen_list.py
usr/src/lib/terminalui/scroll_window.py
usr/src/lib/terminalui/test/test_edit_field.py
usr/src/lib/terminalui/test/test_i18n.py
usr/src/lib/terminalui/test/test_scroll_window.py
usr/src/lib/terminalui/test/test_window_area.py
usr/src/lib/terminalui/window_area.py


This looks great Keith.

Here is what little I could find.

Hope this helps.

Joe

- - -

General comment(s).
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Issue:
------
All the copyrights should be updated to 2011

usr/src/cmd/system-config/date_time.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Nit/question:
-------------

143 LOGGER.debug("now year month day hour minute: %s %s %s %s %s",

Does the word "now" need to be there? This reads oddly to me.
I would suggest:

LOGGER.debug("year month day hour minute: %s %s %s %s %s",
or
LOGGER.debug("current year month day hour minute: %s %s %s %s %s",


usr/src/cmd/system-config/helpfiles/Makefile
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

looks OK

usr/src/cmd/system-config/helpfiles/date_time.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

looks OK

usr/src/cmd/system-config/helpfiles/network.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

looks OK

usr/src/cmd/system-config/helpfiles/network_manual.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

looks OK

usr/src/cmd/system-config/helpfiles/summary.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

This file contains only the one line:

"DUMMY TEXT"

usr/src/cmd/system-config/helpfiles/timezone.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Nit:

This series of screens enable you to type the correct time zone for the
system to be installed.

This just reads oddly to me.

This just reads more gooderer to me:

This series of screens allows one to enter the correct time zone for the
system being installed.

I'll leave this nit up to you. Please just reread it to make sure it
sounds good to you.


usr/src/cmd/system-config/helpfiles/users.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

what are the restrictions for root and user password?

usr/src/cmd/system-config/helpfiles/welcome.txt
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

This file contains only the one line:

"DUMMY TEXT"


usr/src/cmd/system-config/network_nic_configure.py
usr/src/cmd/system-config/network_nic_select.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Issue/Confirm:
--------------

  71     HELP_DATA = ("/usr/share/sysconfig/help/%s/network_manual.txt",
  72                  _("Manually Configure: NIC"))
  73     HELP_FORMAT = "  %s"

HELP_DATA and HELP_FORMAT are not used locally. Are they picked up
someplace else?  Please confirm these are needed.

If so maybe a comment would help...


Issue/Confirm:
--------------
What network .txt file belong with what source file? Both network_nic_select
and network_nic_configure point to:
HELP_DATA = ("/usr/share/sysconfig/help/%s/network_manual.txt",

Is this correct?

usr/src/cmd/system-config/network_type.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Looks OK

usr/src/cmd/system-config/summary.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Looks OK

usr/src/cmd/system-config/timezone.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Looks OK

usr/src/cmd/system-config/users.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Question:
---------

 265         '''Check for mismatched passwords, bad login names, etc.'''

Why remove this comment? Seems valid.

usr/src/cmd/system-config/welcome.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Looks OK

usr/src/cmd/system-config/sysconfig.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Issue:
------

67 usage = "usage: %prog [-l FILE] [-v LEVEL] [-n]"

-b is not listed in the usage


usr/src/cmd/system-config/test/test_users.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Looks OK

usr/src/pkg/manifests/system-install-configuration.mf
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Seems OK

usr/src/cmd/system-config/__init__.py
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Nit:
----

  37 from solaris_install.sysconfig.profile import ConfigProfile

Not in correct alphabetical order.

usr/src/cmd/system-config/Makefile
+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=

Seems OK

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to