commit: 278b95a4224d12d3b6b580784458018f97bdbab7 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Tue Jan 22 00:10:51 2013 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Tue Sep 2 06:31:58 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=278b95a4
Rename all target .py files and classes without _target in them. This is so they are the named the same as the target .sh files and work with the now simplified module loading. --- catalyst/targets/{embedded_target.py => embedded.py} | 2 +- catalyst/targets/{grp_target.py => grp.py} | 2 +- catalyst/targets/{livecd_stage1_target.py => livecd_stage1.py} | 2 +- catalyst/targets/{livecd_stage2_target.py => livecd_stage2.py} | 2 +- catalyst/targets/{netboot_target.py => netboot.py} | 2 +- catalyst/targets/{netboot2_target.py => netboot2.py} | 2 +- catalyst/targets/{stage1_target.py => stage1.py} | 2 +- catalyst/targets/{stage2_target.py => stage2.py} | 2 +- catalyst/targets/{stage3_target.py => stage3.py} | 2 +- catalyst/targets/{stage4_target.py => stage4.py} | 2 +- catalyst/targets/{tinderbox_target.py => tinderbox.py} | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/catalyst/targets/embedded_target.py b/catalyst/targets/embedded.py similarity index 98% rename from catalyst/targets/embedded_target.py rename to catalyst/targets/embedded.py index aee0f00..3309278 100644 --- a/catalyst/targets/embedded_target.py +++ b/catalyst/targets/embedded.py @@ -15,7 +15,7 @@ from catalyst.support import normpath from catalyst.base.stagebase import StageBase -class embedded_target(StageBase): +class embedded(StageBase): """ Builder class for embedded target """ diff --git a/catalyst/targets/grp_target.py b/catalyst/targets/grp.py similarity index 99% rename from catalyst/targets/grp_target.py rename to catalyst/targets/grp.py index e3f08a2..0075714 100644 --- a/catalyst/targets/grp_target.py +++ b/catalyst/targets/grp.py @@ -14,7 +14,7 @@ from catalyst.support import (CatalystError, normpath, from catalyst.base.stagebase import StageBase -class grp_target(StageBase): +class grp(StageBase): """ The builder class for GRP (Gentoo Reference Platform) builds. """ diff --git a/catalyst/targets/livecd_stage1_target.py b/catalyst/targets/livecd_stage1.py similarity index 98% rename from catalyst/targets/livecd_stage1_target.py rename to catalyst/targets/livecd_stage1.py index 9c74253..661e06e 100644 --- a/catalyst/targets/livecd_stage1_target.py +++ b/catalyst/targets/livecd_stage1.py @@ -13,7 +13,7 @@ from catalyst.support import (normpath, from catalyst.base.stagebase import StageBase -class livecd_stage1_target(StageBase): +class livecd_stage1(StageBase): """ Builder class for LiveCD stage1. """ diff --git a/catalyst/targets/livecd_stage2_target.py b/catalyst/targets/livecd_stage2.py similarity index 99% rename from catalyst/targets/livecd_stage2_target.py rename to catalyst/targets/livecd_stage2.py index a4630e6..20f6014 100644 --- a/catalyst/targets/livecd_stage2_target.py +++ b/catalyst/targets/livecd_stage2.py @@ -10,7 +10,7 @@ from catalyst.support import (normpath, file_locate, CatalystError, cmd, from catalyst.base.stagebase import StageBase -class livecd_stage2_target(StageBase): +class livecd_stage2(StageBase): """ Builder class for a LiveCD stage2 build. """ diff --git a/catalyst/targets/netboot_target.py b/catalyst/targets/netboot.py similarity index 99% rename from catalyst/targets/netboot_target.py rename to catalyst/targets/netboot.py index 9d92ef2..f753c7f 100644 --- a/catalyst/targets/netboot_target.py +++ b/catalyst/targets/netboot.py @@ -12,7 +12,7 @@ from catalyst.support import (CatalystError, normpath, from catalyst.base.stagebase import StageBase -class netboot_target(StageBase): +class netboot(StageBase): """ Builder class for a netboot build. """ diff --git a/catalyst/targets/netboot2_target.py b/catalyst/targets/netboot2.py similarity index 99% rename from catalyst/targets/netboot2_target.py rename to catalyst/targets/netboot2.py index 130e2b6..fc8c64c 100644 --- a/catalyst/targets/netboot2_target.py +++ b/catalyst/targets/netboot2.py @@ -14,7 +14,7 @@ from catalyst.support import (CatalystError, normpath, from catalyst.base.stagebase import StageBase -class netboot2_target(StageBase): +class netboot2(StageBase): """ Builder class for a netboot build, version 2 """ diff --git a/catalyst/targets/stage1_target.py b/catalyst/targets/stage1.py similarity index 99% rename from catalyst/targets/stage1_target.py rename to catalyst/targets/stage1.py index 2329b58..e72cbcc 100644 --- a/catalyst/targets/stage1_target.py +++ b/catalyst/targets/stage1.py @@ -9,7 +9,7 @@ from catalyst.support import normpath, list_to_string from catalyst.base.stagebase import StageBase -class stage1_target(StageBase): +class stage1(StageBase): """ Builder class for a stage1 installation tarball build. """ diff --git a/catalyst/targets/stage2_target.py b/catalyst/targets/stage2.py similarity index 98% rename from catalyst/targets/stage2_target.py rename to catalyst/targets/stage2.py index ec6d78d..884b20d 100644 --- a/catalyst/targets/stage2_target.py +++ b/catalyst/targets/stage2.py @@ -9,7 +9,7 @@ from catalyst.support import normpath, list_to_string from catalyst.base.stagebase import StageBase -class stage2_target(StageBase): +class stage2(StageBase): """ Builder class for a stage2 installation tarball build. """ diff --git a/catalyst/targets/stage3_target.py b/catalyst/targets/stage3.py similarity index 96% rename from catalyst/targets/stage3_target.py rename to catalyst/targets/stage3.py index 103242d..cc3e520 100644 --- a/catalyst/targets/stage3_target.py +++ b/catalyst/targets/stage3.py @@ -6,7 +6,7 @@ stage3 target, builds upon previous stage2/stage3 tarball from catalyst.base.stagebase import StageBase -class stage3_target(StageBase): +class stage3(StageBase): """ Builder class for a stage3 installation tarball build. """ diff --git a/catalyst/targets/stage4_target.py b/catalyst/targets/stage4.py similarity index 97% rename from catalyst/targets/stage4_target.py rename to catalyst/targets/stage4.py index 4dbdb45..4aef33f 100644 --- a/catalyst/targets/stage4_target.py +++ b/catalyst/targets/stage4.py @@ -6,7 +6,7 @@ stage4 target, builds upon previous stage3/stage4 tarball from catalyst.base.stagebase import StageBase -class stage4_target(StageBase): +class stage4(StageBase): """ Builder class for stage4. """ diff --git a/catalyst/targets/tinderbox_target.py b/catalyst/targets/tinderbox.py similarity index 97% rename from catalyst/targets/tinderbox_target.py rename to catalyst/targets/tinderbox.py index 0c389e6..4cb7537 100644 --- a/catalyst/targets/tinderbox_target.py +++ b/catalyst/targets/tinderbox.py @@ -9,7 +9,7 @@ from catalyst.support import cmd, list_bashify, CatalystError from catalyst.base.stagebase import StageBase -class tinderbox_target(StageBase): +class tinderbox(StageBase): """ Builder class for the tinderbox target """