catalyst.git
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

15 years agoRemove _target from target module filenames, since they're already in target/ subdir
Andrew Gaffney [Sun, 11 Jan 2009 02:53:30 +0000 (20:53 -0600)]
Remove _target from target module filenames, since they're already in target/ subdir

15 years agoRemove builder.py and all references
Andrew Gaffney [Sun, 11 Jan 2009 02:44:20 +0000 (20:44 -0600)]
Remove builder.py and all references

15 years agoMove catalyst_support.py to catalyst.support and update references
Andrew Gaffney [Sun, 11 Jan 2009 02:26:07 +0000 (20:26 -0600)]
Move catalyst_support.py to catalyst.support and update references

15 years agoMove catalyst_lock.py to catalyst/lock.py and update references
Andrew Gaffney [Sun, 11 Jan 2009 02:17:53 +0000 (20:17 -0600)]
Move catalyst_lock.py to catalyst/lock.py and update references

15 years agoMove target module loading logic into build_target_map() in catalyst.target module
Andrew Gaffney [Sun, 11 Jan 2009 01:54:36 +0000 (19:54 -0600)]
Move target module loading logic into build_target_map() in catalyst.target module

15 years agoAdd target map in each target module and remove register() function
Andrew Gaffney [Sun, 11 Jan 2009 01:30:24 +0000 (19:30 -0600)]
Add target map in each target module and remove register() function
Change catalyst program to load target modules with catalyst.target.targets class
Remove required_build_targets and valid_build_targets from catalyst_support.py, since we can scan the dir now

15 years agoMove all *_target.py modules under modules/catalyst/target and create parent catalyst...
Andrew Gaffney [Sun, 11 Jan 2009 01:17:54 +0000 (19:17 -0600)]
Move all *_target.py modules under modules/catalyst/target and create parent catalyst.target module

15 years agoadd note about module loading method
Andrew Gaffney [Sun, 11 Jan 2009 01:08:54 +0000 (19:08 -0600)]
add note about module loading method

15 years agoRemove hard-coded arch list now that find_arch_modules() is known to work
Andrew Gaffney [Sun, 11 Jan 2009 01:07:45 +0000 (19:07 -0600)]
Remove hard-coded arch list now that find_arch_modules() is known to work

15 years agoMove subarch and maching maps to bottom of arch files, since the classes aren't defin...
Andrew Gaffney [Sun, 11 Jan 2009 00:59:23 +0000 (18:59 -0600)]
Move subarch and maching maps to bottom of arch files, since the classes aren't defined yet at the top

15 years agoForgot the sh arch module
Andrew Gaffney [Sun, 11 Jan 2009 00:51:05 +0000 (18:51 -0600)]
Forgot the sh arch module

15 years agoMove subarch and machine map information to variables at top of each arch module...
Andrew Gaffney [Sun, 11 Jan 2009 00:49:45 +0000 (18:49 -0600)]
Move subarch and machine map information to variables at top of each arch module and get rid of register() function

15 years agoAdd catalyst.util.load_module() function
Andrew Gaffney [Sun, 11 Jan 2009 00:39:02 +0000 (18:39 -0600)]
Add catalyst.util.load_module() function
Move arch modules under modules/catalyst/arch
Add catalyst.arch.arches class to assist in loading arch modules

15 years agoadd .gitignore file with *.py[co]
Andrew Gaffney [Sun, 11 Jan 2009 00:36:09 +0000 (18:36 -0600)]
add .gitignore file with *.py[co]

15 years agoChange __version__ to 2.99 for catalyst_3 branch
Andrew Gaffney [Sat, 10 Jan 2009 23:18:52 +0000 (17:18 -0600)]
Change __version__ to 2.99 for catalyst_3 branch

15 years agoAdd note about metadata_overlay being default in 2.1.6
Andrew Gaffney [Fri, 9 Jan 2009 01:55:21 +0000 (19:55 -0600)]
Add note about metadata_overlay being default in 2.1.6

15 years agoUpdated the AUTHORS section and the header for the ChangeLog, to reflect that individ...
Chris Gianelloni [Fri, 9 Jan 2009 00:21:32 +0000 (16:21 -0800)]
Updated the AUTHORS section and the header for the ChangeLog, to reflect that individual authors now retain their copyright to code they submit.