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
=== modified file 'maps/pkglist-touch-vivid'
--- maps/pkglist-touch-vivid 2016-02-10 22:02:17 +0000
+++ maps/pkglist-touch-vivid 2016-02-11 20:52:55 +0000
@@ -330,6 +330,7 @@
330oxide-qt330oxide-qt
331p11-kit331p11-kit
332packagekit332packagekit
333pam
333pango1.0334pango1.0
334parted335parted
335pay-service336pay-service
336337
=== modified file 'maps/pkglist-touch-wily'
--- maps/pkglist-touch-wily 2015-11-22 18:45:57 +0000
+++ maps/pkglist-touch-wily 2016-02-11 20:52:55 +0000
@@ -419,6 +419,7 @@
419oxide-qt419oxide-qt
420p11-kit420p11-kit
421packagekit421packagekit
422pam
422pango1.0423pango1.0
423parted424parted
424pay-service425pay-service
425426
=== modified file 'maps/pkglist-touch-xenial'
--- maps/pkglist-touch-xenial 2016-02-10 22:02:17 +0000
+++ maps/pkglist-touch-xenial 2016-02-11 20:52:55 +0000
@@ -355,6 +355,7 @@
355oxide-qt355oxide-qt
356p11-kit356p11-kit
357packagekit357packagekit
358pam
358pango1.0359pango1.0
359parted360parted
360pay-service361pay-service
361362
=== modified file 'update-touch-packages'
--- update-touch-packages 2014-08-05 06:02:46 +0000
+++ update-touch-packages 2016-02-11 20:52:55 +0000
@@ -11,6 +11,7 @@
11sound-theme-freedesktop11sound-theme-freedesktop
12totem-pl-parser12totem-pl-parser
13xz"13xz"
14WHITELIST="pam"
1415
15if [ $# != 1 ]; then16if [ $# != 1 ]; then
16 echo "Usage: $0 <release>" >&217 echo "Usage: $0 <release>" >&2
@@ -39,10 +40,12 @@
3940
40# determine list of binary packages in ubuntu-touch seed41# determine list of binary packages in ubuntu-touch seed
41germinate --no-rdepends --no-installer -s ubuntu-touch.$RELEASE -d $RELEASE -a armhf -c main,universe -m http://ports.ubuntu.com/42germinate --no-rdepends --no-installer -s ubuntu-touch.$RELEASE -d $RELEASE -a armhf -c main,universe -m http://ports.ubuntu.com/
43# Don't consider 'required' since most of those aren't user visible (but there
44# is a whitelist at the top for anything we want anyway)
42grep -h '^[0-9a-z]' touch sdk-libs minimal touch-core touch-android touch | cut -f1 -d ' ' | grep -v ^language-pack > binaries45grep -h '^[0-9a-z]' touch sdk-libs minimal touch-core touch-android touch | cut -f1 -d ' ' | grep -v ^language-pack > binaries
4346
44# map binaries to sources, generate output47# map binaries to sources, generate output
45sources=''48sources="$WHITELIST"
46for pkg in $(cat binaries); do49for pkg in $(cat binaries); do
47 s=${binsrc[$pkg]}50 s=${binsrc[$pkg]}
48 if ! echo "$s" | grep -qF "$BLACKLIST"; then51 if ! echo "$s" | grep -qF "$BLACKLIST"; then

Subscribers

People subscribed via source and target branches