phablet-tools should be modular to allow integrating in custom scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phablet-tools (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
unity8 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
phablet-tools should probably gain some features common to different use cases, but there will always be at least that one use case that's not generic enough to be included in the common tool set.
It's still desirable that parts of the tools are available to use from a custom script (like installing packages, sudo wrapping, for example).
I propose that phablet-tools becomes a set of python modules that others can use in their custom scripts. The common executables would just use those same modules to achieve their purpose.
A common parameter / option set will improve consistency between the different tools and any custom ones.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: phablet-tools 1.1+14.
ProcVersionSign
Uname: Linux 3.16.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 8 20:14:50 2014
PackageArchitec
SourcePackage: phablet-tools
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in phablet-tools (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
unity8 would welcome such modularity as we currently maintain a set of shell scripts to achieve the same.