Closed Bug 575436 Opened 16 years ago Closed 16 years ago

separate packages to reflect functionality

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: k0scist)

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(1 file, 1 obsolete file)

Currently, almost all the logic for mozrunner is in init. Instead, the following layout is considered: - process.py : handle processy functions - profile.py : handle things having to do with profiles - runner.py : handle running the application (e.g. Firefox) - utils.py : misc. functions, possibly only findInPath (for now) __init__.py could be repurposed just to import __all__ from each of these modules for backwards compatability
Discussions via email suggest that making these all separate packages (with runner.py being the cornerstone of the MozRunner package) makes more sense going forward, especially now that things are in a separate repo.
Summary: separate modules to reflect functionality → separate packages to reflect functionality
Whiteboard: [mozmill-2.0?]
(In reply to comment #1) > Discussions via email suggest that making these all separate packages (with > runner.py being the cornerstone of the MozRunner package) makes more sense > going forward, especially now that things are in a separate repo. So the module names will be * MozRunner (which already exists) * MozProfile * MozProcess utils will not be its own module but utils.py should be in modules which need such things
Attached patch initial patch; tested on linux (obsolete) — — Splinter Review
OS: Linux → All
Hardware: x86 → All
This has been tested on linux; still need to do mac + win
Assignee: nobody → jhammel
Attachment #471361 - Attachment is obsolete: true
Attachment #471691 - Flags: review?(ctalbert)
Tested successfully on win
Works on mac too
Attachment #471691 - Flags: review?(ctalbert) → review+
This looks good, let's get it landed. Thanks Jeff!
Whiteboard: [mozmill-2.0?] → [mozmill-2.0+]
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: