Merge lp:~om26er/qakit/new_scripts into lp:qakit

Proposed by Omer Akram
Status: Needs review
Proposed branch: lp:~om26er/qakit/new_scripts
Merge into: lp:qakit
Diff against target: 26 lines (+17/-0)
2 files modified
phablet-bug (+7/-0)
phablet-click-install (+10/-0)
To merge this branch: bzr merge lp:~om26er/qakit/new_scripts
Reviewer Review Type Date Requested Status
Canonical Platform QA Team Pending
Review via email: mp+259444@code.launchpad.net

Commit message

two new scripts:

1. phablet-click-install: to install click packages on device from host
2. phablet-bug: collect logs from the device to the host and report to launchpad as a bug

Description of the change

two new scripts:

1. phablet-click-install: to install click packages on device from host
2. phablet-bug: collect logs from the device to the host and report to launchpad as a bug

To post a comment you must log in.
Revision history for this message
Allan LeSage (allanlesage) wrote :

om26er: challenging you to extend the debian packaging to ship the scripts with the built package.

Revision history for this message
Omer Akram (om26er) wrote :

Hmm, seems there is no debian packaging in the source. That would need to
be added. Do I need to do that ?

On Fri, May 22, 2015 at 2:43 PM, Allan LeSage <email address hidden>
wrote:

> om26er: challenging you to extend the debian packaging to ship the scripts
> with the built package.
> --
> https://code.launchpad.net/~om26er/qakit/new_scripts/+merge/259444
> You are the owner of lp:~om26er/qakit/new_scripts.
>

Unmerged revisions

6. By Omer Akram

Add phablet-click-install and phablet-bug scripts

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'phablet-bug'
2--- phablet-bug 1970-01-01 00:00:00 +0000
3+++ phablet-bug 2015-05-18 22:03:30 +0000
4@@ -0,0 +1,7 @@
5+PACKAGE=$1
6+
7+adb shell apport-cli -f -p $PACKAGE --save=/tmp/$PACKAGE.apport
8+adb pull /tmp/$PACKAGE.apport /tmp/
9+adb shell rm /tmp/$PACKAGE.apport
10+ubuntu-bug /tmp/$PACKAGE.apport
11+rm /tmp/$PACKAGE.apport
12
13=== added file 'phablet-click-install'
14--- phablet-click-install 1970-01-01 00:00:00 +0000
15+++ phablet-click-install 2015-05-18 22:03:30 +0000
16@@ -0,0 +1,10 @@
17+CLICK_PACKAGE=$1
18+
19+if [ -z $CLICK_PACKAGE ]
20+ then echo provide click package name as argument
21+ exit 0;
22+fi
23+
24+adb push $CLICK_PACKAGE /tmp
25+adb shell pkcon install-local /tmp/$CLICK_PACKAGE --allow-untrusted
26+adb shell rm /tmp/$CLICK_PACKAGE

Subscribers

People subscribed via source and target branches