Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (annotate)|
finished almost all internationalization of GenDialog.
Roll rc_conf and make_conf into master etc_files structure in InstallProfile.
fix extra entry in list_mirrors() beginning internationalization runthrough.
fix for unused value in form in dialog.py and changed heights. fix GenDialog forms.
added dialog.py to /src temporarily until it gets accepted upstream.
More updates to GenDialog including two checklists that probably won't work. update IP to use comma-separated list instead of space separated for services.
Changed hostname/domainname for new baselayout. Changed _add_to_runlevel errors to logs. Updated TODO list to show status of GenDialog More updates to GenDialog including two checklists that probably won't work.
Add dhcp_options to the CC, CConfig, and GenDialog. More overall changes to GenDialog as it gets closer to completion.
float() instead of int() in add_partition_device_partition() for minor (closes 96804)
Modify get_eth_info() to take a full interface name (eth0 fex) Actually commit ClientConfig screen with working pre-install net setup
setup_network_post() writes custom DHCP options to /etc/conf.d/net
Changed setup_network_post to check for 'interfaces[interface] != dhcp' instead of 'interfaces[interface]' since DHCP uses that field for its options
Fix undefined variable 'output' issue in spawn()
Fix space vs. tab issue
Fix small error with <pipe>.close() returning None.
Make sure the return value from all spawn() calls is checked with GLIUtility.exitsuccess()
Add new screen for ClientConfig (nothing in it yet) Apply modified version of patch from #96644
more updates to GenDialog and gli-dialog
Modify list_mirrors() to return a list of mirror URL/name pairs.
Adding gli-dialog.py. Updates to GenDialog. Added function to GLIUtility to get subarch.
mount_local_partitions() cleanups and add else block to log unsupported netmount types to mount_network_shares()
Fix for mount_local_partitions() to remember device along with minor in the parts_to_mount dict (closes #96319).
Backend partitioning will create disklabel is none exists. Installprofile defaults to "" now instead of "msdos" for disklabel type.
Add notes about recent stuff.
2.4 support (pull version data from /usr/src/linux/Makefile), incl. 'make dep' call for custom compile. build_mode support for prepare-only and none types completed. custom compile function chains shell functions in spawned script, to allow for catching all errors.
fixed up build_kernel in ArchTemplate for build_mode as well as in dialogfe and GenDialog. other gendialog updates as well. kernel updates untested.
Change structure of etc-portage stuff. The serialization was broken before my last commit, and I am the only person that's ever used it.
Add new entry for gli-profile/kernel-build-method item. Add missing serialize_etc_portage (temporary). Make serialize_make_conf always print the keys in the same order.
Clean up commenting used by _edit_config(), and fix bug where wrong comment was repeatedly appended to make.conf.
Put some Linux-2.6 specific code under a if statement. Store list of successfully mounted swap device for using swapoff. Add proper error checking to install_packages and install_filesystem_tools. Fixed namespace conflicts on 'file'. Clean up some redundant code (thanks to pychecker).
Change _emerge('sync') call to direct call to spawn to avoid 'emerge -k sync'
Added list_mirrors() and list_stage_tarballs_from_mirror() functions to GLIUtility
Fix typos: get_extended() instead of get_extended_partition()
GLIInstallProfile.py: add missing set for dhcp_options if a tuple is passed in add_network_interface.
Mount /dev, /dev/shm, /dev/pts and /sys during prepare_chroot.
ensure PORTAGE_TMPDIR/PORT_LOGDIR/PORTDIR_OVERLAY/PKGDIR exist prior to any usage - this caused a failure for stage1/stage2 previously. swapoff for swap space at end of install.
Add in my documentation for work done today.
More error checking for _add_to_runlevel, to ensure that the init script actually exists before we try to add it. set_services phase must take place after the package installation, otherwise the init scripts might not exist. Find the correct init script for the cron and logging daemons, and add that instead of the package atom.
Fix up _edit_config so that it works if the file doesn't already exist. Fix usage of 'file' to 'contents' for the variable name, as it shadows __builtin__.file.
Add MTA install code, and include MTA install phase. Ensure PORT_LOGDIR/PORTDIR_OVERLAY are created in _emerge if needed. Add support for 'none' kernel config for build_kernel phase. Put kernel_script in /var/tmp instead of /root for build_kernel phase.
Rename mta vars to match syslog/cron vars.
Refactor partition formatting again to include error checking. Allow 'none' for kernel and bootloader specifications. Add .cvsignore files for .py[co].
Refactor code using spawn to reduce duplication.
refixed samyron's fix of set_architecture_template.
Move /tmp/spawn.sh and /tmp/post-install to /var/tmp since that should always be executable
moved the mkfsopts input to the partition options menu instead of the during the creation process. updated GenDialog to say it supports reiserfs v3.
Fix call to get_partition_at()
Change from .1 and .9 to constants for partitioning. Fix free space overwriting bug. Remove a few unused functions from rewrite.
Update ChangeLog with my changes as accepted by agaffney.
Apply latest long/mkfsopts patch from robbat2
Change '_parser' to 'self._parser' in GLIClientConfiguration.
'mkfsopts' parameter is now used and support for creating xfs, jfs, and reiserfs is now in (patch from robbat2)
Removed start/end from XML output and added mkfsopts to partitioning info.
Updates to GenDialog and dialogfe. updated TODO too
Minor fix recommended by pychecker
Typo (%$^&#$!) fix in GLIStorageDevice
more GenDialog updates to partitioning.
Indenting issue in GLISD/get_ordered_partition_list. updates to GenDialog partitioning and added default UTC for timezone in IP.
Added get_eth_devices() to GLIUtility. Updated netfe.py to newest version. More updates to GenDialog :)
Added get_interface_realname() function.
Added auto-save of CConfig and copying to new /root after install. yet even more GenDialog updates.
removed print statement from GLISD. more updates to GenDialog.
Changed 'data' to 'self.data' in a few places in GLIClientConfiguration.
Fix typo in GLIStorageDevice causing mountopts to be loaded from XML as ['mountopts']
Chroot wrapper passes along exit code.
Not being able to fetch the stage tarball is now an exception
A few more fixes for templates/x86Archtemplate
A few more fixes for same.
Fix mount_local_partitions(), configure_fstab(), and install_filesystem_tools() to use GLISD directly
Removed more unused code from CConfig. Updated GLIGenDialog, but it is still a work in progress.
Changes in IP, GLISD, and templates/x86Archtemplate for IP using GLISD directly. GLISD can now handle data imported from XML.
Missing colon in GLIClientConfiguration. Add fix to GLIStorageDevice to handle blank (no disklabel) disks.
HUGE Reorganization of the InstallProfile. All sections alphabetized, cleaned up, documented, and separated out serialization and grouped all sections.
Reorganization of ClientConfiguration and gutting of unused functions. Removed verbose option from CC. Moved import statement in IP and CConfig up.
Fix use of /mnt/gentoo instead of _chroot_dir in finishing_cleanup
CC serializes install profile to disk and prepare_chroot() copies it into /mnt/gentoo/root
Fix a late-night coding error in partitioning
Fixed bug in finishing_cleanup()
Moved URI parsing into new function parse_uri()
Added XMLParser module
Minor fix to is_uri() regex to allow hyphens in hostname
Fix is_realstring() and rewrite is_uri() to use a regex to parse the URI
Add unicode support to is_realstring()
Fix minor bug in finishing_cleanup()
Updated finishing_cleanup for new unmounting method from agaffney.
Fix _edit_config() to properly comment out variables.
Fix GLILogger to use correct time format string.
Use NOCOLOR=yes instead of --nocolor.
Add code to output a traceback to the install log in the event of a GLI or non-GLI exception.
Fix is_eth_device to test for zero return value instead of non-zero.
Added --nocolor to all emerge calls
updated both for new filename. date changes. 2004->2005.
adding in the generic dialog function files.
Removed 'quiet=True' from spawn() calls
Updated GLIUtility with patches from chotchki. Also added documentation
Minor fixes from bug #90823
Added the function for set_etc_portage to ArchTemplate. no step for it yet. Updated _edit_config in ArchTemplate, make_config, and various other fixes from bug #89683, mostly touchups.
GLIStorageDevice cleanup patch from bug #91761
Error logging casts 'error' to str
Fixed timezone code to not link to /mnt/gentoo/usr/share/zoneinfo/blah. Fix _edit_config()
Added code to CC to handle exceptions *not* thrown by the installer itself.
Exceptions received in CC are logged before being passed to the FE
Readded resizing support.
More dirty rsync hacks :-/
Fix _quickpkg_deps() to call _get_packages_to_emerge()
Fix minor bug in _get_packages_to_emerge()
Minor fixes to GLIStorageDevice as suggested by pychecker.
Split 'custom' sync option into 'none' and 'snapshot'
Patches from chotchki (bug #90325) to improve CC networking. untested.
Fixed missing int()s
Fixed == instead of = typos in GLIStorageDevice (pointed out by chotchki)
Proxies patch from chotchki (bug #90147)
Added group-adding code to set_users in ArchTemplate
added post-install script code
Fixed encapsulation issues in GLIClientController (bug #90141)
Update resizing code in GLIStorageDevice
Update AUTHORS, NEWS, TODO. Added documentation to GLILogger.
Reverted change to ArchTemplate and added support for commented line in old code.
_edit_config() changes value in-place and supports ##commented##
Back. Did the docuementation thang for ArchTemplate and ClientConfiguration. Also updated TODO list.
Use blackace's one-liner to add comments for all function for use with pythondoc.
End point of logical is now adjusted along with start.
Partitioning code now tracks start/end of extended for placing logicals.
Fix >4 primary partitions on non-x86.
Moved 'end >= device_sectors' check out of loop to check for next partition's start point.
Add int() around access to minor key in partition information due to new partition code leaving them as float.
Fixed all bugs that stood in the way of partitioning from a blank disk.
Finish overhaul of backend partitioning code.
tweaks to tidy code
tidy_partitions() function in GLIStorageDevice and remove debug statements (gtkfe also)
Major GLIStorageDevice overhaul...all MB now instead of sectors.
Added comments to the ChangeLog.
Pipe emerge through sed to properly strip out junk.
Changed mountopts check to work for blank and whitespace
fixed ethx not being added to runlevel defalt.
added hotplug/coldplug for livecd-kernel added --emptytree to stage2.
fixed the way set_timezone works.
Fixed indent problem in GLICController
Check for disklabel type loop and use the device name without a minor.
kernel_args -> bootloader_kernel_args
Remove most of content in amd64ArchTemplate and make it inherit from x86Archtemplate.
Patch from zahna to add get_eth_info() function.
Patch from zahna for extra arguments to the kernel.
Added code to (hopefully) keep 2nd thread running after install.
Remove /tmp/compile_output.log and /var/log/install.log when install is complete.
append to log when unpacking tarball
Added 'append_log=True' to all spawn() calls using logfile=
looks like it works so ripping out all the old filesystem_tools code.
added a fix to the logger from BenUrban
Added the finishing_cleanup function.
Changed the print statements to logging in the partitioning BE code. the logger may need to be imported to the x86archtemplate. unknown yet.
ripped out error checking of set_services. this is done by _add_to_runlevel.
ow my colon was missing!
set_stage_tarball_uri() doesn't raise an exception on a blank string.
Commented out spawn() debugging prints
GRP-ish quickpkg code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in the install profile if available.
livecd-kernel code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in the install profile if available.
Switch _emerge() call to spawn() call in livecd-kernel code to pass environment variables.
small changes to setup_network_post. moved adding to runlevel of net.x to after the device gets symlinked. added domainname runlevel command.
Removed call to mkvardb in livecd-kernel code as it's now done by catalyst.
minor fix (hopefully) to livecd-kernel code
lots of stuff in both FEs and backend...read the ChangeLogs :P
should emerge hotplug and coldplug before adding them to runlevel.
Remove command to 'rm /tmp/spawn.sh' as it breaks the piping.
added new hash_password() function to GLIUtility
added logfile parameter to spawn() calls
took chroot out of grub_install command. added back sync to dialogfe
Changed chroot wrapper code in spawn() to write the wrapper the python way instead of the bash way to avoid quote conflicts.
Added the amd64ArchitectureTemplate, mostly a copy of x86 without lilo.
Added 'origminor' parameter to GLIStorageDevice and GLIInstallProfile
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in stage1() and stage2()
spawn() outputs to the actual tty8 with display_on_tty8 flag. Compile output logfile moved into /mnt/gentoo in prepare_chroot(). Removed fifo code in gtkfe
Fixed a couple bugs in add_netmount() in GLIInstallProfile. Fixed netmounts code in dialogfe
added code to convert MB/%/* to start/end sectors
Add sigunmask.c contributed by d_m (on freenode) to counteract python's retarted behavior regarding threads and signals.
add 2>&1 to cmd in spawn()
chmod a+x generated script in spawn()
change exitsuccess() back
spawn() automatically creates wrapper script for commands run inside chroot so multiple commands and redirection can be used.
Modified GLIUtility.exitsuccess() to work with return value from commands.getstatusoutput instead of os.waitpid()
Removed default values for stage tarball URI and portage tree URI from InstallProfile. These should be set by the FEs. also added services step to ArchTemplate and coldplug/hotplug runlevels to the genkernel step. Possibly fixed CC DHCP bug with -n. (thx agaffney)
Small fix for setting the default gateway. Also added feature to dialogfe.
switch spawn() over to using commands.getstatusoutput instead of fork/waitpid
only write new resolv.conf if there are dns servers listed.
more true -> True typos
Fixed a bunch of true -> True typos.
quick fix for fifo
added progress bar to dialogfe and fix logger bug in ArchTemplate.
moved lang to __init__
renamed GLISayWhat to GLILocalization
created GLISayWhat module
updated the TODO list
fix 'emerge -p blah' loop and add GRP option to Stage.py
initial code for quickpkg GRP support
added quickpkg to TODO list
check for dhcp in the network stuff and emerge it if it is
Changed the raising of 'warning' exceptions to a simple log of the error so that the installer can continue.
mildly big changes. First, changed most output to display_on_tty8. Second, added log lines to all templates. small cleanups of old commented lines.
undo change with fix
minor GLIStorageDevice fix from BenUrban
changed tty8 output to a fifo
more updates to TODO list. hopefully we'll soon start removing items instead of adding them.
GLIStorageDevice fixes and finished moving stuff to PartProperties
updated TODO list again to keep everyone in sync on remaining tasks.
updated TODO list
small fix. see changelog
fixed custom kernels and added runtime pretend to dialogfe
changed output of portmap start to display_on_tty8. fixed bootloader for udev and multiple kernels
added code to allow custom kernel .config.
more changes. nothing big.
is_uri() only checked if portage_tree_snapshot_uri isn't blank
undo last change
swapon failure isn't an error for now
Added things to the TODO list. and forgot a /
Various fixes related to the add_users function. Still not yet finished.
fixed NFS mounting code
partition data fix
Took out unnecessary setting of random livecd root password.
Attempt at detecting and adding windows partitions to lilo.
small misc fixes. typos and such.
Added lilo code and cleaned up lilo code. also do_partitioning renamed to partition
basic pyparted resize code
clear partition table before third pass
Added mount_network_shares. not able to test it from this computer. will test when i get back to school. also added start_portmap to the client_controller as an always-do. agaffney says this is needed for NFS mounts to work.
install.py updates and partition code fixes
forgot about the set_root_password
Added grp_install and services
partition code move
one more fix + changelog b/c i am a good listener
rewrote configure_fstab and install_bootloader for new partition format.
my midday update on GLI
more sectors instead of cylinders changes
removed depends stuff from Installprofile
GLIStorageDevice ignores freespace <=100 sectors
sectors instead of cylinder for partitioning
GLIStorageDevice mods and major enhancements to Partitioning screen in gtkfe
switched to dumpe2fs to determine the free space for a ext2/3 filesystem in GLIStorageDevice
typo fix and gtkfe updates
Added a function to GLIUtility to pull a value from a make.conf-style config file
Added code in GLIArchitectureTemplate.py to write netmounts into fstab
split network mounts from partition data and updated ChangeLog (in case spyderous is looking over my shoulder :P)
changed the way GLIStorageDevice.py gets ext2/3 free space
We're supposed to update this way more often :)
added _edit_config() to InstallTemplate
updated changelog. added sax parsing to InstallProfile, fixed accessors, clean up, added pydoc, and more. added initial unit test code current tests pass but need a lot of work.
added skeleton misc files
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|