From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:pending commit in: catalyst/, catalyst/modules/, catalyst/targets/
Date: Mon, 23 Dec 2013 03:20:33 +0000 (UTC) [thread overview]
Message-ID: <1387703628.6464f5080b8e60ec1ce04e43743cc339f931f7de.dol-sen@gentoo> (raw)
commit: 6464f5080b8e60ec1ce04e43743cc339f931f7de
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 12 07:43:36 2013 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Sun Dec 22 09:13:48 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=6464f508
Rename the modules subpkg to targets, to better reflect what it contains.
---
catalyst/main.py | 6 +++---
catalyst/{modules => targets}/__init__.py | 0
catalyst/{modules => targets}/embedded_target.py | 0
catalyst/{modules => targets}/generic_stage_target.py | 0
catalyst/{modules => targets}/generic_target.py | 0
catalyst/{modules => targets}/grp_target.py | 0
catalyst/{modules => targets}/livecd_stage1_target.py | 0
catalyst/{modules => targets}/livecd_stage2_target.py | 0
catalyst/{modules => targets}/netboot2_target.py | 0
catalyst/{modules => targets}/netboot_target.py | 0
catalyst/{modules => targets}/snapshot_target.py | 0
catalyst/{modules => targets}/stage1_target.py | 0
catalyst/{modules => targets}/stage2_target.py | 0
catalyst/{modules => targets}/stage3_target.py | 0
catalyst/{modules => targets}/stage4_target.py | 0
catalyst/{modules => targets}/tinderbox_target.py | 0
16 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/catalyst/main.py b/catalyst/main.py
index 7b66dab..082d7d9 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
@@ -201,11 +201,11 @@ def import_modules():
targetmap={}
try:
- module_dir = __selfpath__ + "/modules/"
+ module_dir = __selfpath__ + "/targets/"
for x in required_build_targets:
try:
fh=open(module_dir + x + ".py")
- module=imp.load_module(x, fh,"modules/" + x + ".py",
+ module=imp.load_module(x, fh,"targets/" + x + ".py",
(".py", "r", imp.PY_SOURCE))
fh.close()
@@ -215,7 +215,7 @@ def import_modules():
for x in valid_build_targets:
try:
fh=open(module_dir + x + ".py")
- module=imp.load_module(x, fh, "modules/" + x + ".py",
+ module=imp.load_module(x, fh, "targets/" + x + ".py",
(".py", "r", imp.PY_SOURCE))
module.register(targetmap)
fh.close()
diff --git a/catalyst/modules/__init__.py b/catalyst/targets/__init__.py
similarity index 100%
rename from catalyst/modules/__init__.py
rename to catalyst/targets/__init__.py
diff --git a/catalyst/modules/embedded_target.py b/catalyst/targets/embedded_target.py
similarity index 100%
rename from catalyst/modules/embedded_target.py
rename to catalyst/targets/embedded_target.py
diff --git a/catalyst/modules/generic_stage_target.py b/catalyst/targets/generic_stage_target.py
similarity index 100%
rename from catalyst/modules/generic_stage_target.py
rename to catalyst/targets/generic_stage_target.py
diff --git a/catalyst/modules/generic_target.py b/catalyst/targets/generic_target.py
similarity index 100%
rename from catalyst/modules/generic_target.py
rename to catalyst/targets/generic_target.py
diff --git a/catalyst/modules/grp_target.py b/catalyst/targets/grp_target.py
similarity index 100%
rename from catalyst/modules/grp_target.py
rename to catalyst/targets/grp_target.py
diff --git a/catalyst/modules/livecd_stage1_target.py b/catalyst/targets/livecd_stage1_target.py
similarity index 100%
rename from catalyst/modules/livecd_stage1_target.py
rename to catalyst/targets/livecd_stage1_target.py
diff --git a/catalyst/modules/livecd_stage2_target.py b/catalyst/targets/livecd_stage2_target.py
similarity index 100%
rename from catalyst/modules/livecd_stage2_target.py
rename to catalyst/targets/livecd_stage2_target.py
diff --git a/catalyst/modules/netboot2_target.py b/catalyst/targets/netboot2_target.py
similarity index 100%
rename from catalyst/modules/netboot2_target.py
rename to catalyst/targets/netboot2_target.py
diff --git a/catalyst/modules/netboot_target.py b/catalyst/targets/netboot_target.py
similarity index 100%
rename from catalyst/modules/netboot_target.py
rename to catalyst/targets/netboot_target.py
diff --git a/catalyst/modules/snapshot_target.py b/catalyst/targets/snapshot_target.py
similarity index 100%
rename from catalyst/modules/snapshot_target.py
rename to catalyst/targets/snapshot_target.py
diff --git a/catalyst/modules/stage1_target.py b/catalyst/targets/stage1_target.py
similarity index 100%
rename from catalyst/modules/stage1_target.py
rename to catalyst/targets/stage1_target.py
diff --git a/catalyst/modules/stage2_target.py b/catalyst/targets/stage2_target.py
similarity index 100%
rename from catalyst/modules/stage2_target.py
rename to catalyst/targets/stage2_target.py
diff --git a/catalyst/modules/stage3_target.py b/catalyst/targets/stage3_target.py
similarity index 100%
rename from catalyst/modules/stage3_target.py
rename to catalyst/targets/stage3_target.py
diff --git a/catalyst/modules/stage4_target.py b/catalyst/targets/stage4_target.py
similarity index 100%
rename from catalyst/modules/stage4_target.py
rename to catalyst/targets/stage4_target.py
diff --git a/catalyst/modules/tinderbox_target.py b/catalyst/targets/tinderbox_target.py
similarity index 100%
rename from catalyst/modules/tinderbox_target.py
rename to catalyst/targets/tinderbox_target.py
next reply other threads:[~2013-12-23 3:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-23 3:20 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-30 1:44 [gentoo-commits] proj/catalyst:pending commit in: catalyst/, catalyst/modules/, catalyst/targets/ Brian Dolbec
2013-12-31 4:22 Brian Dolbec
2013-12-31 4:39 Brian Dolbec
2013-12-31 4:48 Brian Dolbec
2013-12-31 18:14 Brian Dolbec
2014-01-02 0:04 Brian Dolbec
2014-01-03 5:03 Brian Dolbec
2014-01-03 6:12 Brian Dolbec
2014-01-03 6:41 Brian Dolbec
2014-01-22 15:52 Brian Dolbec
2014-03-02 15:42 [gentoo-commits] proj/catalyst:master " Brian Dolbec
2014-02-22 18:43 ` [gentoo-commits] proj/catalyst:pending " Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387703628.6464f5080b8e60ec1ce04e43743cc339f931f7de.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox