catalyst.git
15 years agoNormalize spaces and tabs: modules/catalyst/spawn.py - spawn_bash.
Robin H. Johnson [Wed, 27 May 2009 15:45:34 +0000 (08:45 -0700)]
Normalize spaces and tabs: modules/catalyst/spawn.py - spawn_bash.

15 years agoNormalize spaces and tabs: modules/catalyst/util.py
Robin H. Johnson [Wed, 27 May 2009 15:44:21 +0000 (08:44 -0700)]
Normalize spaces and tabs: modules/catalyst/util.py

15 years agoNormalize spaces and tabs: modules/catalyst/target/tinderbox.py
Robin H. Johnson [Wed, 27 May 2009 15:43:28 +0000 (08:43 -0700)]
Normalize spaces and tabs: modules/catalyst/target/tinderbox.py

15 years agoNormalize spaces and tabs: modules/catalyst/target/netboot.py
Robin H. Johnson [Wed, 27 May 2009 15:43:00 +0000 (08:43 -0700)]
Normalize spaces and tabs: modules/catalyst/target/netboot.py

15 years agoNormalize spaces and tabs: modules/catalyst/target/grp.py
Robin H. Johnson [Wed, 27 May 2009 15:42:10 +0000 (08:42 -0700)]
Normalize spaces and tabs: modules/catalyst/target/grp.py

15 years agoPut the vim modeline in all source files to avoid any more tab/space mess.
Robin H. Johnson [Wed, 27 May 2009 15:40:54 +0000 (08:40 -0700)]
Put the vim modeline in all source files to avoid any more tab/space mess.

15 years agoThis bad vim modeline is one of the reasons that tabs and spaces are being mixed...
Robin H. Johnson [Wed, 27 May 2009 15:40:31 +0000 (08:40 -0700)]
This bad vim modeline is one of the reasons that tabs and spaces are being mixed. Switch expandtab to noexpandtab as the new official line leader for Catalyst is tabs.

15 years agoGet rid of addlargs in the main script
Andrew Gaffney [Tue, 7 Apr 2009 02:44:11 +0000 (21:44 -0500)]
Get rid of addlargs in the main script
Initial basics for multiple target support
Move targetmap into global config object

15 years agomore spacing cleanups
Andrew Gaffney [Tue, 7 Apr 2009 02:20:19 +0000 (21:20 -0500)]
more spacing cleanups

15 years agospacing cleanups
Andrew Gaffney [Tue, 7 Apr 2009 02:17:43 +0000 (21:17 -0500)]
spacing cleanups

15 years agoClean up cleanables
Andrew Gaffney [Tue, 7 Apr 2009 02:09:33 +0000 (21:09 -0500)]
Clean up cleanables

15 years agoNote in TODO where things have already been done
Andrew Gaffney [Sun, 5 Apr 2009 04:34:52 +0000 (23:34 -0500)]
Note in TODO where things have already been done

15 years agoExplicitly set target: in per-target spec values
Andrew Gaffney [Sat, 4 Apr 2009 22:32:03 +0000 (17:32 -0500)]
Explicitly set target: in per-target spec values

15 years agoApply additional patch from gentoo bug #255793 for arm subarches
Andrew Gaffney [Sat, 4 Apr 2009 22:16:20 +0000 (17:16 -0500)]
Apply additional patch from gentoo bug #255793 for arm subarches

15 years agoApply patch from gentoo bug #264457 to prevent deleting of ccache cache
Andrew Gaffney [Sat, 4 Apr 2009 19:34:01 +0000 (14:34 -0500)]
Apply patch from gentoo bug #264457 to prevent deleting of ccache cache

15 years agoAdditional sh patch from gentoo bug #255793
Andrew Gaffney [Tue, 24 Feb 2009 13:30:03 +0000 (07:30 -0600)]
Additional sh patch from gentoo bug #255793

15 years agoApply modified patch from gentoo bug #255793 for enhanced sh/arm support
Andrew Gaffney [Sat, 21 Feb 2009 17:21:39 +0000 (11:21 -0600)]
Apply modified patch from gentoo bug #255793 for enhanced sh/arm support

15 years agoAdd note to TODO about enhanced catalystrc support
Andrew Gaffney [Fri, 30 Jan 2009 02:39:35 +0000 (20:39 -0600)]
Add note to TODO about enhanced catalystrc support

15 years agoUpdate reference to make.conf.example for new location in portage-2.1.6
Andrew Gaffney [Wed, 21 Jan 2009 03:36:21 +0000 (21:36 -0600)]
Update reference to make.conf.example for new location in portage-2.1.6

15 years agoRemove --noreplace from run_merge call so that baselayout gets rebuilt with USE=build
Andrew Gaffney [Tue, 20 Jan 2009 22:45:13 +0000 (16:45 -0600)]
Remove --noreplace from run_merge call so that baselayout gets rebuilt with USE=build

15 years agoChange invalid atom '>=sys-apps/baselayout-2*' to '>=sys-apps/baselayout-2'
Andrew Gaffney [Fri, 16 Jan 2009 17:12:58 +0000 (11:12 -0600)]
Change invalid atom '>=sys-apps/baselayout-2*' to '>=sys-apps/baselayout-2'

15 years agoAdd run_controller_action() function and replace manual calls to controller file
Andrew Gaffney [Wed, 14 Jan 2009 14:13:24 +0000 (08:13 -0600)]
Add run_controller_action() function and replace manual calls to controller file

15 years agoAdd clean no-op for system target
Andrew Gaffney [Wed, 14 Jan 2009 13:44:49 +0000 (07:44 -0600)]
Add clean no-op for system target

15 years agoFix up a few runtime errors
Andrew Gaffney [Wed, 14 Jan 2009 02:11:30 +0000 (20:11 -0600)]
Fix up a few runtime errors

15 years agoInitial commit of new system target
Andrew Gaffney [Tue, 13 Jan 2009 22:39:35 +0000 (16:39 -0600)]
Initial commit of new system target

15 years agoAdd procedure for 'system' target
Andrew Gaffney [Tue, 13 Jan 2009 21:56:47 +0000 (15:56 -0600)]
Add procedure for 'system' target

15 years agoTODO updates: add information about verification of seeds/caches/configs/specs, updat...
Chris Gianelloni [Tue, 13 Jan 2009 20:35:44 +0000 (12:35 -0800)]
TODO updates: add information about verification of seeds/caches/configs/specs, update automated actions section in targets, add all-stages and all-images target information, clean up system and world target information, add information on improving caching/resuming, move mixed host/target information into targets section, add information on replacing livecd-tools (hwdata/libkudzu/hwsetup) with internal code, and fixing the spacing.

15 years agoTODO updates: added section on statistics gathering/reporting, added section on ...
Chris Gianelloni [Tue, 13 Jan 2009 18:48:53 +0000 (10:48 -0800)]
TODO updates: added section on statistics gathering/reporting, added section on (potential) new targets, and update boot loader section.

15 years agoRemove all references to 'spec' and 'addlargs' in target modules
Andrew Gaffney [Tue, 13 Jan 2009 18:40:59 +0000 (12:40 -0600)]
Remove all references to 'spec' and 'addlargs' in target modules

15 years agoAll targets have been updated not to use the spec_prefix, so we don't need to save...
Andrew Gaffney [Tue, 13 Jan 2009 15:47:25 +0000 (09:47 -0600)]
All targets have been updated not to use the spec_prefix, so we don't need to save the prefixed keys anymore

15 years agoDon't pass conf_values or addlargs to target __init__()
Andrew Gaffney [Tue, 13 Jan 2009 14:05:44 +0000 (08:05 -0600)]
Don't pass conf_values or addlargs to target __init__()

15 years agoRemove all references to self.settings[spec_prefix] and remove some now useless funct...
Andrew Gaffney [Tue, 13 Jan 2009 14:01:40 +0000 (08:01 -0600)]
Remove all references to self.settings[spec_prefix] and remove some now useless functions that remove the prefix from certain spec settings

15 years agoReorganize init for snapshot target
Andrew Gaffney [Tue, 13 Jan 2009 13:37:00 +0000 (07:37 -0600)]
Reorganize init for snapshot target

15 years agotypo
Andrew Gaffney [Tue, 13 Jan 2009 13:22:11 +0000 (07:22 -0600)]
typo

15 years agoTry to import portage.util before portage_util
Andrew Gaffney [Tue, 13 Jan 2009 13:19:41 +0000 (07:19 -0600)]
Try to import portage.util before portage_util

15 years agoAdd validate_values() and compare_key() functions to Spec class
Andrew Gaffney [Tue, 13 Jan 2009 04:43:32 +0000 (22:43 -0600)]
Add validate_values() and compare_key() functions to Spec class

15 years agoAdd new global config singleton object and Spec class and convert snapshot and generi...
Andrew Gaffney [Tue, 13 Jan 2009 00:45:30 +0000 (18:45 -0600)]
Add new global config singleton object and Spec class and convert snapshot and generic targets to use it

15 years agoAdd base singleton class definition
Andrew Gaffney [Mon, 12 Jan 2009 22:04:37 +0000 (16:04 -0600)]
Add base singleton class definition

15 years agoadd note about logging to TODO
Andrew Gaffney [Mon, 12 Jan 2009 21:32:19 +0000 (15:32 -0600)]
add note about logging to TODO

15 years agoMore replacements of print statement with msg()
Andrew Gaffney [Mon, 12 Jan 2009 20:40:57 +0000 (14:40 -0600)]
More replacements of print statement with msg()

15 years agoMove livecd/files directory/files to files/livecd.
Chris Gianelloni [Mon, 12 Jan 2009 17:33:36 +0000 (09:33 -0800)]
Move livecd/files directory/files to files/livecd.

15 years agoMove livecd/cdtar directory/files to files/cdtar.
Chris Gianelloni [Mon, 12 Jan 2009 17:25:37 +0000 (09:25 -0800)]
Move livecd/cdtar directory/files to files/cdtar.

15 years agoadd some notes
Andrew Gaffney [Mon, 12 Jan 2009 15:53:28 +0000 (09:53 -0600)]
add some notes

15 years agoReplace more instances of print with msg()
Andrew Gaffney [Mon, 12 Jan 2009 15:46:40 +0000 (09:46 -0600)]
Replace more instances of print with msg()

15 years agoMore replacements of the print statement with msg()
Andrew Gaffney [Mon, 12 Jan 2009 15:33:21 +0000 (09:33 -0600)]
More replacements of the print statement with msg()

15 years agoReplace all instances of print with catalyst.output.msg() in catalyst.target.generic_...
Andrew Gaffney [Mon, 12 Jan 2009 13:52:27 +0000 (07:52 -0600)]
Replace all instances of print with catalyst.output.msg() in catalyst.target.generic_stage

15 years agoMove set_autoresume_path() from catalyst.target.generic_stage to catalyst.target...
Andrew Gaffney [Mon, 12 Jan 2009 13:34:33 +0000 (07:34 -0600)]
Move set_autoresume_path() from catalyst.target.generic_stage to catalyst.target.generic

15 years agoMake use of set_autoresume() in target modules
Andrew Gaffney [Mon, 12 Jan 2009 04:59:33 +0000 (22:59 -0600)]
Make use of set_autoresume() in target modules

15 years agoAdd check_autoresume() and set_autoresume() helpers to catalyst.target.generic and...
Andrew Gaffney [Mon, 12 Jan 2009 04:55:35 +0000 (22:55 -0600)]
Add check_autoresume() and set_autoresume() helpers to catalyst.target.generic and make use of them

15 years agoImport only cmd() from catalyst.spawn
Andrew Gaffney [Mon, 12 Jan 2009 04:01:00 +0000 (22:01 -0600)]
Import only cmd() from catalyst.spawn

15 years agoRemove redundant imports
Andrew Gaffney [Mon, 12 Jan 2009 03:49:03 +0000 (21:49 -0600)]
Remove redundant imports

15 years agoRemove catalyst.support module
Andrew Gaffney [Mon, 12 Jan 2009 03:35:50 +0000 (21:35 -0600)]
Remove catalyst.support module

15 years agoMove remaining stuff from catalyst.support to catalyst.config
Andrew Gaffney [Mon, 12 Jan 2009 03:31:36 +0000 (21:31 -0600)]
Move remaining stuff from catalyst.support to catalyst.config

15 years agoMove addl_arg_parse() from catalyst.support to catalyst.util
Andrew Gaffney [Mon, 12 Jan 2009 03:23:55 +0000 (21:23 -0600)]
Move addl_arg_parse() from catalyst.support to catalyst.util

15 years agomissing self.
Andrew Gaffney [Mon, 12 Jan 2009 02:29:35 +0000 (20:29 -0600)]
missing self.

15 years agoMove gen_contents_file() and gen_digest_file() from catalyst.target.generic_stage...
Andrew Gaffney [Mon, 12 Jan 2009 02:28:32 +0000 (20:28 -0600)]
Move gen_contents_file() and gen_digest_file() from catalyst.target.generic_stage to catalyst.hash

15 years agoMove netboot-final.sh from targets/support/ to targets/netboot/
Andrew Gaffney [Mon, 12 Jan 2009 01:08:32 +0000 (19:08 -0600)]
Move netboot-final.sh from targets/support/ to targets/netboot/

15 years agoRename netboot2 target to netboot
Andrew Gaffney [Mon, 12 Jan 2009 01:02:54 +0000 (19:02 -0600)]
Rename netboot2 target to netboot

15 years agoCleanups to make pychecker happy
Andrew Gaffney [Mon, 12 Jan 2009 00:28:42 +0000 (18:28 -0600)]
Cleanups to make pychecker happy

15 years agoGrab just the first value return from the now-working call to resource.getrlimit()
Andrew Gaffney [Mon, 12 Jan 2009 00:11:58 +0000 (18:11 -0600)]
Grab just the first value return from the now-working call to resource.getrlimit()

15 years agoWhack the outdated and non-functional netboot target
Andrew Gaffney [Mon, 12 Jan 2009 00:04:26 +0000 (18:04 -0600)]
Whack the outdated and non-functional netboot target

15 years agoSmall cleanups to make pychecker happy
Andrew Gaffney [Mon, 12 Jan 2009 00:02:38 +0000 (18:02 -0600)]
Small cleanups to make pychecker happy

15 years agoimport cleanups
Andrew Gaffney [Sun, 11 Jan 2009 23:27:03 +0000 (17:27 -0600)]
import cleanups

15 years agoMove read_makeconf() and parse_makeconf() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 23:21:20 +0000 (17:21 -0600)]
Move read_makeconf() and parse_makeconf() from catalyst.support to catalyst.util

15 years agoMove file_locate() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 23:17:20 +0000 (17:17 -0600)]
Move file_locate() from catalyst.support to catalyst.util

15 years agoAdd catalyst.spawn import where needed and move more spawn-related stuff from catalys...
Andrew Gaffney [Sun, 11 Jan 2009 23:05:44 +0000 (17:05 -0600)]
Add catalyst.spawn import where needed and move more spawn-related stuff from catalyst.support to catalyst.spawn

15 years agoadd note about singleton class for tracking PIDs
Andrew Gaffney [Sun, 11 Jan 2009 23:00:06 +0000 (17:00 -0600)]
add note about singleton class for tracking PIDs

15 years agoMove custom exception classes to catalyst.error and all spawn-related functions to...
Andrew Gaffney [Sun, 11 Jan 2009 22:59:14 +0000 (16:59 -0600)]
Move custom exception classes to catalyst.error and all spawn-related functions to catalyst.spawn

15 years agoMove all hash and contents functions to catalyst.hash
Andrew Gaffney [Sun, 11 Jan 2009 22:46:48 +0000 (16:46 -0600)]
Move all hash and contents functions to catalyst.hash

15 years agoMove countdown() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:15:07 +0000 (16:15 -0600)]
Move countdown() from catalyst.support to catalyst.util

15 years agoMove generate_contents() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:10:42 +0000 (16:10 -0600)]
Move generate_contents() from catalyst.support to catalyst.util

15 years agoMove touch() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:08:38 +0000 (16:08 -0600)]
Move touch() from catalyst.support to catalyst.util

15 years agoMove ismount() and pathcompare() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:06:13 +0000 (16:06 -0600)]
Move ismount() and pathcompare() from catalyst.support to catalyst.util

15 years agoRemove unused function hexify()
Andrew Gaffney [Sun, 11 Jan 2009 21:59:37 +0000 (15:59 -0600)]
Remove unused function hexify()

15 years agoMove normpath() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:58:43 +0000 (15:58 -0600)]
Move normpath() from catalyst.support to catalyst.util

15 years agoMove list_to_string() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:47:29 +0000 (15:47 -0600)]
Move list_to_string() from catalyst.support to catalyst.util

15 years agoMove list_bashify() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:42:21 +0000 (15:42 -0600)]
Move list_bashify() from catalyst.support to catalyst.util

15 years agoReplace catalyst.support.read_from_clst() with catalyst.util.readfile() and update...
Andrew Gaffney [Sun, 11 Jan 2009 21:31:01 +0000 (15:31 -0600)]
Replace catalyst.support.read_from_clst() with catalyst.util.readfile() and update references

15 years agoModify global import from catalyst.support to just import what's needed
Andrew Gaffney [Sun, 11 Jan 2009 18:39:19 +0000 (12:39 -0600)]
Modify global import from catalyst.support to just import what's needed

15 years agoMove find_binary() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 18:36:25 +0000 (12:36 -0600)]
Move find_binary() from catalyst.support to catalyst.util

15 years agoMove msg(), warn(), and die() to catalyst.output and update all references
Andrew Gaffney [Sun, 11 Jan 2009 18:20:35 +0000 (12:20 -0600)]
Move msg(), warn(), and die() to catalyst.output and update all references

15 years agoLoad defaults into myconf before parsing config
Andrew Gaffney [Sun, 11 Jan 2009 18:11:54 +0000 (12:11 -0600)]
Load defaults into myconf before parsing config

15 years agoCondense code that checks for various things in 'options' to use a loop
Andrew Gaffney [Sun, 11 Jan 2009 17:58:28 +0000 (11:58 -0600)]
Condense code that checks for various things in 'options' to use a loop

15 years agoGet rid of arches and targets classes and move functions into the module instead
Andrew Gaffney [Sun, 11 Jan 2009 17:44:13 +0000 (11:44 -0600)]
Get rid of arches and targets classes and move functions into the module instead

15 years agoMore trailing whitespace cleanups
Andrew Gaffney [Sun, 11 Jan 2009 06:36:34 +0000 (00:36 -0600)]
More trailing whitespace cleanups

15 years agokill trailing whitespace
Andrew Gaffney [Sun, 11 Jan 2009 06:33:39 +0000 (00:33 -0600)]
kill trailing whitespace

15 years agokill trailing whitespace
Andrew Gaffney [Sun, 11 Jan 2009 06:33:16 +0000 (00:33 -0600)]
kill trailing whitespace

15 years agoKill lots and lots of trailing whitespace in .py files
Andrew Gaffney [Sun, 11 Jan 2009 06:32:09 +0000 (00:32 -0600)]
Kill lots and lots of trailing whitespace in .py files

15 years agoFix up a few bad replacements from previous commit
Andrew Gaffney [Sun, 11 Jan 2009 06:05:44 +0000 (00:05 -0600)]
Fix up a few bad replacements from previous commit

15 years agoDo a mass sed to fix up all remaining usage of has_key()
Andrew Gaffney [Sun, 11 Jan 2009 06:01:44 +0000 (00:01 -0600)]
Do a mass sed to fix up all remaining usage of has_key()

15 years agoClean up instances of has_key() for py3k
Andrew Gaffney [Sun, 11 Jan 2009 04:29:45 +0000 (22:29 -0600)]
Clean up instances of has_key() for py3k

15 years agoWe don't need to pass conf_values since it's a global var
Andrew Gaffney [Sun, 11 Jan 2009 03:38:18 +0000 (21:38 -0600)]
We don't need to pass conf_values since it's a global var

15 years agoPre-split options from config file and remove unnecessary imported modules
Andrew Gaffney [Sun, 11 Jan 2009 03:36:18 +0000 (21:36 -0600)]
Pre-split options from config file and remove unnecessary imported modules

15 years agoMove code to verify digest and hash functions to a separate function
Andrew Gaffney [Sun, 11 Jan 2009 03:17:00 +0000 (21:17 -0600)]
Move code to verify digest and hash functions to a separate function

15 years agoAllow build_target() to re-raise the exception for the top-level handler to catch it
Andrew Gaffney [Sun, 11 Jan 2009 03:08:31 +0000 (21:08 -0600)]
Allow build_target() to re-raise the exception for the top-level handler to catch it

15 years agoMove catalyst.support import to top of file
Andrew Gaffney [Sun, 11 Jan 2009 03:06:28 +0000 (21:06 -0600)]
Move catalyst.support import to top of file

15 years agoRemove check for sys.argv length since we already check for needed arguments later on
Andrew Gaffney [Sun, 11 Jan 2009 03:02:59 +0000 (21:02 -0600)]
Remove check for sys.argv length since we already check for needed arguments later on

15 years agoRename version() to show_version()
Andrew Gaffney [Sun, 11 Jan 2009 03:01:49 +0000 (21:01 -0600)]
Rename version() to show_version()

15 years agoRemove import_modules()
Andrew Gaffney [Sun, 11 Jan 2009 02:59:41 +0000 (20:59 -0600)]
Remove import_modules()

15 years agoRemove references to generic_stage_target
Andrew Gaffney [Sun, 11 Jan 2009 02:57:44 +0000 (20:57 -0600)]
Remove references to generic_stage_target