Merge lp:~mterry/langpack-o-matic/pam-touch into lp:langpack-o-matic

Proposed by Michael Terry
Status: Merged
Merged at revision: 552
Proposed branch: lp:~mterry/langpack-o-matic/pam-touch
Merge into: lp:langpack-o-matic
Diff against target: 61 lines (+7/-1)
4 files modified
maps/pkglist-touch-vivid (+1/-0)
maps/pkglist-touch-wily (+1/-0)
maps/pkglist-touch-xenial (+1/-0)
update-touch-packages (+4/-1)
To merge this branch: bzr merge lp:~mterry/langpack-o-matic/pam-touch
Reviewer Review Type Date Requested Status
Martin Pitt (community) Approve
Review via email: mp+285657@code.launchpad.net

Commit message

Add pam to the list of source packages to include in the touch langpacks.

That way we get password prompt translations.

Description of the change

Add pam to the list of source packages to include in the touch langpacks.

That way we get password prompt translations.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

I'm afraid that won't last long. These maps are autogenerated via e. g. "./update-touch-packages xenial"; I just ran that (http://bazaar.launchpad.net/~ubuntu-langpack/langpack-o-matic/main/revision/551) but pam isn't amongst those packages. So I suspect we are missing something in the germinate call in http://bazaar.launchpad.net/~ubuntu-langpack/langpack-o-matic/main/view/head:/update-touch-packages ?

review: Needs Fixing
Revision history for this message
Martin Pitt (pitti) wrote :

Do you know what's the actual seed for touch RTM 15.04 (aka vivid+overlay PPA)? lp:~ubuntu-desktop/ubuntu-seeds/ubuntu-touch.vivid hasn't been touched in 10 months, and I don't see a 15.04 seed branch on https://code.launchpad.net/ubuntu-seeds . I. e. I don't currently know how to update maps/pkglist-touch-15.04.

So if pam is the *only* missing package, it could be hardcoded into update-touch-packages, but this smells fishy -- we might miss other packages.

552. By Michael Terry

Use required seed too

553. By Michael Terry

Merge trunk

554. By Michael Terry

Update again?

Revision history for this message
Michael Terry (mterry) wrote :

OK, how about this. Adds the required seed. (And drops duplicate touch.)

555. By Michael Terry

Drop change to 15.04

Revision history for this message
Martin Pitt (pitti) wrote :

This somehow rings a bell -- I'm fairly sure we started out with "required" indeed, but that pulled in so many translations for packages that users are never going to see on a phone, like util-linux, sysvinit, or sed.

So perhaps let's just add "pam" to a manually maintained whitelist in the update script?

556. By Michael Terry

use whitelist for pam

Revision history for this message
Michael Terry (mterry) wrote :

Try this! (with bonus comment for future people in this boat)

Revision history for this message
Martin Pitt (pitti) wrote :

Yay, looks fine now. Thank you!

review: Approve
Revision history for this message
Martin Pitt (pitti) wrote :

Merged and rolled out into production.

Revision history for this message
Ɓukasz Zemczak (sil2100) wrote :

Hey Martin! The actual seeds for touch vivid-overlay are in our vivid-overlay PPA. Those are not hosted anywhere in a bzr branch as we're doing manual changes to the seeds in the metapackage as per ogra's recommendation. One of the reasons was that ubuntu-touch.vivid is the vivid seed basically, not our overlay one, and only the seeds for the current devel branch should be updated.

So basically if you want to have a look at our seeds, just download ubuntu-touch-meta from the overlay. We're more-or-less in sync with xenial right now, with only a few subtle differences.

Revision history for this message
Michael Terry (mterry) wrote :

Lukas, interesting... In this particular case I don't think using the wrong seeds would matter (we're still using these scripts, right?). The wrong seeds would mean we may miss more packages. But this branch should ensure we at least pull in "pam" regardless of the seeds.

Revision history for this message
Martin Pitt (pitti) wrote :

@Michael: I just rebuilt the 15.04 touch packages, and they do have Linux-PAM now.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'maps/pkglist-touch-vivid'
2--- maps/pkglist-touch-vivid 2016-02-10 22:02:17 +0000
3+++ maps/pkglist-touch-vivid 2016-02-11 20:52:55 +0000
4@@ -330,6 +330,7 @@
5 oxide-qt
6 p11-kit
7 packagekit
8+pam
9 pango1.0
10 parted
11 pay-service
12
13=== modified file 'maps/pkglist-touch-wily'
14--- maps/pkglist-touch-wily 2015-11-22 18:45:57 +0000
15+++ maps/pkglist-touch-wily 2016-02-11 20:52:55 +0000
16@@ -419,6 +419,7 @@
17 oxide-qt
18 p11-kit
19 packagekit
20+pam
21 pango1.0
22 parted
23 pay-service
24
25=== modified file 'maps/pkglist-touch-xenial'
26--- maps/pkglist-touch-xenial 2016-02-10 22:02:17 +0000
27+++ maps/pkglist-touch-xenial 2016-02-11 20:52:55 +0000
28@@ -355,6 +355,7 @@
29 oxide-qt
30 p11-kit
31 packagekit
32+pam
33 pango1.0
34 parted
35 pay-service
36
37=== modified file 'update-touch-packages'
38--- update-touch-packages 2014-08-05 06:02:46 +0000
39+++ update-touch-packages 2016-02-11 20:52:55 +0000
40@@ -11,6 +11,7 @@
41 sound-theme-freedesktop
42 totem-pl-parser
43 xz"
44+WHITELIST="pam"
45
46 if [ $# != 1 ]; then
47 echo "Usage: $0 <release>" >&2
48@@ -39,10 +40,12 @@
49
50 # determine list of binary packages in ubuntu-touch seed
51 germinate --no-rdepends --no-installer -s ubuntu-touch.$RELEASE -d $RELEASE -a armhf -c main,universe -m http://ports.ubuntu.com/
52+# Don't consider 'required' since most of those aren't user visible (but there
53+# is a whitelist at the top for anything we want anyway)
54 grep -h '^[0-9a-z]' touch sdk-libs minimal touch-core touch-android touch | cut -f1 -d ' ' | grep -v ^language-pack > binaries
55
56 # map binaries to sources, generate output
57-sources=''
58+sources="$WHITELIST"
59 for pkg in $(cat binaries); do
60 s=${binsrc[$pkg]}
61 if ! echo "$s" | grep -qF "$BLACKLIST"; then

Subscribers

People subscribed via source and target branches