phablet-tools should be modular to allow integrating in custom scripts

Bug #1366926 reported by Michał Sawicz
6
This bug affects 1 person
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.10.20140905.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-12.18-generic 3.16.1
Uname: Linux 3.16.0-12-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 8 20:14:50 2014
PackageArchitecture: all
SourcePackage: phablet-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Oliver Grawert (ogra)
Changed in phablet-tools (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Michał Sawicz (saviq) wrote :

unity8 would welcome such modularity as we currently maintain a set of shell scripts to achieve the same.

Changed in unity8 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.