Merge ~fourdollars/pc-enablement/+git/oem-scripts:master into ~oem-solutions-engineers/pc-enablement/+git/oem-scripts:master

Proposed by Shih-Yuan Lee
Status: Merged
Approved by: Shih-Yuan Lee
Approved revision: d9b95635a3a44572736338e5937ebcb2cd0f7e54
Merged at revision: 80293e3eb6521ae3148e2938ff4b69f202a739b9
Proposed branch: ~fourdollars/pc-enablement/+git/oem-scripts:master
Merge into: ~oem-solutions-engineers/pc-enablement/+git/oem-scripts:master
Diff against target: 123 lines (+31/-6)
8 files modified
debian/changelog (+15/-0)
debian/tests/control (+3/-1)
debian/tests/pkg-stella-meta (+2/-2)
debian/tests/recovery-from-iso.sh (+3/-0)
debian/tests/review-merge-proposal (+3/-0)
mir-bug (+2/-2)
pkg-oem-meta (+1/-1)
setup.py (+2/-0)
Reviewer Review Type Date Requested Status
Alex Tu (community) Approve
Review via email: mp+400893@code.launchpad.net

Description of the change

Two commits are related to the i2c SSID fixes for Dell and HP.

mir-bug: Fix the SSID parsing issue for the i2c device.
debian/tests/pkg-stella-meta, pkg-oem-meta: Make the modalias pattern to match the subsystem ID of the i2c device.

Others are fixes for the installation and tests of new tools.

debian/tests/control, debian/tests/recovery-from-iso.sh, setup.py: Add the test and fix the installation for recovery-from-iso.sh.
debian/tests/control, debian/tests/review-merge-proposal, setup.py: Add the test and fix the installation for review-merge-proposal.

To post a comment you must log in.
Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

[BOT]
$ cat oem-scripts-0.82-d9b9563-in-docker-focal-summary.log
autopkgtest-collect-credentials PASS
autopkgtest-oem-scripts-auto PASS
pkg-somerville-meta PASS
pkg-stella-meta PASS
pkg-sutton-meta PASS
bug-bind PASS
get-private-ppa PASS
jq-lp PASS
launchpad-api PASS
lp-bug PASS
mir-bug PASS
oem-meta-packages PASS
pkg-list PASS
review-merge-proposal PASS
run-autopkgtest PASS
setup-apt-dir PASS
git-url-insteadof-setting PASS
recovery-from-iso.sh PASS
mir-bug-verification PASS
https://paste.ubuntu.com/p/zYs6sNx8J3/ oem-scripts-0.82-d9b9563-in-docker-focal-complete.log

Revision history for this message
jeremyszu (os369510) wrote :

Asked by AlexT

>>btw, I would like to past the confirmation from HP on that MP as a record...... @jeremysu ^ could you have a review on it and past the confirmation from HP as a record?

https://drive.google.com/file/d/12ggYZZMe0TzwXmplHcRPyOnqpNtFIKkF/view?usp=sharing

Revision history for this message
Alex Tu (alextu) wrote :

the part HP confirmed on the mail attached by Jeremyszu.

mail title: [Stella][HP CMIT] SSID for Ionian13, Ionian14 and Ionian15

Burrell, Jeff William (Z Desktop Workstations R&D - Linux team) <email address hidden> Thu, Apr 1, 2021 at 1:54 AM
To: Chih-Hsyuan Ho <email address hidden>, Alex Tu <email address hidden>
Cc: "Lopez, Jorge A (Thin Clients)" <email address hidden>, Jeremy Szu <email address hidden>, "Hamaguchi, Jun" <email address hidden>, Stella
<email address hidden>, Stephane Verdy <email address hidden>, "Verma, Jatin" <email address hidden>, Rex Tsai <email address hidden>, "Van Farowe,
Paul Robert" <email address hidden>
Chih,
I discussed this with the dtWS BIOS lead and he has no concerns over your approach.
Jeff

Revision history for this message
Alex Tu (alextu) wrote :

LGTM.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 199fa08..4f5044c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
1oem-scripts (0.82) UNRELEASED; urgency=medium
2
3 * debian/tests/control,
4 debian/tests/review-merge-proposal,
5 setup.py: Add the test and fix the installation for review-merge-proposal.
6 * debian/tests/pkg-stella-meta,
7 pkg-oem-meta: Make the modalias pattern to match the subsystem ID of the
8 i2c device.
9 * debian/tests/control,
10 debian/tests/recovery-from-iso.sh,
11 setup.py: Add the test and fix the installation for recovery-from-iso.sh.
12 * mir-bug: Fix the SSID parsing issue for the i2c device.
13
14 -- Shih-Yuan Lee (FourDollars) <sylee@canonical.com> Fri, 09 Apr 2021 14:12:57 +0800
15
1oem-scripts (0.81) focal; urgency=medium16oem-scripts (0.81) focal; urgency=medium
217
3 * debian/tests/pkg-somerville-meta,18 * debian/tests/pkg-somerville-meta,
diff --git a/debian/tests/control b/debian/tests/control
index ac14090..0b6b61d 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -18,12 +18,14 @@ Tests:
18 mir-bug,18 mir-bug,
19 oem-meta-packages,19 oem-meta-packages,
20 pkg-list,20 pkg-list,
21 review-merge-proposal,
21 run-autopkgtest,22 run-autopkgtest,
22 setup-apt-dir23 setup-apt-dir
23Depends: @24Depends: @
2425
25Tests:26Tests:
26 git-url-insteadof-setting27 git-url-insteadof-setting,
28 recovery-from-iso.sh
27Depends: @29Depends: @
28Restrictions: allow-stderr30Restrictions: allow-stderr
2931
diff --git a/debian/tests/pkg-stella-meta b/debian/tests/pkg-stella-meta
index 55583ee..1d26c5c 100644
--- a/debian/tests/pkg-stella-meta
+++ b/debian/tests/pkg-stella-meta
@@ -32,7 +32,7 @@ grep "^apt-get autoremove --purge --yes oem-stella.cmit-ivysaur-meta$" debian/te
3232
33grep "Upstream-Name: oem-stella.cmit-ivysaur-meta" debian/copyright33grep "Upstream-Name: oem-stella.cmit-ivysaur-meta" debian/copyright
3434
35grep "alias pci:\*sv0000103Csd00008750\* meta oem-stella.cmit-ivysaur-meta" debian/modaliases35grep "alias pci:\*sv0000103Csd00008750bc0Csc05\* meta oem-stella.cmit-ivysaur-meta" debian/modaliases
3636
37git checkout cmit.ivysaur-focal-oem37git checkout cmit.ivysaur-focal-oem
3838
@@ -55,4 +55,4 @@ grep "^apt-get autoremove --purge --yes oem-stella.cmit-ivysaur-meta$" debian/te
5555
56grep "Upstream-Name: oem-stella.cmit-ivysaur-meta" debian/copyright56grep "Upstream-Name: oem-stella.cmit-ivysaur-meta" debian/copyright
5757
58grep "alias pci:\*sv0000103Csd00008750\* meta oem-stella.cmit-ivysaur-meta" debian/modaliases58grep "alias pci:\*sv0000103Csd00008750bc0Csc05\* meta oem-stella.cmit-ivysaur-meta" debian/modaliases
diff --git a/debian/tests/recovery-from-iso.sh b/debian/tests/recovery-from-iso.sh
59new file mode 10064459new file mode 100644
index 0000000..376f242
--- /dev/null
+++ b/debian/tests/recovery-from-iso.sh
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3recovery-from-iso.sh --help || true
diff --git a/debian/tests/review-merge-proposal b/debian/tests/review-merge-proposal
0new file mode 1006444new file mode 100644
index 0000000..3e0cdaf
--- /dev/null
+++ b/debian/tests/review-merge-proposal
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3review-merge-proposal --help
diff --git a/mir-bug b/mir-bug
index f53f1d1..dee3a25 100755
--- a/mir-bug
+++ b/mir-bug
@@ -683,9 +683,9 @@ def _get_items_from_git(project: str, branch: str, pkg_name: str) -> tuple:
683 git_dir = os.path.join(tmpdir, pkg_name)683 git_dir = os.path.join(tmpdir, pkg_name)
684684
685 if project == 'somerville':685 if project == 'somerville':
686 prog = re.compile(r"alias pci:\*sv00001028sd0000(\w+)\* meta (.*)")686 prog = re.compile(r"alias pci:\*sv00001028sd0000([0-9A-F]{4})[^ ]* meta (.*)")
687 elif project == 'stella':687 elif project == 'stella':
688 prog = re.compile(r"alias pci:\*sv0000103Csd0000(\w+)\* meta (.*)")688 prog = re.compile(r"alias pci:\*sv0000103Csd0000([0-9A-F]{4})[^ ]* meta (.*)")
689 else:689 else:
690 prog = re.compile(r"alias dmi:\*bvn([0-9a-zA-Z]+):bvr([0-9a-zA-Z]{3})\* meta (.*)")690 prog = re.compile(r"alias dmi:\*bvn([0-9a-zA-Z]+):bvr([0-9a-zA-Z]{3})\* meta (.*)")
691691
diff --git a/pkg-oem-meta b/pkg-oem-meta
index 3eeb1e7..64b1421 100755
--- a/pkg-oem-meta
+++ b/pkg-oem-meta
@@ -347,7 +347,7 @@ License: GPL-3
347 .format(bios_id.upper(), meta))347 .format(bios_id.upper(), meta))
348 elif 'sd_id' in vars(args).keys():348 elif 'sd_id' in vars(args).keys():
349 for sd_id in args.sd_id:349 for sd_id in args.sd_id:
350 f.write("alias pci:*sv0000103Csd0000{0}* meta {1}\n"350 f.write("alias pci:*sv0000103Csd0000{0}bc0Csc05* meta {1}\n"
351 .format(sd_id.upper(), meta))351 .format(sd_id.upper(), meta))
352 elif 'bios_ver' in vars(args).keys():352 elif 'bios_ver' in vars(args).keys():
353 for bios_ver in args.bios_ver:353 for bios_ver in args.bios_ver:
diff --git a/setup.py b/setup.py
index 7984690..e93bd77 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,9 @@ Also there is a meta package oem-dev-tools that installs all scripts''',
48 'oem-meta-packages',48 'oem-meta-packages',
49 'pkg-list',49 'pkg-list',
50 'pkg-oem-meta',50 'pkg-oem-meta',
51 'recovery-from-iso.sh',
51 'rename-everything.py',52 'rename-everything.py',
53 'review-merge-proposal',
52 'run-autopkgtest',54 'run-autopkgtest',
53 'setup-apt-dir.sh',55 'setup-apt-dir.sh',
54 'setup4test.sh',56 'setup4test.sh',

Subscribers

People subscribed via source and target branches